Mutation
The schema's entry point for all mutation operations.
Anchor to FieldsFields
- Anchor to abandonmentUpdateActivitiesDeliveryStatusesabandonment•Abandonment
Update Activities Delivery Statuses Update Activities Delivery Statuses Payload Updates the marketing activities delivery statuses for an abandonment.
- Anchor to appPurchaseOneTimeCreateapp•App
Purchase One Time Create Purchase One Time Create Payload Charges a shop for features or services one time. This type of charge is recommended for apps that aren't billed on a recurring basis. Test and demo shops aren't charged.
- Anchor to appRevokeAccessScopesapp•App
Revoke Access Scopes Revoke Access Scopes Payload Revokes access scopes previously granted for an app installation.
- Anchor to appSubscriptionCancelapp•App
Subscription Cancel Subscription Cancel Payload Cancels an app subscription on a store.
- Anchor to appSubscriptionCreateapp•App
Subscription Create Subscription Create Payload Allows an app to charge a store for features or services on a recurring basis.
- Anchor to appSubscriptionLineItemUpdateapp•App
Subscription Line Item Update Subscription Line Item Update Payload Updates the capped amount on the usage pricing plan of an app subscription line item.
- Anchor to appSubscriptionTrialExtendapp•App
Subscription Trial Extend Subscription Trial Extend Payload Extends the trial of an app subscription.
- Anchor to appUninstallapp•App
Uninstall Uninstall Payload Uninstalls an app.
- Anchor to appUsageRecordCreateapp•App
Usage Record Create Usage Record Create Payload Enables an app to charge a store for features or services on a per-use basis. The usage charge value is counted towards the
limit that was specified in the
field when the app subscription was created. If you create an app usage charge that causes the total usage charges in a billing interval to exceed the capped amount, then a
Total price exceeds balance remaining
error is returned.- Anchor to articleCreatearticle•Article
Create Create Payload Creates an article.
- Anchor to articleDeletearticle•Article
Delete Delete Payload Deletes an article.
- Anchor to articleUpdatearticle•Article
Update Update Payload Updates an article.
- Anchor to backupRegionUpdatebackup•Backup
Region Update Region Update Payload Update the backup region that is used when we have no better signal of what region a buyer is in.
- Anchor to blogCreateblog•Blog
Create Create Payload Creates a blog.
- Anchor to blogDeleteblog•Blog
Delete Delete Payload Deletes a blog.
- Anchor to blogUpdateblog•Blog
Update Update Payload Updates a blog.
- Anchor to bulkOperationCancelbulk•Bulk
Operation Cancel Operation Cancel Payload Starts the cancelation process of a running bulk operation.
There may be a short delay from when a cancelation starts until the operation is actually canceled.
- Anchor to bulkOperationRunMutationbulk•Bulk
Operation Run Mutation Operation Run Mutation Payload Creates and runs a bulk operation mutation.
To learn how to bulk import large volumes of data asynchronously, refer to the bulk import data guide.
- Anchor to bulkOperationRunQuerybulk•Bulk
Operation Run Query Operation Run Query Payload Creates and runs a bulk operation query.
See the bulk operations guide for more details.
- Anchor to bulkProductResourceFeedbackCreatebulk•Bulk
Product Resource Feedback Create Product Resource Feedback Create Payload Creates product feedback for multiple products.
- Anchor to carrierServiceCreatecarrier•Carrier
Service Create Service Create Payload Creates a new carrier service.
- Anchor to carrierServiceDeletecarrier•Carrier
Service Delete Service Delete Payload Removes an existing carrier service.
- Anchor to carrierServiceUpdatecarrier•Carrier
Service Update Service Update Payload Updates a carrier service. Only the app that creates a carrier service can update it.
- Anchor to cartTransformCreatecart•Cart
Transform Create Transform Create Payload Create a CartTransform function to the Shop.
- Anchor to cartTransformDeletecart•Cart
Transform Delete Transform Delete Payload Destroy a cart transform function from the Shop.
- Anchor to catalogContextUpdatecatalog•Catalog
Context Update Context Update Payload Updates the context of a catalog.
- Anchor to catalogCreatecatalog•Catalog
Create Create Payload Creates a new catalog.
- Anchor to catalogDeletecatalog•Catalog
Delete Delete Payload Delete a catalog.
- Anchor to catalogUpdatecatalog•Catalog
Update Update Payload Updates an existing catalog.
- Anchor to checkoutBrandingUpsertcheckout•Checkout
Branding Upsert Branding Upsert Payload Updates the checkout branding settings for a checkout profile.
If the settings don't exist, then new settings are created. The checkout branding settings applied to a published checkout profile will be immediately visible within the store's checkout. The checkout branding settings applied to a draft checkout profile could be previewed within the admin checkout editor.
To learn more about updating checkout branding settings, refer to the checkout branding tutorial.
- Anchor to collectionAddProductscollection•Collection
Add Products Add Products Payload Adds products to a collection.
- Anchor to collectionAddProductsV2collection•Collection
Add Products V2 Add Products V2Payload Asynchronously adds a set of products to a given collection. It can take a long time to run. Instead of returning a collection, it returns a job which should be polled.
- Anchor to collectionCreatecollection•Collection
Create Create Payload Creates a collection to group products together in the online store and other sales channels. For example, an athletics store might create different collections for running attire, shoes, and accessories.
There are two types of collections:
- Custom (manual) collections: You specify the products to include in a collection.
- Smart (automated) collections: You define rules, and products matching those rules are automatically included in the collection.
Use the
mutation when you need to:
- Create a new collection for a product launch or campaign
- Organize products by category, season, or promotion
- Automate product grouping using rules (for example, by tag, type, or price)
NoteLearn more about using metafields with smart collections.
- Anchor to collectionDeletecollection•Collection
Delete Delete Payload Deletes a collection.
- Anchor to collectionRemoveProductscollection•Collection
Remove Products Remove Products Payload Removes a set of products from a given collection. The mutation can take a long time to run. Instead of returning an updated collection the mutation returns a job, which should be polled. For use with manual collections only.
- Anchor to collectionReorderProductscollection•Collection
Reorder Products Reorder Products Payload Asynchronously reorders products within a specified collection. Instead of returning an updated collection, this mutation returns a job, which should be polled. The
must be
.
How to use this mutation:
- Provide only the products that actually moved in the
moves
list; do not send the entire product list. For example: to move the product at index 1 to index N, send a single move for that product with.
- Each move is applied sequentially in the order provided.
is a zero-based index within the collection at the moment the move is applied (after any prior moves in the list).
- Products not included in
moves
keep their relative order, aside from any displacement caused by the moves. - If
is greater than or equal to the number of products, the product is placed at the end.
Example:
- Initial order: [A, B, C, D, E] (indices 0..4)
- Moves (applied in order):
- E -> newPosition: 1
- C -> newPosition: 4
- Result: [A, E, B, D, C]
Displaced products will have their position altered in a consistent manner with no gaps.
- Provide only the products that actually moved in the
- Anchor to collectionUpdatecollection•Collection
Update Update Payload Updates a collection, modifying its properties, products, or publication settings. Collections help organize products together in the online store and other sales channels.
Use the
mutation to programmatically modify collections in scenarios such as:
- Updating collection details, like title, description, or image
- Modifying SEO metadata for better search visibility
- Changing which products are included (using rule updates for smart collections)
- Publishing or unpublishing collections across different sales channels
- Updating custom data using metafields
There are two types of collections with different update capabilities:
- Custom (manual) collections: You can update collection properties, but rule sets can't be modified since products are manually selected.
- Smart (automated) collections: You can update both collection properties and the rules that automatically determine which products are included.
When updating rule sets for smart collections, the operation might be processed asynchronously. In these cases, the mutation returns a
job
object that you can use to track the progress of the update.
To publish or unpublish collections to specific sales channels, use the dedicated
and
mutations.
Learn more about using metafields with smart collections.
- Anchor to combinedListingUpdatecombined•Combined
Listing Update Listing Update Payload Add, remove and update
s of a given Product.
s are comprised of multiple products to create a single listing. There are two kinds of products used in a
:
- Parent products
- Child products
The parent product is created with a
with a
of
. Once created, you can associate child products with the parent product using this mutation. Parent products represent the idea of a product (e.g. Shoe).
Child products represent a particular option value (or combination of option values) of a parent product. For instance, with your Shoe parent product, you may have several child products representing specific colors of the shoe (e.g. Shoe - Blue). You could also have child products representing more than a single option (e.g. Shoe - Blue/Canvas, Shoe - Blue/Leather, etc...).
The combined listing is the association of parent product to one or more child products.
Learn more about Combined Listings.
- Anchor to commentApprovecomment•Comment
Approve Approve Payload Approves a comment.
- Anchor to commentDeletecomment•Comment
Delete Delete Payload Deletes a comment.
- Anchor to commentNotSpamcomment•Comment
Not Spam Not Spam Payload Marks a comment as not spam.
- Anchor to commentSpamcomment•Comment
Spam Spam Payload Marks a comment as spam.
- Anchor to companiesDeletecompanies•Companies
Delete Delete Payload Deletes a list of companies.
- Anchor to companyAddressDeletecompany•Company
Address Delete Address Delete Payload Deletes a company address.
- Anchor to companyAssignCustomerAsContactcompany•Company
Assign Customer As Contact Assign Customer As Contact Payload Assigns the customer as a company contact.
- Anchor to companyAssignMainContactcompany•Company
Assign Main Contact Assign Main Contact Payload Assigns the main contact for the company.
- Anchor to companyContactAssignRolecompany•Company
Contact Assign Role Contact Assign Role Payload Assigns a role to a contact for a location.
- Anchor to companyContactAssignRolescompany•Company
Contact Assign Roles Contact Assign Roles Payload Assigns roles on a company contact.
- Anchor to companyContactCreatecompany•Company
Contact Create Contact Create Payload Creates a company contact and the associated customer.
- Anchor to companyContactDeletecompany•Company
Contact Delete Contact Delete Payload Deletes a company contact.
- Anchor to companyContactRemoveFromCompanycompany•Company
Contact Remove From Company Contact Remove From Company Payload Removes a company contact from a Company.
- Anchor to companyContactRevokeRolecompany•Company
Contact Revoke Role Contact Revoke Role Payload Revokes a role on a company contact.
- Anchor to companyContactRevokeRolescompany•Company
Contact Revoke Roles Contact Revoke Roles Payload Revokes roles on a company contact.
- Anchor to companyContactsDeletecompany•Company
Contacts Delete Contacts Delete Payload Deletes one or more company contacts.
- Anchor to companyContactUpdatecompany•Company
Contact Update Contact Update Payload Updates a company contact.
- Anchor to companyCreatecompany•Company
Create Create Payload Creates a company.
- Anchor to companyDeletecompany•Company
Delete Delete Payload Deletes a company.
- Anchor to companyLocationAssignAddresscompany•Company
Location Assign Address Location Assign Address Payload Updates an address on a company location.
- Anchor to companyLocationAssignRolescompany•Company
Location Assign Roles Location Assign Roles Payload Assigns roles on a company location.
- Anchor to companyLocationAssignStaffMemberscompany•Company
Location Assign Staff Members Location Assign Staff Members Payload Creates one or more mappings between a staff member at a shop and a company location.
- Anchor to companyLocationCreatecompany•Company
Location Create Location Create Payload Creates a company location.
- Anchor to companyLocationDeletecompany•Company
Location Delete Location Delete Payload Deletes a company location.
- Anchor to companyLocationRemoveStaffMemberscompany•Company
Location Remove Staff Members Location Remove Staff Members Payload Deletes one or more existing mappings between a staff member at a shop and a company location.
- Anchor to companyLocationRevokeRolescompany•Company
Location Revoke Roles Location Revoke Roles Payload Revokes roles on a company location.
- Anchor to companyLocationsDeletecompany•Company
Locations Delete Locations Delete Payload Deletes a list of company locations.
- Anchor to companyLocationTaxSettingsUpdatecompany•Company
Location Tax Settings Update Location Tax Settings Update Payload Sets the tax settings for a company location.
- Anchor to companyLocationUpdatecompany•Company
Location Update Location Update Payload Updates a company location.
- Anchor to companyRevokeMainContactcompany•Company
Revoke Main Contact Revoke Main Contact Payload Revokes the main contact from the company.
- Anchor to companyUpdatecompany•Company
Update Update Payload Updates a company.
- Anchor to consentPolicyUpdateconsent•Consent
Policy Update Policy Update Payload Update or create consent policies in bulk.
- Anchor to customerAddressCreatecustomer•Customer
Address Create Address Create Payload Create a new customer address.
- Anchor to customerAddressDeletecustomer•Customer
Address Delete Address Delete Payload Deletes a customer's address.
- Anchor to customerAddressUpdatecustomer•Customer
Address Update Address Update Payload Update a customer's address information.
- Anchor to customerAddTaxExemptionscustomer•Customer
Add Tax Exemptions Add Tax Exemptions Payload Add tax exemptions for the customer.
- Anchor to customerCancelDataErasurecustomer•Customer
Cancel Data Erasure Cancel Data Erasure Payload Cancels a pending erasure of a customer's data. Read more here.
To request an erasure of a customer's data use the customerRequestDataErasure mutation.
- Anchor to customerCreatecustomer•Customer
Create Create Payload Create a new customer. As of API version 2022-10, apps using protected customer data must meet the protected customer data requirements.
- Anchor to customerDeletecustomer•Customer
Delete Delete Payload Delete a customer. As of API version 2022-10, apps using protected customer data must meet the protected customer data requirements.
- Anchor to customerEmailMarketingConsentUpdatecustomer•Customer
Email Marketing Consent Update Email Marketing Consent Update Payload Update a customer's email marketing information information.
- Anchor to customerGenerateAccountActivationUrlcustomer•Customer
Generate Account Activation Url Generate Account Activation Url Payload Generate an account activation URL for a customer.
- Anchor to customerMergecustomer•Customer
Merge Merge Payload Merges two customers.
- Anchor to customerPaymentMethodCreditCardCreatecustomer•Customer
Payment Method Credit Card Create Payment Method Credit Card Create Payload Creates a credit card payment method for a customer using a session id. These values are only obtained through card imports happening from a PCI compliant environment. Please use customerPaymentMethodRemoteCreate if you are not managing credit cards directly.
- Anchor to customerPaymentMethodCreditCardUpdatecustomer•Customer
Payment Method Credit Card Update Payment Method Credit Card Update Payload Updates the credit card payment method for a customer.
- Anchor to customerPaymentMethodGetUpdateUrlcustomer•Customer
Payment Method Get Update Url Payment Method Get Update Url Payload Returns a URL that allows the customer to update a specific payment method.
Currently,
only supports Shop Pay.
- Anchor to customerPaymentMethodPaypalBillingAgreementCreatecustomer•Customer
Payment Method Paypal Billing Agreement Create Payment Method Paypal Billing Agreement Create Payload Creates a PayPal billing agreement for a customer.
- Anchor to customerPaymentMethodPaypalBillingAgreementUpdatecustomer•Customer
Payment Method Paypal Billing Agreement Update Payment Method Paypal Billing Agreement Update Payload Updates a PayPal billing agreement for a customer.
- Anchor to customerPaymentMethodRemoteCreatecustomer•Customer
Payment Method Remote Create Payment Method Remote Create Payload Create a payment method from remote gateway identifiers. NOTE: This operation processes payment methods asynchronously. The returned payment method will initially have incomplete details. Developers must poll this payment method using customerPaymentMethod query until all payment method details are available, or the payment method is revoked (usually within seconds).
- Anchor to customerPaymentMethodRevokecustomer•Customer
Payment Method Revoke Payment Method Revoke Payload Revokes a customer's payment method.
- Anchor to customerPaymentMethodSendUpdateEmailcustomer•Customer
Payment Method Send Update Email Payment Method Send Update Email Payload Sends a link to the customer so they can update a specific payment method.
- Anchor to customerRemoveTaxExemptionscustomer•Customer
Remove Tax Exemptions Remove Tax Exemptions Payload Remove tax exemptions from a customer.
- Anchor to customerReplaceTaxExemptionscustomer•Customer
Replace Tax Exemptions Replace Tax Exemptions Payload Replace tax exemptions for a customer.
- Anchor to customerRequestDataErasurecustomer•Customer
Request Data Erasure Request Data Erasure Payload Enqueues a request to erase customer's data. Read more here.
To cancel the data erasure request use the customerCancelDataErasure mutation.
- Anchor to customerSegmentMembersQueryCreatecustomer•Customer
Segment Members Query Create Segment Members Query Create Payload Creates a customer segment members query.
- Anchor to customerSendAccountInviteEmailcustomer•Customer
Send Account Invite Email Send Account Invite Email Payload Sends the customer an account invite email.
- Anchor to customerSetcustomer•Customer
Set Set Payload Creates or updates a customer in a single mutation.
Use this mutation when syncing information from an external data source into Shopify.
This mutation can be used to create a new customer, update an existing customer by id, or upsert a customer by a unique key (email or phone).
To create a new customer omit the
identifier
argument. To update an existing customer, include theidentifier
with the id of the customer to update.To perform an 'upsert' by unique key (email or phone) use the
identifier
argument to upsert a customer by a unique key (email or phone). If a customer with the specified unique key exists, it will be updated. If not, a new customer will be created with that unique key.As of API version 2022-10, apps using protected customer data must meet the protected customer data requirements
Any list field (e.g. addresses, will be updated so that all included entries are either created or updated, and all existing entries not included will be deleted.
All other fields will be updated to the value passed. Omitted fields will not be updated.
- Anchor to customerSmsMarketingConsentUpdatecustomer•Customer
Sms Marketing Consent Update Sms Marketing Consent Update Payload Update a customer's SMS marketing consent information.
- Anchor to customerUpdatecustomer•Customer
Update Update Payload Update a customer's attributes. As of API version 2022-10, apps using protected customer data must meet the protected customer data requirements.
- Anchor to customerUpdateDefaultAddresscustomer•Customer
Update Default Address Update Default Address Payload Updates a customer's default address.
- Anchor to dataSaleOptOutdata•Data
Sale Opt Out Sale Opt Out Payload Opt out a customer from data sale.
- Anchor to delegateAccessTokenCreatedelegate•Delegate
Access Token Create Access Token Create Payload Creates a delegate access token.
To learn more about creating delegate access tokens, refer to Delegate OAuth access tokens to subsystems.
- Anchor to delegateAccessTokenDestroydelegate•Delegate
Access Token Destroy Access Token Destroy Payload Destroys a delegate access token.
- Anchor to deliveryCustomizationActivationdelivery•Delivery
Customization Activation Customization Activation Payload Activates and deactivates delivery customizations.
- Anchor to deliveryCustomizationCreatedelivery•Delivery
Customization Create Customization Create Payload Creates a delivery customization.
- Anchor to deliveryCustomizationDeletedelivery•Delivery
Customization Delete Customization Delete Payload Creates a delivery customization.
- Anchor to deliveryCustomizationUpdatedelivery•Delivery
Customization Update Customization Update Payload Updates a delivery customization.
- Anchor to deliveryProfileCreatedelivery•Delivery
Profile Create Profile Create Payload Create a delivery profile.
- Anchor to deliveryProfileRemovedelivery•Delivery
Profile Remove Profile Remove Payload Enqueue the removal of a delivery profile.
- Anchor to deliveryProfileUpdatedelivery•Delivery
Profile Update Profile Update Payload Update a delivery profile.
- Anchor to deliveryPromiseParticipantsUpdatedelivery•Delivery
Promise Participants Update Promise Participants Update Payload Updates the delivery promise participants by adding or removing owners based on a branded promise handle.
- Anchor to deliveryPromiseProviderUpsertdelivery•Delivery
Promise Provider Upsert Promise Provider Upsert Payload Creates or updates a delivery promise provider. Currently restricted to select approved delivery promise partners.
- Anchor to deliverySettingUpdatedelivery•Delivery
Setting Update Setting Update Payload Set the delivery settings for a shop.
- Anchor to deliveryShippingOriginAssigndelivery•Delivery
Shipping Origin Assign Shipping Origin Assign Payload Assigns a location as the shipping origin while using legacy compatibility mode for multi-location delivery profiles.
- Anchor to discountAutomaticActivatediscount•Discount
Automatic Activate Automatic Activate Payload Activates an automatic discount.
- Anchor to discountAutomaticAppCreatediscount•Discount
Automatic App Create Automatic App Create Payload Creates an automatic discount that's managed by an app. Use this mutation with Shopify Functions when you need advanced, custom, or dynamic discount capabilities that aren't supported by Shopify's native discount types.
For example, use this mutation to create an automatic discount using an app's "Volume" discount type that applies a percentage off when customers purchase more than the minimum quantity of a product. For an example implementation, refer to our tutorial.
- Anchor to discountAutomaticAppUpdatediscount•Discount
Automatic App Update Automatic App Update Payload Updates an existing automatic discount that's managed by an app using Shopify Functions. Use this mutation when you need advanced, custom, or dynamic discount capabilities that aren't supported by Shopify's native discount types.
For example, use this mutation to update a new "Volume" discount type that applies a percentage off when customers purchase more than the minimum quantity of a product. For an example implementation, refer to our tutorial.
- Anchor to discountAutomaticBasicCreatediscount•Discount
Automatic Basic Create Automatic Basic Create Payload - Anchor to discountAutomaticBasicUpdatediscount•Discount
Automatic Basic Update Automatic Basic Update Payload - Anchor to discountAutomaticBulkDeletediscount•Discount
Automatic Bulk Delete Automatic Bulk Delete Payload Asynchronously delete automatic discounts in bulk if a
search
orargument is provided or if a maximum discount threshold is reached (1,000). Otherwise, deletions will occur inline. Warning: All automatic discounts will be deleted if a blank
search
argument is provided.- Anchor to discountAutomaticBxgyCreatediscount•Discount
Automatic Bxgy Create Automatic Bxgy Create Payload - Anchor to discountAutomaticBxgyUpdatediscount•Discount
Automatic Bxgy Update Automatic Bxgy Update Payload Updates an existing buy X get Y discount (BXGY) that's automatically applied on a cart and at checkout.
- Anchor to discountAutomaticDeactivatediscount•Discount
Automatic Deactivate Automatic Deactivate Payload Deactivates an automatic discount.
- Anchor to discountAutomaticDeletediscount•Discount
Automatic Delete Automatic Delete Payload Deletes an automatic discount.
- Anchor to discountAutomaticFreeShippingCreatediscount•Discount
Automatic Free Shipping Create Automatic Free Shipping Create Payload - Anchor to discountAutomaticFreeShippingUpdatediscount•Discount
Automatic Free Shipping Update Automatic Free Shipping Update Payload - Anchor to discountCodeActivatediscount•Discount
Code Activate Code Activate Payload Activates a code discount.
- Anchor to discountCodeAppCreatediscount•Discount
Code App Create Code App Create Payload Creates a code discount. The discount type must be provided by an app extension that uses Shopify Functions. Functions can implement order, product, or shipping discount functions. Use this mutation with Shopify Functions when you need custom logic beyond Shopify's native discount types.
For example, use this mutation to create a code discount using an app's "Volume" discount type that applies a percentage off when customers purchase more than the minimum quantity of a product. For an example implementation, refer to our tutorial.
- Anchor to discountCodeAppUpdatediscount•Discount
Code App Update Code App Update Payload Updates a code discount, where the discount type is provided by an app extension that uses Shopify Functions. Use this mutation when you need advanced, custom, or dynamic discount capabilities that aren't supported by Shopify's native discount types.
- Anchor to discountCodeBasicCreatediscount•Discount
Code Basic Create Code Basic Create Payload Creates an amount off discount that's applied on a cart and at checkout when a customer enters a code. Amount off discounts can be a percentage off or a fixed amount off.
- Anchor to discountCodeBasicUpdatediscount•Discount
Code Basic Update Code Basic Update Payload Updates an amount off discount that's applied on a cart and at checkout when a customer enters a code. Amount off discounts can be a percentage off or a fixed amount off.
- Anchor to discountCodeBulkActivatediscount•Discount
Code Bulk Activate Code Bulk Activate Payload Activates multiple code discounts asynchronously using one of the following:
- A search query
- A saved search ID
- A list of discount code IDs
For example, you can activate discounts for all codes that match a search criteria, or activate a predefined set of discount codes.
- Anchor to discountCodeBulkDeactivatediscount•Discount
Code Bulk Deactivate Code Bulk Deactivate Payload Deactivates multiple code-based discounts asynchronously using one of the following:
- A search query
- A saved search ID
- A list of discount code IDs
For example, you can deactivate discounts for all codes that match a search criteria, or deactivate a predefined set of discount codes.
- Anchor to discountCodeBulkDeletediscount•Discount
Code Bulk Delete Code Bulk Delete Payload Deletes multiple code-based discounts asynchronously using one of the following:
- A search query
- A saved search ID
- A list of discount code IDs
For example, you can delete discounts for all codes that match a search criteria, or delete a predefined set of discount codes.
- Anchor to discountCodeBxgyCreatediscount•Discount
Code Bxgy Create Code Bxgy Create Payload Creates a buy X get Y discount (BXGY) that's applied on a cart and at checkout when a customer enters a code.
- Anchor to discountCodeBxgyUpdatediscount•Discount
Code Bxgy Update Code Bxgy Update Payload Updates a buy X get Y discount (BXGY) that's applied on a cart and at checkout when a customer enters a code.
- Anchor to discountCodeDeactivatediscount•Discount
Code Deactivate Code Deactivate Payload Deactivates a code discount.
- Anchor to discountCodeDeletediscount•Discount
Code Delete Code Delete Payload Deletes a code discount.
- Anchor to discountCodeFreeShippingCreatediscount•Discount
Code Free Shipping Create Code Free Shipping Create Payload Creates an free shipping discount that's applied on a cart and at checkout when a customer enters a code.
- Anchor to discountCodeFreeShippingUpdatediscount•Discount
Code Free Shipping Update Code Free Shipping Update Payload Updates a free shipping discount that's applied on a cart and at checkout when a customer enters a code.
Note- Anchor to discountCodeRedeemCodeBulkDeletediscount•Discount
Code Redeem Code Bulk Delete Code Redeem Code Bulk Delete Payload Asynchronously delete discount codes in bulk that customers can use to redeem a discount.
- Anchor to discountRedeemCodeBulkAdddiscount•Discount
Redeem Code Bulk Add Redeem Code Bulk Add Payload Asynchronously add discount codes in bulk that customers can use to redeem a discount. You can use the
mutation to automate the distribution of discount codes through emails or other marketing channels.
- Anchor to disputeEvidenceUpdatedispute•Dispute
Evidence Update Evidence Update Payload Updates a dispute evidence.
- Anchor to draftOrderBulkAddTagsdraft•Draft
Order Bulk Add Tags Order Bulk Add Tags Payload Adds tags to multiple draft orders.
- Anchor to draftOrderBulkDeletedraft•Draft
Order Bulk Delete Order Bulk Delete Payload Deletes multiple draft orders.
- Anchor to draftOrderBulkRemoveTagsdraft•Draft
Order Bulk Remove Tags Order Bulk Remove Tags Payload Removes tags from multiple draft orders.
- Anchor to draftOrderCalculatedraft•Draft
Order Calculate Order Calculate Payload Calculates the properties of a draft order. Useful for determining information such as total taxes or price without actually creating a draft order.
- Anchor to draftOrderCompletedraft•Draft
Order Complete Order Complete Payload Completes a draft order and converts it into a regular order. The order appears in the merchant's orders list, and the customer can be notified about their order.
Use the
mutation when a merchant is ready to finalize a draft order and create a real order in their store. The
mutation also supports sales channel attribution for tracking order sources using the
argument, cart validation controls for app integrations, and detailed error reporting for failed completions.
You can complete a draft order with different payment scenarios:
- Mark the order as paid immediately.
- Set the order as payment pending using payment terms.
- Specify a custom payment amount.
- Select a specific payment gateway.
NoteWhen completing a draft order, inventory is reserved for the items in the order. This means the items will no longer be available for other customers to purchase. Make sure to verify inventory availability before completing the draft order.
- Anchor to draftOrderCreatedraft•Draft
Order Create Order Create Payload Creates a draft order with attributes such as customer information, line items, shipping and billing addresses, and payment terms. Draft orders are useful for merchants that need to:
- Create new orders for sales made by phone, in person, by chat, or elsewhere. When a merchant accepts payment for a draft order, an order is created.
- Send invoices to customers with a secure checkout link.
- Use custom items to represent additional costs or products not in inventory.
- Re-create orders manually from active sales channels.
- Sell products at discount or wholesale rates.
- Take pre-orders.
After creating a draft order, you can:
- Send an invoice to the customer using the
mutation.
- Complete the draft order using the
mutation.
- Update the draft order using the
mutation.
- Duplicate a draft order using the
mutation.
- Delete the draft order using the
mutation.
NoteWhen you create a draft order, you can't reserve or hold inventory for the items in the order by default. However, you can reserve inventory using the
input.
- Anchor to draftOrderCreateFromOrderdraft•Draft
Order Create From Order Order Create From Order Payload Creates a draft order from order.
- Anchor to draftOrderDeletedraft•Draft
Order Delete Order Delete Payload Deletes a draft order.
- Anchor to draftOrderDuplicatedraft•Draft
Order Duplicate Order Duplicate Payload Duplicates a draft order.
- Anchor to draftOrderInvoicePreviewdraft•Draft
Order Invoice Preview Order Invoice Preview Payload Previews a draft order invoice email.
- Anchor to draftOrderInvoiceSenddraft•Draft
Order Invoice Send Order Invoice Send Payload Sends an email invoice for a draft order.
- Anchor to draftOrderUpdatedraft•Draft
Order Update Order Update Payload Updates a draft order.
If a checkout has been started for a draft order, any update to the draft will unlink the checkout. Checkouts are created but not immediately completed when opening the merchant credit card modal in the admin, and when a buyer opens the invoice URL. This is usually fine, but there is an edge case where a checkout is in progress and the draft is updated before the checkout completes. This will not interfere with the checkout and order creation, but if the link from draft to checkout is broken the draft will remain open even after the order is created.
- Anchor to eventBridgeServerPixelUpdateevent•Event
Bridge Server Pixel Update Bridge Server Pixel Update Payload Updates the server pixel to connect to an EventBridge endpoint. Running this mutation deletes any previous subscriptions for the server pixel.
- Anchor to fileAcknowledgeUpdateFailedfile•File
Acknowledge Update Failed Acknowledge Update Failed Payload Acknowledges file update failure by resetting FAILED status to READY and clearing any media errors.
- Anchor to fileCreatefile•File
Create Create Payload Creates file assets for a store from external URLs or files that were previously uploaded using the
mutation.
Use the
mutation to add various types of media and documents to your store. These files are added to the Files page in the Shopify admin and can be referenced by other resources in your store.
The
mutation supports multiple file types:
- Images: Product photos, variant images, and general store imagery
- Videos: Shopify-hosted videos for product demonstrations and marketing
- External videos: YouTube and Vimeo videos for enhanced product experiences
- 3D models: Interactive 3D representations of products
- Generic files: PDFs, documents, and other file types for store resources
The mutation handles duplicate filenames using configurable resolution modes that automatically append UUIDs, replace existing files, or raise errors when conflicts occur.
NoteAfter creating files, you can make subsequent updates using the following mutations:
: Update file properties such as alt text or replace file contents while preserving the same URL.
: Remove files from your store when they are no longer needed.
To list all files in your store, use the
files
query.Learn how to manage product media and file assets in your app.
- Anchor to fileDeletefile•File
Delete Delete Payload Deletes file assets that were previously uploaded to your store.
Use the
mutation to permanently remove media and file assets from your store when they are no longer needed. This mutation handles the complete removal of files from both your store's file library and any associated references to products or other resources.
The
mutation supports removal of multiple file types:
- Images: Product photos, variant images, and general store imagery
- Videos: Shopify-hosted videos for product demonstrations and marketing content
- External Videos: YouTube and Vimeo videos linked to your products
- 3D models: Interactive 3D representations of products
- Generic files: PDFs, documents, and other file types stored in your Files page
When you delete files that are referenced by products, the mutation automatically removes those references and reorders any remaining media to maintain proper positioning. Product file references are database relationships managed through a media reference system, not just links in product descriptions. The Shopify admin provides a UI to manage these relationships, and when files are deleted, the system automatically cleans up all references. Files that are currently being processed by other operations are rejected to prevent conflicts.
CautionFile deletion is permanent and can't be undone. When you delete a file that's being used in your store, it will immediately stop appearing wherever it was displayed. For example, if you delete a product image, that product will show a broken image or placeholder on your storefront and in the admin. The same applies to any other files linked from themes, blog posts, or pages. Before deleting files, you can use the
files
query to list and review your store's file assets.Learn how to manage product media and file assets in your app.
- Anchor to fileUpdatefile•File
Update Update Payload Updates properties, content, and metadata associated with an existing file asset that has already been uploaded to Shopify.
Use the
mutation to modify various aspects of files already stored in your store. Files can be updated individually or in batches.
The
mutation supports updating multiple file properties:
- Alt text: Update accessibility descriptions for images and other media.
- File content: Replace image or generic file content while maintaining the same URL.
- Filename: Modify file names (extension must match the original).
- Product references: Add or remove associations between files and products. Removing file-product associations deletes the file from the product's media gallery and clears the image from any product variants that were using it.
The mutation handles different file types with specific capabilities:
- Images: Update preview images, original source, filename, and alt text.
- Generic files: Update original source, filename, and alt text.
- Videos and 3D models: Update alt text and product references.
NoteFiles must be in
ready
state before they can be updated. The mutation includes file locking to prevent conflicts during updates. You can't simultaneously update bothand
.
After updating files, you can use related mutations for additional file management:
: Create new file assets from external URLs or staged uploads.
: Remove files from your store when they are no longer needed.
Learn how to manage product media and file assets in your app.
- Anchor to flowTriggerReceiveflow•Flow
Trigger Receive Trigger Receive Payload Triggers any workflows that begin with the trigger specified in the request body. To learn more, refer to Create Shopify Flow triggers.
- Anchor to fulfillmentCancelfulfillment•Fulfillment
Cancel Cancel Payload Cancels a fulfillment.
- Anchor to fulfillmentConstraintRuleCreatefulfillment•Fulfillment
Constraint Rule Create Constraint Rule Create Payload Creates a fulfillment constraint rule and its metafield.
- Anchor to fulfillmentConstraintRuleDeletefulfillment•Fulfillment
Constraint Rule Delete Constraint Rule Delete Payload Deletes a fulfillment constraint rule and its metafields.
- Anchor to fulfillmentConstraintRuleUpdatefulfillment•Fulfillment
Constraint Rule Update Constraint Rule Update Payload Update a fulfillment constraint rule.
- Anchor to fulfillmentCreatefulfillment•Fulfillment
Create Create Payload Creates a fulfillment for one or many fulfillment orders. The fulfillment orders are associated with the same order and are assigned to the same location.
- Anchor to fulfillmentEventCreatefulfillment•Fulfillment
Event Create Event Create Payload Creates a fulfillment event for a specified fulfillment.
- Anchor to fulfillmentOrderAcceptCancellationRequestfulfillment•Fulfillment
Order Accept Cancellation Request Order Accept Cancellation Request Payload Accept a cancellation request sent to a fulfillment service for a fulfillment order.
- Anchor to fulfillmentOrderAcceptFulfillmentRequestfulfillment•Fulfillment
Order Accept Fulfillment Request Order Accept Fulfillment Request Payload Accepts a fulfillment request sent to a fulfillment service for a fulfillment order.
- Anchor to fulfillmentOrderCancelfulfillment•Fulfillment
Order Cancel Order Cancel Payload Marks a fulfillment order as canceled.
- Anchor to fulfillmentOrderClosefulfillment•Fulfillment
Order Close Order Close Payload Marks an in-progress fulfillment order as incomplete, indicating the fulfillment service is unable to ship any remaining items, and closes the fulfillment request.
This mutation can only be called for fulfillment orders that meet the following criteria:
- Assigned to a fulfillment service location,
- The fulfillment request has been accepted,
- The fulfillment order status is
.
This mutation can only be called by the fulfillment service app that accepted the fulfillment request. Calling this mutation returns the control of the fulfillment order to the merchant, allowing them to move the fulfillment order line items to another location and fulfill from there, remove and refund the line items, or to request fulfillment from the same fulfillment service again.
Closing a fulfillment order is explained in the fulfillment service guide.
- Anchor to fulfillmentOrderHoldfulfillment•Fulfillment
Order Hold Order Hold Payload Applies a fulfillment hold on a fulfillment order.
As of the 2025-01 API version, the mutation can be successfully executed on fulfillment orders that are already on hold. To place multiple holds on a fulfillment order, apps need to supply the handle field. Each app can place up to 10 active holds per fulfillment order. If an app attempts to place more than this, the mutation will return a user error indicating that the limit has been reached. The app would need to release one of its existing holds before being able to apply a new one.
- Anchor to fulfillmentOrderLineItemsPreparedForPickupfulfillment•Fulfillment
Order Line Items Prepared For Pickup Order Line Items Prepared For Pickup Payload Mark line items associated with a fulfillment order as being ready for pickup by a customer.
Sends a Ready For Pickup notification to the customer to let them know that their order is ready to be picked up.
- Anchor to fulfillmentOrderMergefulfillment•Fulfillment
Order Merge Order Merge Payload Merges a set or multiple sets of fulfillment orders together into one based on line item inputs and quantities.
- Anchor to fulfillmentOrderMovefulfillment•Fulfillment
Order Move Order Move Payload Changes the location which is assigned to fulfill a number of unfulfilled fulfillment order line items.
Moving a fulfillment order will fail in the following circumstances:
- The fulfillment order is closed.
- The destination location doesn't stock the requested inventory item.
- The API client doesn't have the correct permissions.
Line items which have already been fulfilled can't be re-assigned and will always remain assigned to the original location.
You can't change the assigned location while a fulfillment order has a request status of
,
,
, or
. These request statuses mean that a fulfillment order is awaiting action by a fulfillment service and can't be re-assigned without first having the fulfillment service accept a cancellation request. This behavior is intended to prevent items from being fulfilled by multiple locations or fulfillment services.
How re-assigning line items affects fulfillment orders
First scenario: Re-assign all line items belonging to a fulfillment order to a new location.
In this case, the assignedLocation of the original fulfillment order will be updated to the new location.
Second scenario: Re-assign a subset of the line items belonging to a fulfillment order to a new location. You can specify a subset of line items using the
parameter (available as of the
2023-04
API version), or specify that the original fulfillment order contains line items which have already been fulfilled.If the new location is already assigned to another active fulfillment order, on the same order, then a new fulfillment order is created. The existing fulfillment order is closed and line items are recreated in a new fulfillment order.
- Anchor to fulfillmentOrderOpenfulfillment•Fulfillment
Order Open Order Open Payload Marks a scheduled fulfillment order as open.
- Anchor to fulfillmentOrderRejectCancellationRequestfulfillment•Fulfillment
Order Reject Cancellation Request Order Reject Cancellation Request Payload Rejects a cancellation request sent to a fulfillment service for a fulfillment order.
- Anchor to fulfillmentOrderRejectFulfillmentRequestfulfillment•Fulfillment
Order Reject Fulfillment Request Order Reject Fulfillment Request Payload Rejects a fulfillment request sent to a fulfillment service for a fulfillment order.
- Anchor to fulfillmentOrderReleaseHoldfulfillment•Fulfillment
Order Release Hold Order Release Hold Payload Releases the fulfillment hold on a fulfillment order.
- Anchor to fulfillmentOrderReschedulefulfillment•Fulfillment
Order Reschedule Order Reschedule Payload Reschedules a scheduled fulfillment order.
Updates the value of the
field on a scheduled fulfillment order.
The fulfillment order will be marked as ready for fulfillment at this date and time.
- Anchor to fulfillmentOrderSplitfulfillment•Fulfillment
Order Split Order Split Payload Splits a fulfillment order or orders based on line item inputs and quantities.
- Anchor to fulfillmentOrdersSetFulfillmentDeadlinefulfillment•Fulfillment
Orders Set Fulfillment Deadline Orders Set Fulfillment Deadline Payload Sets the latest date and time by which the fulfillment orders need to be fulfilled.
- Anchor to fulfillmentOrderSubmitCancellationRequestfulfillment•Fulfillment
Order Submit Cancellation Request Order Submit Cancellation Request Payload Sends a cancellation request to the fulfillment service of a fulfillment order.
- Anchor to fulfillmentOrderSubmitFulfillmentRequestfulfillment•Fulfillment
Order Submit Fulfillment Request Order Submit Fulfillment Request Payload Sends a fulfillment request to the fulfillment service of a fulfillment order.
- Anchor to fulfillmentServiceCreatefulfillment•Fulfillment
Service Create Service Create Payload Creates a fulfillment service.
Fulfillment service location
When creating a fulfillment service, a new location will be automatically created on the shop and will be associated with this fulfillment service. This location will be named after the fulfillment service and inherit the shop's address.
If you are using API version
2023-10
or later, and you need to specify custom attributes for the fulfillment service location (for example, to change its address to a country different from the shop's country), use the LocationEdit mutation after creating the fulfillment service.- Anchor to fulfillmentServiceDeletefulfillment•Fulfillment
Service Delete Service Delete Payload Deletes a fulfillment service.
- Anchor to fulfillmentServiceUpdatefulfillment•Fulfillment
Service Update Service Update Payload Updates a fulfillment service.
If you are using API version
2023-10
or later, and you need to update the location managed by the fulfillment service (for example, to change the address of a fulfillment service), use the LocationEdit mutation.- Anchor to fulfillmentTrackingInfoUpdatefulfillment•Fulfillment
Tracking Info Update Tracking Info Update Payload Updates tracking information for a fulfillment.
- Anchor to giftCardCreategift•Gift
Card Create Card Create Payload Create a gift card.
- Anchor to giftCardCreditgift•Gift
Card Credit Card Credit Payload Credit a gift card.
- Anchor to giftCardDeactivategift•Gift
Card Deactivate Card Deactivate Payload Deactivate a gift card. A deactivated gift card cannot be used by a customer. A deactivated gift card cannot be re-enabled.
- Anchor to giftCardDebitgift•Gift
Card Debit Card Debit Payload Debit a gift card.
- Anchor to giftCardSendNotificationToCustomergift•Gift
Card Send Notification To Customer Card Send Notification To Customer Payload Send notification to the customer of a gift card.
- Anchor to giftCardSendNotificationToRecipientgift•Gift
Card Send Notification To Recipient Card Send Notification To Recipient Payload Send notification to the recipient of a gift card.
- Anchor to giftCardUpdategift•Gift
Card Update Card Update Payload Update a gift card.
- Anchor to inventoryActivateinventory•Inventory
Activate Activate Payload Activate an inventory item at a location.
- Anchor to inventoryAdjustQuantitiesinventory•Inventory
Adjust Quantities Adjust Quantities Payload Apply changes to inventory quantities.
- Anchor to inventoryBulkToggleActivationinventory•Inventory
Bulk Toggle Activation Bulk Toggle Activation Payload Modify the activation status of an inventory item at locations. Activating an inventory item at a particular location allows that location to stock that inventory item. Deactivating an inventory item at a location removes the inventory item's quantities and turns off the inventory item from that location.
- Anchor to inventoryDeactivateinventory•Inventory
Deactivate Deactivate Payload Removes an inventory item's quantities from a location, and turns off inventory at the location.
- Anchor to inventoryItemUpdateinventory•Inventory
Item Update Item Update Payload Updates an inventory item.
- Anchor to inventoryMoveQuantitiesinventory•Inventory
Move Quantities Move Quantities Payload Moves inventory between inventory quantity names at a single location.
- Anchor to inventorySetQuantitiesinventory•Inventory
Set Quantities Set Quantities Payload Set quantities of specified name using absolute values. This mutation supports compare-and-set functionality to handle concurrent requests properly. If
is not set to true, the mutation will only update the quantity if the persisted quantity matches the
value. If the
value does not match the persisted value, the mutation will return an error. In order to opt out of the
check, the
argument can be set to true.
NoteOnly use this mutation if calling on behalf of a system that acts as the source of truth for inventory quantities, otherwise please consider using the inventoryAdjustQuantities mutation.
Opting out of the
check can lead to inaccurate inventory quantities if multiple requests are made concurrently. It is recommended to always include the
value to ensure the accuracy of the inventory quantities and to opt out of the check using
only when necessary.
- Anchor to inventorySetScheduledChangesinventory•Inventory
Set Scheduled Changes Set Scheduled Changes Payload Set up scheduled changes of inventory items.
- Anchor to inventoryShipmentAddItemsinventory•Inventory
Shipment Add Items Shipment Add Items Payload Adds items to an inventory shipment.
- Anchor to inventoryShipmentCreateinventory•Inventory
Shipment Create Shipment Create Payload Adds a draft shipment to an inventory transfer.
- Anchor to inventoryShipmentCreateInTransitinventory•Inventory
Shipment Create In Transit Shipment Create In Transit Payload Adds an in-transit shipment to an inventory transfer.
- Anchor to inventoryShipmentDeleteinventory•Inventory
Shipment Delete Shipment Delete Payload Deletes an inventory shipment. Only draft shipments can be deleted.
- Anchor to inventoryShipmentMarkInTransitinventory•Inventory
Shipment Mark In Transit Shipment Mark In Transit Payload Marks a draft inventory shipment as in transit.
- Anchor to inventoryShipmentReceiveinventory•Inventory
Shipment Receive Shipment Receive Payload Receive an inventory shipment.
- Anchor to inventoryShipmentRemoveItemsinventory•Inventory
Shipment Remove Items Shipment Remove Items Payload Remove items from an inventory shipment.
- Anchor to inventoryShipmentSetTrackinginventory•Inventory
Shipment Set Tracking Shipment Set Tracking Payload Edits the tracking info on an inventory shipment.
- Anchor to inventoryShipmentUpdateItemQuantitiesinventory•Inventory
Shipment Update Item Quantities Shipment Update Item Quantities Payload Updates items on an inventory shipment.
- Anchor to inventoryTransferCancelinventory•Inventory
Transfer Cancel Transfer Cancel Payload Cancels an inventory transfer.
- Anchor to inventoryTransferCreateinventory•Inventory
Transfer Create Transfer Create Payload Creates an inventory transfer.
- Anchor to inventoryTransferCreateAsReadyToShipinventory•Inventory
Transfer Create As Ready To Ship Transfer Create As Ready To Ship Payload Creates an inventory transfer in ready to ship.
- Anchor to inventoryTransferDeleteinventory•Inventory
Transfer Delete Transfer Delete Payload Deletes an inventory transfer.
- Anchor to inventoryTransferDuplicateinventory•Inventory
Transfer Duplicate Transfer Duplicate Payload This mutation allows duplicating an existing inventory transfer. The duplicated transfer will have the same line items and quantities as the original transfer, but will be in a draft state with no shipments.
- Anchor to inventoryTransferEditinventory•Inventory
Transfer Edit Transfer Edit Payload Edits an inventory transfer.
- Anchor to inventoryTransferMarkAsReadyToShipinventory•Inventory
Transfer Mark As Ready To Ship Transfer Mark As Ready To Ship Payload Sets an inventory transfer to ready to ship.
- Anchor to inventoryTransferRemoveItemsinventory•Inventory
Transfer Remove Items Transfer Remove Items Payload This mutation allows removing the shippable quantities of line items on a Transfer. It removes all quantities of the item from the transfer that are not associated with shipments.
- Anchor to inventoryTransferSetItemsinventory•Inventory
Transfer Set Items Transfer Set Items Payload This mutation allows for the setting of line items on a Transfer. Will replace the items already set, if any.
- Anchor to locationActivatelocation•Location
Activate Activate Payload Activates a location so that you can stock inventory at the location. Refer to the
and
activatable
fields on theLocation
object.- Anchor to locationAddlocation•Location
Add Add Payload Adds a new location.
- Anchor to locationDeactivatelocation•Location
Deactivate Deactivate Payload Deactivates a location and moves inventory, pending orders, and moving transfers to a destination location.
- Anchor to locationDeletelocation•Location
Delete Delete Payload Deletes a location.
- Anchor to locationEditlocation•Location
Edit Edit Payload Edits an existing location.
As of the 2023-10 API version, apps can change the name and address of their fulfillment service locations.
- Anchor to locationLocalPickupDisablelocation•Location
Local Pickup Disable Local Pickup Disable Payload Disables local pickup for a location.
- Anchor to locationLocalPickupEnablelocation•Location
Local Pickup Enable Local Pickup Enable Payload Enables local pickup for a location.
- Anchor to marketCreatemarket•Market
Create Create Payload Creates a new market.
- Anchor to marketCurrencySettingsUpdatemarket•Market
Currency Settings Update Currency Settings Update Payload Updates currency settings of a market.
- Anchor to marketDeletemarket•Market
Delete Delete Payload Deletes a market definition.
- Anchor to marketingActivitiesDeleteAllExternalmarketing•Marketing
Activities Delete All External Activities Delete All External Payload Deletes all external marketing activities. Deletion is performed by a background job, as it may take a bit of time to complete if a large number of activities are to be deleted. Attempting to create or modify external activities before the job has completed will result in the create/update/upsert mutation returning an error.
- Anchor to marketingActivityCreatemarketing•Marketing
Activity Create Activity Create Payload Create new marketing activity. Marketing activity app extensions are deprecated and will be removed in the near future.
- Anchor to marketingActivityCreateExternalmarketing•Marketing
Activity Create External Activity Create External Payload Creates a new external marketing activity.
- Anchor to marketingActivityDeleteExternalmarketing•Marketing
Activity Delete External Activity Delete External Payload Deletes an external marketing activity.
- Anchor to marketingActivityUpdatemarketing•Marketing
Activity Update Activity Update Payload Updates a marketing activity with the latest information. Marketing activity app extensions are deprecated and will be removed in the near future.
- Anchor to marketingActivityUpdateExternalmarketing•Marketing
Activity Update External Activity Update External Payload Update an external marketing activity.
- Anchor to marketingActivityUpsertExternalmarketing•Marketing
Activity Upsert External Activity Upsert External Payload Creates a new external marketing activity or updates an existing one. When optional fields are absent or null, associated information will be removed from an existing marketing activity.
- Anchor to marketingEngagementCreatemarketing•Marketing
Engagement Create Engagement Create Payload Creates a new marketing engagement for a marketing activity or a marketing channel.
- Anchor to marketingEngagementsDeletemarketing•Marketing
Engagements Delete Engagements Delete Payload Marks channel-level engagement data such that it no longer appears in reports. Activity-level data cannot be deleted directly, instead the MarketingActivity itself should be deleted to hide it from reports.
- Anchor to marketLocalizationsRegistermarket•Market
Localizations Register Localizations Register Payload Creates or updates market localizations.
- Anchor to marketLocalizationsRemovemarket•Market
Localizations Remove Localizations Remove Payload Deletes market localizations.
- Anchor to marketUpdatemarket•Market
Update Update Payload Updates the properties of a market.
- •Menu
Create Payload Creates a menu.
- •Menu
Delete Payload Deletes a menu.
- •Menu
Update Payload Updates a menu.
- Anchor to metafieldDefinitionCreatemetafield•Metafield
Definition Create Definition Create Payload Creates a metafield definition. Any metafields existing under the same owner type, namespace, and key will be checked against this definition and will have their type updated accordingly. For metafields that are not valid, they will remain unchanged but any attempts to update them must align with this definition.
- Anchor to metafieldDefinitionDeletemetafield•Metafield
Definition Delete Definition Delete Payload Delete a metafield definition. Optionally deletes all associated metafields asynchronously when specified.
- Anchor to metafieldDefinitionPinmetafield
Definition Pin