Skip to main content
Anchor to OrderAttributionDefinitionUpsertUserError

OrderAttributionDefinitionUpsertUserError

object

An error that occurs during the execution of OrderAttributionDefinitionUpsert.

•OrderAttributionDefinitionUpsertUserErrorCode

The error code.

•[String!]

The path to the input field that caused the error.

•String!
non-null

The error message.


Was this section helpful?

•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?


Was this section helpful?