Anchor to OrderAttributionDefinitionUpsertPayloadOrder
payloadOrder Attribution Definition Upsert Payload
Return type for mutation.
Anchor to FieldsFields
- orderAttributionDefinition (OrderAttributionDefinition)
- userErrors ([OrderAttributionDefinitionUpsertUserError!]!)
- Anchor to orderAttributionDefinitionorder•Order
Attribution Definition Attribution Definition The order attribution definition that was upserted.
- Anchor to userErrorsuser•[Order
Errors Attribution Definition Upsert User Error!]! 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
- orderAttributionDefinitionUpsert (OrderAttributionDefinitionUpsertPayload)
- •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
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
iconon an existing definition, passicon: null.- Anchor to inputinput•Order
Attribution Definition Upsert Input! required The input fields for upserting the order attribution definition.
Arguments
Was this section helpful?