deliveryProfileCreate mutation

Version 2020-01 (Release candidate)

Creates a delivery profile.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

profile ( DeliveryProfileInput! ) required

Specifies the input fields for a delivery profile.

DeliveryProfileInput fields

conditionsToDelete ([ID!])

Conditions to delete.

locationGroupsToCreate ([DeliveryProfileLocationGroupInput!])

The location groups to be created in the profile.

locationGroupsToDelete ([ID!])

The location groups to be deleted in the profile.

locationGroupsToUpdate ([DeliveryProfileLocationGroupInput!])

The location groups to be updated in the profile.

methodDefinitionsToDelete ([ID!])

Method definitions to delete.

name (String)

The name of the profile.

profileLocationGroups ([DeliveryProfileLocationGroupInput!])

The location groups associated with the profile.

variantsToAssociate ([ID!])

The product variant ids to be associated with this profile.

variantsToDissociate ([ID!])

The product variant ids to be dissociated from this profile and returned to the default profile.

zonesToDelete ([ID!])

Zones to delete.

Return fields

profile (DeliveryProfile)

The delivery profile that was created.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Version 2019-10 (Latest)

Creates a delivery profile.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

profile ( DeliveryProfileInput! ) required

Specifies the input fields for a delivery profile.

DeliveryProfileInput fields

conditionsToDelete ([ID!])

Conditions to delete.

locationGroupsToCreate ([DeliveryProfileLocationGroupInput!])

The location groups to be created in the profile.

locationGroupsToDelete ([ID!])

The location groups to be deleted in the profile.

locationGroupsToUpdate ([DeliveryProfileLocationGroupInput!])

The location groups to be updated in the profile.

methodDefinitionsToDelete ([ID!])

Method definitions to delete.

name (String)

The name of the profile.

profileLocationGroups ([DeliveryProfileLocationGroupInput!])

The location groups associated with the profile.

variantsToAssociate ([ID!])

The product variant ids to be associated with this profile.

variantsToDissociate ([ID!])

The product variant ids to be dissociated from this profile and returned to the default profile.

zonesToDelete ([ID!])

Zones to delete.

Return fields

profile (DeliveryProfile)

The delivery profile that was created.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Version 2019-07

Creates a delivery profile.

Interactive example

This is an example mutation query. Use the embedded interactive tool below to edit the query.

Hint: use Ctrl + Space for autocompleting fields.


Arguments

profile ( DeliveryProfileInput! ) required

Specifies the input fields for a delivery profile.

DeliveryProfileInput fields

conditionsToDelete ([ID!])

Conditions to delete.

locationGroupsToCreate ([DeliveryProfileLocationGroupInput!])

The location groups to be created in the profile.

locationGroupsToDelete ([ID!])

The location groups to be deleted in the profile.

locationGroupsToUpdate ([DeliveryProfileLocationGroupInput!])

The location groups to be updated in the profile.

methodDefinitionsToDelete ([ID!])

Method definitions to delete.

name (String)

The name of the profile.

profileLocationGroups ([DeliveryProfileLocationGroupInput!])

The location groups associated with the profile.

variantsToAssociate ([ID!])

The product variant ids to be associated with this profile.

variantsToDissociate ([ID!])

The product variant ids to be dissociated from this profile and returned to the default profile.

zonesToDelete ([ID!])

Zones to delete.

Return fields

profile (DeliveryProfile)

The delivery profile that was created.

userErrors ([UserError!]!)

List of errors that occurred executing the mutation.

Sign up for a Partner account to get started.

Sign up