Call any Shopify Admin API endpoint with the connected account. By default it sends a GraphQL query or mutation to /graphql.json (GraphQL Admin API 2026-10); REST paths are accepted as well.
Count the customers of the store, optionally only those created or updated in a time range.
Create a customer, optionally with an address, email marketing consent, tax exemptions and metafields.
Delete a customer. Shopify refuses to delete a customer who has orders.
Find customers by a search query and filters. Returns up to 250 customers.
Get a customer by ID, with contact details, marketing consent, addresses and order totals.
Update a customer. Only the fields you fill in are changed.
Create a discount code that takes a percentage or a fixed amount off the order. Leave the code empty to have one generated.
Delete a code discount together with all its discount codes.
Get the discount a discount code belongs to: its terms, status and codes.
Create a draft order, for example a quote or an order taken by phone, that the customer can pay through its invoice. Returns the draft order. Needs the write_draft_orders access scope on the Shopify app.
Delete a draft order. Needs the write_draft_orders access scope on the Shopify app.
Update a draft order that is not completed yet. Fields left empty are not changed; line items, when given, replace all line items. Needs the write_draft_orders access scope on the Shopify app.
Set the available (or on-hand) quantity of a product variant's inventory at a location. Switches inventory tracking on and stocks the item at the location when needed. Returns the inventory level. Needs the write_inventory access scope on the Shopify app.
Cancel an order. Shopify cancels the order in the background, so the order shows as cancelled a moment later. Optionally restock the items and refund the payments.
Count the orders matching a Shopify search query and filters.
Fulfill an order: mark its items as shipped, with optional tracking information. Leave the line items empty to fulfill everything that is left. Returns the fulfillment. Needs the write_merchant_managed_fulfillment_orders access scope on the Shopify app.
Create an order, for example to record a sale made outside Shopify. Line items are product variants or custom items.
Refund line items (and shipping) of an order. Leave the line items empty to refund everything that can still be refunded. Returns the refund.
Delete an order. Shopify deletes only orders that are archived (closed) or cancelled, and orders created through the API.
Find orders matching a Shopify search query and filters. Returns up to 250 orders.
Mark an order as paid. Shopify records a manual payment of the outstanding amount, for example when the customer paid by bank transfer or cash. Returns the updated order.
Replace the tracking information (tracking number, carrier, tracking URL) of a fulfillment. Needs the write_merchant_managed_fulfillment_orders access scope on the Shopify app.
Update an order's contact details, note, tags, PO number or shipping address. Fields left empty are not changed.
Count the products that match a search query and filters.
Create a product, optionally with images and published to the Online Store.
Find products by a search query and filters. Returns at most 250 products. Each product carries up to 100 variants and 50 media.
Get a product with its variants (up to 250) and media (up to 250).
Update a product. Fields left empty keep their current values.
Run a payments report over a date range (net and gross payments and transaction count), optionally grouped by day, week or month.
Run a ShopifyQL query against the shop's analytics and return the resulting table (columns and rows).
Run a sales report over a date range (total, gross and net sales, orders, discounts, returns, taxes and average order value), optionally grouped by day, week or month.