Skip to main content
Anchor to OrderAttributionDefinitionUpsertPayload

OrderAttributionDefinitionUpsertPayload

payload

Return type for orderAttributionDefinitionUpsert mutation.

Anchor to orderAttributionDefinitionorderAttributionDefinition
•OrderAttributionDefinition

The order attribution definition that was upserted.

•[OrderAttributionDefinitionUpsertUserError!]!
non-null

The list of errors that occurred from executing the mutation.


Was this section helpful?

Anchor to Mutations with this payloadMutations with this payload

•mutation

Upserts an order attribution definition for the calling app on the current shop. Apps can use attribution definitions to label orders they route to a shop, replacing or augmenting any definitions shipped declaratively via the order_attribution_config extension.

If a definition with the same handle exists for this app on the shop, the supplied input fields are merged onto it; fields omitted from the input are left unchanged. Otherwise a new definition is created. To explicitly clear the stored icon on an existing definition, pass icon: null.

Arguments

•OrderAttributionDefinitionUpsertInput!
required

The input fields for upserting the order attribution definition.



Was this section helpful?