[Go to site: main page, start]

Skip to main content
Anchor to DeliveryCustomization

DeliveryCustomization

object

Requires read_delivery_customizations access scope.

A delivery customization.

Boolean!
non-null

The enabled status of the delivery customization.

FunctionsErrorHistory

The error history on the most recent version of the delivery customization.

String!
non-null

The ID of the Shopify Function implementing the delivery customization.

ID!
non-null

A globally-unique ID.

Metafield

A custom field, including its namespace and key, that's associated with a Shopify resource for the purposes of adding and storing additional information.

Arguments

String!
required

The key for the metafield.

String

The container the metafield belongs to. If omitted, the app-reserved namespace will be used.


MetafieldConnection!
non-null

A list of custom fields that a merchant associates with a Shopify resource.

Arguments

String

The elements that come after the specified cursor.

String

The elements that come before the specified cursor.

Int

The first n elements from the paginated list.

[String!]

List of keys of metafields in the format namespace.key, will be returned in the same format.

Int

The last n elements from the paginated list.

String

The metafield namespace to filter by. If omitted, all metafields are returned.

Boolean
Default:false

Reverse the order of the underlying list.


ShopifyFunction!
non-null

The Shopify Function implementing the delivery customization.

String!
non-null

The title of the delivery customization.

Anchor to metafieldDefinitionsmetafieldDefinitions
MetafieldDefinitionConnection!
non-nullDeprecated

Arguments

String

The elements that come after the specified cursor.

String

The elements that come before the specified cursor.

Int

The first n elements from the paginated list.

Int

The last n elements from the paginated list.

String

Filter metafield definitions by namespace.

MetafieldDefinitionPinnedStatus
Default:ANY

Filter by the definition's pinned status.

String

A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.

Anchor to default
string

Filter by a case-insensitive search of multiple fields in a document.

Example:

  • query=Bob Norman
  • query=title:green hoodie
Anchor to created_at
time

Filter by the date and time when the metafield definition was created.

Example:

  • created_at:>'2020-10-21T23:39:20Z'
  • created_at:<now
  • created_at:<=2024
id

Filter by id range.

Example:

  • id:1234
  • id:>=1234
  • id:<=1234
string

Filter by the metafield definition key field.

Example:

  • key:some-key
Anchor to namespace
string

Filter by the metafield definition namespace field.

Example:

  • namespace:some-namespace
Anchor to owner_type
string

Filter by the metafield definition ownerType field.

Example:

  • owner_type:PRODUCT
string

Filter by the metafield definition type field.

Example:

  • type:single_line_text_field
Anchor to updated_at
time

Filter by the date and time when the metafield definition was last updated.

Example:

  • updated_at:>'2020-10-21T23:39:20Z'
  • updated_at:<now
  • updated_at:<=2024
Boolean
Default:false

Reverse the order of the underlying list.

MetafieldDefinitionSortKeys
Default:ID

Sort the underlying list using a key. If your query is slow or returns an error, then try specifying a sort key that matches the field used in the search.



Was this section helpful?

query

The delivery customization.

Arguments

ID!
required

The ID of the delivery customization.


query

The delivery customizations.

Arguments

String

The elements that come after the specified cursor.

String

The elements that come before the specified cursor.

Int

The first n elements from the paginated list.

Int

The last n elements from the paginated list.

String

A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.

Anchor to enabled
boolean
Anchor to function_id
string
id

Filter by id range.

Example:

  • id:1234
  • id:>=1234
  • id:<=1234
Boolean
Default:false

Reverse the order of the underlying list.



Was this section helpful?

mutation

Creates a delivery customization.

Arguments

Anchor to deliveryCustomizationdeliveryCustomization
DeliveryCustomizationInput!
required

The input data used to create the delivery customization.


mutation

Updates a delivery customization.

Arguments

Anchor to deliveryCustomizationdeliveryCustomization
DeliveryCustomizationInput!
required

The input data used to update the delivery customization.

ID!
required

The global ID of the delivery customization.



Was this section helpful?

interface

Was this section helpful?