Saleor

App · 30 actions

Work with your Saleor store: read the store and its channels, manage products, variants, prices and stock, organize categories and collections, manage customers, and read orders, add notes and start draft orders. Start workflows on new orders, customers and products.

Actions

ActionWhat it does
Add order noteAdd a staff note to an order's history.
Add product to collectionPut a product in a collection.
Create categoryCreate a category, at the top level or inside another category.
Create collectionCreate an empty collection.
Create customerCreate a customer account.
Create draft orderStart a draft order for one product variant in a channel.
Create productCreate a product of a product type.
Create product variantAdd a variant to a product, with a SKU and optionally starting stock in one warehouse.
Delete categoryDelete a category and the categories inside it.
Delete collectionDelete a collection.
Delete customerDelete a customer account.
Delete draft orderDelete a draft order.
Delete productDelete a product and all its variants.
Get customerGet one customer by their id or email address, with their default addresses and order count.
Get orderGet one order or draft order by its id or number, with its lines, addresses, totals and history.
Get productGet one product by its id or slug, with its category, collections, channel availability and variants.
Get product variantGet one variant by its id or SKU, with its price in each channel and its stock in each warehouse.
Get storeGet the store's name, Saleor version, sales channels (with their currency), warehouses and product types, and the app the token belongs to.
List categoriesList categories at every level, or only the top ones.
List collectionsList collections with how many products each holds.
List customersList customers, filtered by name or email words and by the date they joined.
List ordersList orders (or draft orders), filtered by status, channel, customer, words or the date they were placed.
List product variantsList product variants with their prices and stock, optionally those matching words or one product's. Gets one page; to see more, run it again with the next page cursor.
List productsList products, filtered by words, category, product type or collection.
Set product availabilityList a product in a sales channel and choose whether shoppers can see and buy it there, or remove it from the channel.
Set variant priceSet a variant's selling price, and optionally its cost, in a channel.
Set variant stockSet how many of a variant a warehouse holds.
Update customerChange a customer's email, name, note or whether the account is active.
Update productChange a product's name, description, category or slug.
Update product variantChange a variant's name, SKU or whether its stock is counted.

Add order note

Add a staff note to an order's history. Customers don't see it.

Inputs

OrderordertextRequired
The order's id or its number, such as 1042.
NotemessagetextRequired
What to write.

Outputs

noteobject
The note added
order_idtext
The order's id
Example output
{
  "note": {
    "date": "2026-11-17T15:46:58.833097+00:00",
    "id": "T3JkZXJFdmVudDo2",
    "message": "Called the customer",
    "type": "NOTE_ADDED",
    "user_email": ""
  },
  "order_id": "T3JkZXI6MDliOWY2NzktMTU5YS00NmJkLWEyNjYtOGIwOTBlOTVlODU4"
}

Add product to collection

Put a product in a collection.

Inputs

Collectioncollection_idtextRequired
The collection. Pick one, or give its id.
Product IDproduct_idtextRequired
The product's id, from 'List products' or an earlier step.

Outputs

collectionobject
The collection
Example output
{
  "collection": {
    "channels": [
      {
        "channel_slug": "default-channel",
        "is_published": true
      }
    ],
    "description": "Warm weather picks.",
    "id": "Q29sbGVjdGlvbjox",
    "name": "Summer",
    "product_count": 8,
    "slug": "summer"
  }
}

Create category

Create a category, at the top level or inside another category.

Inputs

NamenametextRequired
The category's name.
Parent categoryparent_idtext
Create it inside this category. Leave empty for the top level.
Descriptiondescriptiontext
Plain text. A blank line starts a new paragraph.
URL slugslugtext
The slug in the store's address. Saleor makes one from the name when blank.

Outputs

categoryobject
The category
Example output
{
  "category": {
    "description": "Clothing and accessories.",
    "id": "Q2F0ZWdvcnk6NDc=",
    "level": 0,
    "name": "Apparel",
    "parent": {
      "id": "Q2F0ZWdvcnk6MQ==",
      "name": "Default Category"
    },
    "product_count": 12,
    "slug": "apparel",
    "subcategory_count": 3,
    "updated_at": "2026-11-17T15:46:58.833097+00:00"
  }
}

Create collection

Create an empty collection. Use 'Add product to collection' to fill it.

Inputs

NamenametextRequired
The collection's name.
Descriptiondescriptiontext
Plain text. A blank line starts a new paragraph.
URL slugslugtext
The slug in the store's address. Saleor makes one from the name when blank.

Outputs

collectionobject
The collection
Example output
{
  "collection": {
    "channels": [
      {
        "channel_slug": "default-channel",
        "is_published": true
      }
    ],
    "description": "Warm weather picks.",
    "id": "Q29sbGVjdGlvbjox",
    "name": "Summer",
    "product_count": 8,
    "slug": "summer"
  }
}

Create customer

Create a customer account.

Inputs

EmailemailtextRequired
The customer's email address.
First namefirst_nametext
Their first name.
Last namelast_nametext
Their last name.
Notenotetext
A staff note about them.
Activeis_activetext
Whether they can sign in. Defaults to Yes.One of: yes, no.

Outputs

customerobject
The customer
Example output
{
  "customer": {
    "billing_address": {
      "city": "Austin",
      "company": "Acme",
      "country": "US",
      "country_area": "TX",
      "first_name": "Jo",
      "last_name": "Bloggs",
      "phone": "+15125550100",
      "postal_code": "78701",
      "street_1": "1 High Street",
      "street_2": ""
    },
    "date_joined": "2026-11-17T15:46:58.833097+00:00",
    "email": "jo@example.com",
    "external_reference": "",
    "first_name": "Jo",
    "id": "VXNlcjoxMDI=",
    "is_active": true,
    "last_login": "2026-11-17T15:46:58.833097+00:00",
    "last_name": "Bloggs",
    "note": "",
    "order_count": 3,
    "shipping_address": {
      "city": "Austin",
      "company": "Acme",
      "country": "US",
      "country_area": "TX",
      "first_name": "Jo",
      "last_name": "Bloggs",
      "phone": "+15125550100",
      "postal_code": "78701",
      "street_1": "1 High Street",
      "street_2": ""
    },
    "updated_at": "2026-11-17T15:46:58.833097+00:00"
  }
}

Create draft order

Start a draft order for one product variant in a channel. Nothing is charged or shipped: staff review and finish the draft in the Dashboard.

Inputs

ChannelchanneltextRequired
The sales channel. Pick one, or give its slug.
VariantvarianttextRequired
The variant's id or its SKU, from 'List product variants' or an earlier step.
Quantityquantitynumber
How many. Defaults to 1.At least 1.
Customer emailcustomer_emailtext
The email address the order is for.
Customer notecustomer_notetext
A note from the customer.

Outputs

orderobject
The order
Example output
{
  "order": {
    "billing_address": {
      "city": "Austin",
      "company": "Acme",
      "country": "US",
      "country_area": "TX",
      "first_name": "Jo",
      "last_name": "Bloggs",
      "phone": "+15125550100",
      "postal_code": "78701",
      "street_1": "1 High Street",
      "street_2": ""
    },
    "channel": {
      "currency": "USD",
      "id": "Q2hhbm5lbDox",
      "name": "Channel-USD",
      "slug": "default-channel"
    },
    "charge_status": "NONE",
    "created_at": "2026-11-17T15:46:58.833097+00:00",
    "currency": "USD",
    "customer": {
      "email": "jo@example.com",
      "id": "VXNlcjoxMDI="
    },
    "customer_email": "jo@example.com",
    "customer_note": "",
    "external_reference": "",
    "id": "T3JkZXI6MDliOWY2NzktMTU5YS00NmJkLWEyNjYtOGIwOTBlOTVlODU4",
    "is_paid": false,
    "lines": [
      {
        "id": "T3JkZXJMaW5lOmFlYmJkMmRj",
        "product_name": "Organic Cotton Tee",
        "quantity": 2,
        "sku": "TEE-M",
        "total_price": 49.0,
        "unit_price": 24.5,
        "variant_id": "UHJvZHVjdFZhcmlhbnQ6NDIy",
        "variant_name": "Medium"
      }
    ],
    "number": "22",
    "payment_status": "NOT_CHARGED",
    "shipping_address": {
      "city": "Austin",
      "company": "Acme",
      "country": "US",
      "country_area": "TX",
      "first_name": "Jo",
      "last_name": "Bloggs",
      "phone": "+15125550100",
      "postal_code": "78701",
      "street_1": "1 High Street",
      "street_2": ""
    },
    "shipping_price": 0.0,
    "status": "DRAFT",
    "status_label": "Draft",
    "subtotal": 49.0,
    "total": 49.0,
    "updated_at": "2026-11-17T15:46:58.833097+00:00",
    "voucher_code": ""
  }
}

Create product

Create a product of a product type. It is not on sale anywhere until you use 'Set product availability' and give its variants a price.

Inputs

NamenametextRequired
The product's name.
Product typeproduct_type_idtext
What kind of product it is. Pick one, or give its id. When empty, the store's first product type without variants or required attributes is used.
Categorycategory_idtext
The category. Pick one, or give its id.
Descriptiondescriptiontext
Plain text. A blank line starts a new paragraph.
URL slugslugtext
The slug in the store's address. Saleor makes one from the name when blank.

Outputs

productobject
The product
Example output
{
  "product": {
    "category": {
      "id": "Q2F0ZWdvcnk6NDc=",
      "name": "Apparel"
    },
    "channels": [
      {
        "channel_id": "Q2hhbm5lbDox",
        "channel_slug": "default-channel",
        "is_available_for_purchase": true,
        "is_published": true,
        "published_at": "2026-11-17T15:46:58.833097+00:00",
        "visible_in_listings": true
      }
    ],
    "collections": [
      {
        "id": "Q29sbGVjdGlvbjox",
        "name": "Summer"
      }
    ],
    "created_at": "2026-11-17T15:46:58.833097+00:00",
    "description": "A soft everyday tee.",
    "external_reference": "",
    "id": "UHJvZHVjdDoxNjU=",
    "name": "Organic Cotton Tee",
    "product_type": {
      "id": "UHJvZHVjdFR5cGU6MQ==",
      "name": "Default Type"
    },
    "slug": "organic-cotton-tee",
    "updated_at": "2026-11-17T15:46:58.833097+00:00",
    "variants": [
      {
        "id": "UHJvZHVjdFZhcmlhbnQ6NDIy",
        "name": "Medium",
        "sku": "TEE-M"
      }
    ]
  }
}

Create product variant

Add a variant to a product, with a SKU and optionally starting stock in one warehouse. Product types that require attribute values (such as a size) can't be filled in here.

Inputs

Product IDproduct_idtextRequired
The product's id, from 'List products' or an earlier step.
SKUskutext
The stock keeping unit, unique in the store.
Namenametext
The variant's name, such as Medium.
Count stocktrack_inventorytext
Whether Saleor stops selling at zero stock. Defaults to the store's setting.One of: yes, no.
Warehousewarehousetext
Where the starting stock is held. Pick one, or give its slug.
Starting stockquantitynumber
How many are held in that warehouse.At least 0.

Outputs

variantobject
The variant
Example output
{
  "variant": {
    "id": "UHJvZHVjdFZhcmlhbnQ6NDIy",
    "name": "Medium",
    "prices": [
      {
        "channel_name": "Channel-USD",
        "channel_slug": "default-channel",
        "cost_price": 9.0,
        "currency": "USD",
        "price": 24.5
      }
    ],
    "product": {
      "id": "UHJvZHVjdDoxNjU=",
      "name": "Organic Cotton Tee"
    },
    "sku": "TEE-M",
    "stocks": [
      {
        "quantity": 40,
        "quantity_allocated": 2,
        "warehouse_id": "V2FyZWhvdXNlOmExNzJmZDQ0",
        "warehouse_name": "Default Warehouse"
      }
    ],
    "track_inventory": true,
    "updated_at": "2026-11-17T15:46:58.833097+00:00"
  }
}

Delete category

Delete a category and the categories inside it. Its products stay, without a category. This can't be undone.

Inputs

Categorycategory_idtextRequired
The category. Pick one, or give its id.

Outputs

category_idtext
The category deleted
deletedtrue/false
Always true once deleted
nametext
Its name
Example output
{
  "category_id": "Q2F0ZWdvcnk6NDc=",
  "deleted": true,
  "name": "Apparel"
}

Delete collection

Delete a collection. Its products stay. This can't be undone.

Inputs

Collectioncollection_idtextRequired
The collection. Pick one, or give its id.

Outputs

collection_idtext
The collection deleted
deletedtrue/false
Always true once deleted
nametext
Its name
Example output
{
  "collection_id": "Q29sbGVjdGlvbjox",
  "deleted": true,
  "name": "Summer"
}

Delete customer

Delete a customer account. Their past orders stay. This can't be undone.

Inputs

Customer IDcustomer_idtextRequired
The customer's id, from 'List customers' or an earlier step.

Outputs

customer_idtext
The customer deleted
deletedtrue/false
Always true once deleted
emailtext
Their email address
Example output
{
  "customer_id": "VXNlcjoxMDI=",
  "deleted": true,
  "email": "jo@example.com"
}

Delete draft order

Delete a draft order. Saleor refuses to delete an order that has been placed.

Inputs

Order IDorder_idtextRequired
The draft order's id, from 'Create draft order'.

Outputs

deletedtrue/false
Always true once deleted
numbertext
Its order number
order_idtext
The draft order deleted
Example output
{
  "deleted": true,
  "number": "22",
  "order_id": "T3JkZXI6MDliOWY2NzktMTU5YS00NmJkLWEyNjYtOGIwOTBlOTVlODU4"
}

Delete product

Delete a product and all its variants. This can't be undone.

Inputs

Product IDproduct_idtextRequired
The product's id, from 'List products' or an earlier step.

Outputs

deletedtrue/false
Always true once deleted
nametext
Its name
product_idtext
The product deleted
Example output
{
  "deleted": true,
  "name": "Organic Cotton Tee",
  "product_id": "UHJvZHVjdDoxNjU="
}

Get customer

Get one customer by their id or email address, with their default addresses and order count.

Inputs

CustomercustomertextRequired
The customer's id or email address.

Outputs

customerobject
The customer
Example output
{
  "customer": {
    "billing_address": {
      "city": "Austin",
      "company": "Acme",
      "country": "US",
      "country_area": "TX",
      "first_name": "Jo",
      "last_name": "Bloggs",
      "phone": "+15125550100",
      "postal_code": "78701",
      "street_1": "1 High Street",
      "street_2": ""
    },
    "date_joined": "2026-11-17T15:46:58.833097+00:00",
    "email": "jo@example.com",
    "external_reference": "",
    "first_name": "Jo",
    "id": "VXNlcjoxMDI=",
    "is_active": true,
    "last_login": "2026-11-17T15:46:58.833097+00:00",
    "last_name": "Bloggs",
    "note": "",
    "order_count": 3,
    "shipping_address": {
      "city": "Austin",
      "company": "Acme",
      "country": "US",
      "country_area": "TX",
      "first_name": "Jo",
      "last_name": "Bloggs",
      "phone": "+15125550100",
      "postal_code": "78701",
      "street_1": "1 High Street",
      "street_2": ""
    },
    "updated_at": "2026-11-17T15:46:58.833097+00:00"
  }
}

Get order

Get one order or draft order by its id or number, with its lines, addresses, totals and history.

Inputs

OrderordertextRequired
The order's id or its number, such as 1042.

Outputs

orderobject
The order with its history
Example output
{
  "order": {
    "billing_address": {
      "city": "Austin",
      "company": "Acme",
      "country": "US",
      "country_area": "TX",
      "first_name": "Jo",
      "last_name": "Bloggs",
      "phone": "+15125550100",
      "postal_code": "78701",
      "street_1": "1 High Street",
      "street_2": ""
    },
    "channel": {
      "currency": "USD",
      "id": "Q2hhbm5lbDox",
      "name": "Channel-USD",
      "slug": "default-channel"
    },
    "charge_status": "NONE",
    "created_at": "2026-11-17T15:46:58.833097+00:00",
    "currency": "USD",
    "customer": {
      "email": "jo@example.com",
      "id": "VXNlcjoxMDI="
    },
    "customer_email": "jo@example.com",
    "customer_note": "",
    "events": [
      {
        "date": "2026-11-17T15:46:58.833097+00:00",
        "id": "T3JkZXJFdmVudDo2",
        "message": "Called the customer",
        "type": "NOTE_ADDED",
        "user_email": ""
      }
    ],
    "external_reference": "",
    "id": "T3JkZXI6MDliOWY2NzktMTU5YS00NmJkLWEyNjYtOGIwOTBlOTVlODU4",
    "is_paid": false,
    "lines": [
      {
        "id": "T3JkZXJMaW5lOmFlYmJkMmRj",
        "product_name": "Organic Cotton Tee",
        "quantity": 2,
        "sku": "TEE-M",
        "total_price": 49.0,
        "unit_price": 24.5,
        "variant_id": "UHJvZHVjdFZhcmlhbnQ6NDIy",
        "variant_name": "Medium"
      }
    ],
    "number": "22",
    "payment_status": "NOT_CHARGED",
    "shipping_address": {
      "city": "Austin",
      "company": "Acme",
      "country": "US",
      "country_area": "TX",
      "first_name": "Jo",
      "last_name": "Bloggs",
      "phone": "+15125550100",
      "postal_code": "78701",
      "street_1": "1 High Street",
      "street_2": ""
    },
    "shipping_price": 0.0,
    "status": "UNFULFILLED",
    "status_label": "Unfulfilled",
    "subtotal": 49.0,
    "total": 49.0,
    "updated_at": "2026-11-17T15:46:58.833097+00:00",
    "voucher_code": ""
  }
}

Get product

Get one product by its id or slug, with its category, collections, channel availability and variants.

Inputs

ProductproducttextRequired
The product's id or its slug, from 'List products' or an earlier step.

Outputs

productobject
The product
Example output
{
  "product": {
    "category": {
      "id": "Q2F0ZWdvcnk6NDc=",
      "name": "Apparel"
    },
    "channels": [
      {
        "channel_id": "Q2hhbm5lbDox",
        "channel_slug": "default-channel",
        "is_available_for_purchase": true,
        "is_published": true,
        "published_at": "2026-11-17T15:46:58.833097+00:00",
        "visible_in_listings": true
      }
    ],
    "collections": [
      {
        "id": "Q29sbGVjdGlvbjox",
        "name": "Summer"
      }
    ],
    "created_at": "2026-11-17T15:46:58.833097+00:00",
    "description": "A soft everyday tee.",
    "external_reference": "",
    "id": "UHJvZHVjdDoxNjU=",
    "name": "Organic Cotton Tee",
    "product_type": {
      "id": "UHJvZHVjdFR5cGU6MQ==",
      "name": "Default Type"
    },
    "slug": "organic-cotton-tee",
    "updated_at": "2026-11-17T15:46:58.833097+00:00",
    "variants": [
      {
        "id": "UHJvZHVjdFZhcmlhbnQ6NDIy",
        "name": "Medium",
        "sku": "TEE-M"
      }
    ]
  }
}

Get product variant

Get one variant by its id or SKU, with its price in each channel and its stock in each warehouse.

Inputs

VariantvarianttextRequired
The variant's id or its SKU, from 'List product variants' or an earlier step.

Outputs

variantobject
The variant
Example output
{
  "variant": {
    "id": "UHJvZHVjdFZhcmlhbnQ6NDIy",
    "name": "Medium",
    "prices": [
      {
        "channel_name": "Channel-USD",
        "channel_slug": "default-channel",
        "cost_price": 9.0,
        "currency": "USD",
        "price": 24.5
      }
    ],
    "product": {
      "id": "UHJvZHVjdDoxNjU=",
      "name": "Organic Cotton Tee"
    },
    "sku": "TEE-M",
    "stocks": [
      {
        "quantity": 40,
        "quantity_allocated": 2,
        "warehouse_id": "V2FyZWhvdXNlOmExNzJmZDQ0",
        "warehouse_name": "Default Warehouse"
      }
    ],
    "track_inventory": true,
    "updated_at": "2026-11-17T15:46:58.833097+00:00"
  }
}

Get store

Get the store's name, Saleor version, sales channels (with their currency), warehouses and product types, and the app the token belongs to.

Inputs

None.

Outputs

appobject
The Saleor app the token belongs to
channelslist
The sales channels
displays_gross_pricestrue/false
Whether prices are shown with tax
nametext
The store's name
product_typeslist
The product types products are made from
tracks_inventory_by_defaulttrue/false
Whether new variants count their stock
versiontext
The Saleor version
warehouseslist
The warehouses stock is held in
Example output
{
  "app": {
    "id": "QXBwOjE=",
    "name": "Lodol"
  },
  "channels": [
    {
      "currency": "USD",
      "default_country": "US",
      "id": "Q2hhbm5lbDox",
      "is_active": true,
      "name": "Channel-USD",
      "slug": "default-channel"
    }
  ],
  "displays_gross_prices": true,
  "name": "Saleor e-commerce",
  "product_types": [
    {
      "has_variants": false,
      "id": "UHJvZHVjdFR5cGU6MQ==",
      "name": "Default Type"
    }
  ],
  "tracks_inventory_by_default": true,
  "version": "3.23.50",
  "warehouses": [
    {
      "id": "V2FyZWhvdXNlOmExNzJmZDQ0",
      "name": "Default Warehouse",
      "slug": "default-warehouse"
    }
  ]
}

List categories

List categories at every level, or only the top ones. Gets one page; to see more, run it again with the next page cursor.

Inputs

Searchsearchtext
Only those matching these words.
Top level onlytop_level_onlytext
Choose Yes to leave out subcategories.One of: yes, no.
Page sizelimitnumber
How many to return, 1 to 100. The default is 20.From 1 to 100.
Next page cursoraftertext
The 'next_cursor' from an earlier page, to get the page after it.

Outputs

categorieslist
The categories
countnumber
How many came back on this page
has_next_pagetrue/false
Whether there is another page
next_cursortext
Pass as 'Next page cursor' to get the next page; empty on the last
total_countnumber
How many match in all
Example output
{
  "categories": [
    {
      "description": "Clothing and accessories.",
      "id": "Q2F0ZWdvcnk6NDc=",
      "level": 0,
      "name": "Apparel",
      "parent": {
        "id": "Q2F0ZWdvcnk6MQ==",
        "name": "Default Category"
      },
      "product_count": 12,
      "slug": "apparel",
      "subcategory_count": 3,
      "updated_at": "2026-11-17T15:46:58.833097+00:00"
    }
  ],
  "count": 1,
  "has_next_page": false,
  "next_cursor": "",
  "total_count": 1
}

List collections

List collections with how many products each holds. Gets one page; to see more, run it again with the next page cursor.

Inputs

Searchsearchtext
Only those matching these words.
Page sizelimitnumber
How many to return, 1 to 100. The default is 20.From 1 to 100.
Next page cursoraftertext
The 'next_cursor' from an earlier page, to get the page after it.

Outputs

collectionslist
The collections
countnumber
How many came back on this page
has_next_pagetrue/false
Whether there is another page
next_cursortext
Pass as 'Next page cursor' to get the next page; empty on the last
total_countnumber
How many match in all
Example output
{
  "collections": [
    {
      "channels": [
        {
          "channel_slug": "default-channel",
          "is_published": true
        }
      ],
      "description": "Warm weather picks.",
      "id": "Q29sbGVjdGlvbjox",
      "name": "Summer",
      "product_count": 8,
      "slug": "summer"
    }
  ],
  "count": 1,
  "has_next_page": false,
  "next_cursor": "",
  "total_count": 1
}

List customers

List customers, filtered by name or email words and by the date they joined. Gets one page; to see more, run it again with the next page cursor.

Inputs

Searchsearchtext
Only those matching these words.
Joined on or afterjoined_fromdate
Only customers who joined on or after this date.
Joined on or beforejoined_todate
Only customers who joined on or before this date.
Ordersorttext
How to sort. Newest first when blank.One of: created_desc (Newest first (default)), created_asc (Oldest first), email_asc (Email, A to Z), orders_desc (Most orders first).
Page sizelimitnumber
How many to return, 1 to 100. The default is 20.From 1 to 100.
Next page cursoraftertext
The 'next_cursor' from an earlier page, to get the page after it.

Outputs

countnumber
How many came back on this page
customerslist
The customers
has_next_pagetrue/false
Whether there is another page
next_cursortext
Pass as 'Next page cursor' to get the next page; empty on the last
total_countnumber
How many match in all
Example output
{
  "count": 1,
  "customers": [
    {
      "billing_address": {
        "city": "Austin",
        "company": "Acme",
        "country": "US",
        "country_area": "TX",
        "first_name": "Jo",
        "last_name": "Bloggs",
        "phone": "+15125550100",
        "postal_code": "78701",
        "street_1": "1 High Street",
        "street_2": ""
      },
      "date_joined": "2026-11-17T15:46:58.833097+00:00",
      "email": "jo@example.com",
      "external_reference": "",
      "first_name": "Jo",
      "id": "VXNlcjoxMDI=",
      "is_active": true,
      "last_login": "2026-11-17T15:46:58.833097+00:00",
      "last_name": "Bloggs",
      "note": "",
      "order_count": 3,
      "shipping_address": {
        "city": "Austin",
        "company": "Acme",
        "country": "US",
        "country_area": "TX",
        "first_name": "Jo",
        "last_name": "Bloggs",
        "phone": "+15125550100",
        "postal_code": "78701",
        "street_1": "1 High Street",
        "street_2": ""
      },
      "updated_at": "2026-11-17T15:46:58.833097+00:00"
    }
  ],
  "has_next_page": false,
  "next_cursor": "",
  "total_count": 1
}

List orders

List orders (or draft orders), filtered by status, channel, customer, words or the date they were placed. Gets one page; to see more, run it again with the next page cursor.

Inputs

Statusstatustext
Which orders. Any placed order (not a draft) when blank.One of: any (Any placed order (default)), draft, unconfirmed, unfulfilled, partially_fulfilled (Partially fulfilled), fulfilled, canceled, ready_to_fulfill (Ready to fulfill), ready_to_capture (Ready to capture).
Channelchanneltext
Only orders placed in this channel.
Customercustomertext
Only orders whose customer's name or email matches this.
Searchsearchtext
Only those matching these words.
Placed on or aftercreated_fromdate
Only orders placed on or after this date.
Placed on or beforecreated_todate
Only orders placed on or before this date.
Ordersorttext
How to sort. Newest first when blank.One of: created_desc (Newest first (default)), created_asc (Oldest first).
Page sizelimitnumber
How many to return, 1 to 100. The default is 20.From 1 to 100.
Next page cursoraftertext
The 'next_cursor' from an earlier page, to get the page after it.

Outputs

countnumber
How many came back on this page
has_next_pagetrue/false
Whether there is another page
next_cursortext
Pass as 'Next page cursor' to get the next page; empty on the last
orderslist
The orders
total_countnumber
How many match in all
Example output
{
  "count": 1,
  "has_next_page": false,
  "next_cursor": "",
  "orders": [
    {
      "billing_address": {
        "city": "Austin",
        "company": "Acme",
        "country": "US",
        "country_area": "TX",
        "first_name": "Jo",
        "last_name": "Bloggs",
        "phone": "+15125550100",
        "postal_code": "78701",
        "street_1": "1 High Street",
        "street_2": ""
      },
      "channel": {
        "currency": "USD",
        "id": "Q2hhbm5lbDox",
        "name": "Channel-USD",
        "slug": "default-channel"
      },
      "charge_status": "NONE",
      "created_at": "2026-11-17T15:46:58.833097+00:00",
      "currency": "USD",
      "customer": {
        "email": "jo@example.com",
        "id": "VXNlcjoxMDI="
      },
      "customer_email": "jo@example.com",
      "customer_note": "",
      "external_reference": "",
      "id": "T3JkZXI6MDliOWY2NzktMTU5YS00NmJkLWEyNjYtOGIwOTBlOTVlODU4",
      "is_paid": false,
      "lines": [
        {
          "id": "T3JkZXJMaW5lOmFlYmJkMmRj",
          "product_name": "Organic Cotton Tee",
          "quantity": 2,
          "sku": "TEE-M",
          "total_price": 49.0,
          "unit_price": 24.5,
          "variant_id": "UHJvZHVjdFZhcmlhbnQ6NDIy",
          "variant_name": "Medium"
        }
      ],
      "number": "22",
      "payment_status": "NOT_CHARGED",
      "shipping_address": {
        "city": "Austin",
        "company": "Acme",
        "country": "US",
        "country_area": "TX",
        "first_name": "Jo",
        "last_name": "Bloggs",
        "phone": "+15125550100",
        "postal_code": "78701",
        "street_1": "1 High Street",
        "street_2": ""
      },
      "shipping_price": 0.0,
      "status": "UNFULFILLED",
      "status_label": "Unfulfilled",
      "subtotal": 49.0,
      "total": 49.0,
      "updated_at": "2026-11-17T15:46:58.833097+00:00",
      "voucher_code": ""
    }
  ],
  "total_count": 1
}

List product variants

List product variants with their prices and stock, optionally those matching words or one product's. Gets one page; to see more, run it again with the next page cursor.

Inputs

Searchsearchtext
Only those matching these words.
Product IDproduct_idtext
Only this product's variants, among the page of results.
Page sizelimitnumber
How many to return, 1 to 100. The default is 20.From 1 to 100.
Next page cursoraftertext
The 'next_cursor' from an earlier page, to get the page after it.

Outputs

countnumber
How many came back on this page
has_next_pagetrue/false
Whether there is another page
next_cursortext
Pass as 'Next page cursor' to get the next page; empty on the last
total_countnumber
How many match in all
variantslist
The variants
Example output
{
  "count": 1,
  "has_next_page": false,
  "next_cursor": "",
  "total_count": 1,
  "variants": [
    {
      "id": "UHJvZHVjdFZhcmlhbnQ6NDIy",
      "name": "Medium",
      "prices": [
        {
          "channel_name": "Channel-USD",
          "channel_slug": "default-channel",
          "cost_price": 9.0,
          "currency": "USD",
          "price": 24.5
        }
      ],
      "product": {
        "id": "UHJvZHVjdDoxNjU=",
        "name": "Organic Cotton Tee"
      },
      "sku": "TEE-M",
      "stocks": [
        {
          "quantity": 40,
          "quantity_allocated": 2,
          "warehouse_id": "V2FyZWhvdXNlOmExNzJmZDQ0",
          "warehouse_name": "Default Warehouse"
        }
      ],
      "track_inventory": true,
      "updated_at": "2026-11-17T15:46:58.833097+00:00"
    }
  ]
}

List products

List products, filtered by words, category, product type or collection. Gets one page; to see more, run it again with the next page cursor.

Inputs

Searchsearchtext
Only those matching these words.
Categorycategory_idtext
Only products in this category.
Product typeproduct_type_idtext
Only products of this type.
Collectioncollection_idtext
Only products in this collection.
Ordersorttext
How to sort. Newest first when blank and nothing is searched for.One of: created_desc (Newest first (default)), created_asc (Oldest first), name_asc (Name, A to Z), name_desc (Name, Z to A), updated_desc (Recently changed first).
Page sizelimitnumber
How many to return, 1 to 100. The default is 20.From 1 to 100.
Next page cursoraftertext
The 'next_cursor' from an earlier page, to get the page after it.

Outputs

countnumber
How many came back on this page
has_next_pagetrue/false
Whether there is another page
next_cursortext
Pass as 'Next page cursor' to get the next page; empty on the last
productslist
The products
total_countnumber
How many match in all
Example output
{
  "count": 1,
  "has_next_page": false,
  "next_cursor": "",
  "products": [
    {
      "category": {
        "id": "Q2F0ZWdvcnk6NDc=",
        "name": "Apparel"
      },
      "channels": [
        {
          "channel_id": "Q2hhbm5lbDox",
          "channel_slug": "default-channel",
          "is_available_for_purchase": true,
          "is_published": true,
          "published_at": "2026-11-17T15:46:58.833097+00:00",
          "visible_in_listings": true
        }
      ],
      "collections": [
        {
          "id": "Q29sbGVjdGlvbjox",
          "name": "Summer"
        }
      ],
      "created_at": "2026-11-17T15:46:58.833097+00:00",
      "description": "A soft everyday tee.",
      "external_reference": "",
      "id": "UHJvZHVjdDoxNjU=",
      "name": "Organic Cotton Tee",
      "product_type": {
        "id": "UHJvZHVjdFR5cGU6MQ==",
        "name": "Default Type"
      },
      "slug": "organic-cotton-tee",
      "updated_at": "2026-11-17T15:46:58.833097+00:00",
      "variants": [
        {
          "id": "UHJvZHVjdFZhcmlhbnQ6NDIy",
          "name": "Medium",
          "sku": "TEE-M"
        }
      ]
    }
  ],
  "total_count": 1
}

Set product availability

List a product in a sales channel and choose whether shoppers can see and buy it there, or remove it from the channel. A variant needs a price in the channel before it can be bought.

Inputs

Product IDproduct_idtextRequired
The product's id, from 'List products' or an earlier step.
ChannelchanneltextRequired
The sales channel. Pick one, or give its slug.
Publishedis_publishedtext
Whether shoppers can see it. Defaults to Yes.One of: yes, no.
Shown in listsvisible_in_listingstext
Whether it appears in category and search lists. Defaults to Yes.One of: yes, no.
Available to buyis_available_for_purchasetext
Whether it can be bought now. Defaults to Yes.One of: yes, no.
Publish atpublish_atdate and time
Publish at this date and time instead of now.
Remove from channelremovetext
Choose Yes to take the product out of this channel; the other settings are then ignored.One of: yes, no.

Outputs

productobject
The product
Example output
{
  "product": {
    "category": {
      "id": "Q2F0ZWdvcnk6NDc=",
      "name": "Apparel"
    },
    "channels": [
      {
        "channel_id": "Q2hhbm5lbDox",
        "channel_slug": "default-channel",
        "is_available_for_purchase": true,
        "is_published": true,
        "published_at": "2026-11-17T15:46:58.833097+00:00",
        "visible_in_listings": true
      }
    ],
    "collections": [
      {
        "id": "Q29sbGVjdGlvbjox",
        "name": "Summer"
      }
    ],
    "created_at": "2026-11-17T15:46:58.833097+00:00",
    "description": "A soft everyday tee.",
    "external_reference": "",
    "id": "UHJvZHVjdDoxNjU=",
    "name": "Organic Cotton Tee",
    "product_type": {
      "id": "UHJvZHVjdFR5cGU6MQ==",
      "name": "Default Type"
    },
    "slug": "organic-cotton-tee",
    "updated_at": "2026-11-17T15:46:58.833097+00:00",
    "variants": [
      {
        "id": "UHJvZHVjdFZhcmlhbnQ6NDIy",
        "name": "Medium",
        "sku": "TEE-M"
      }
    ]
  }
}

Set variant price

Set a variant's selling price, and optionally its cost, in a channel. The product must already be listed in the channel (see 'Set product availability').

Inputs

VariantvarianttextRequired
The variant's id or its SKU, from 'List product variants' or an earlier step.
ChannelchanneltextRequired
The sales channel. Pick one, or give its slug.
PricepricenumberRequired
The selling price in the channel's currency.At least 0.
Cost pricecost_pricenumber
What the variant costs you, for reports.At least 0.

Outputs

variantobject
The variant
Example output
{
  "variant": {
    "id": "UHJvZHVjdFZhcmlhbnQ6NDIy",
    "name": "Medium",
    "prices": [
      {
        "channel_name": "Channel-USD",
        "channel_slug": "default-channel",
        "cost_price": 9.0,
        "currency": "USD",
        "price": 24.5
      }
    ],
    "product": {
      "id": "UHJvZHVjdDoxNjU=",
      "name": "Organic Cotton Tee"
    },
    "sku": "TEE-M",
    "stocks": [
      {
        "quantity": 40,
        "quantity_allocated": 2,
        "warehouse_id": "V2FyZWhvdXNlOmExNzJmZDQ0",
        "warehouse_name": "Default Warehouse"
      }
    ],
    "track_inventory": true,
    "updated_at": "2026-11-17T15:46:58.833097+00:00"
  }
}

Set variant stock

Set how many of a variant a warehouse holds. This replaces the count; it does not add to it.

Inputs

VariantvarianttextRequired
The variant's id or its SKU, from 'List product variants' or an earlier step.
WarehousewarehousetextRequired
The warehouse. Pick one, or give its slug.
QuantityquantitynumberRequired
How many are held.At least 0.

Outputs

variantobject
The variant
Example output
{
  "variant": {
    "id": "UHJvZHVjdFZhcmlhbnQ6NDIy",
    "name": "Medium",
    "prices": [
      {
        "channel_name": "Channel-USD",
        "channel_slug": "default-channel",
        "cost_price": 9.0,
        "currency": "USD",
        "price": 24.5
      }
    ],
    "product": {
      "id": "UHJvZHVjdDoxNjU=",
      "name": "Organic Cotton Tee"
    },
    "sku": "TEE-M",
    "stocks": [
      {
        "quantity": 40,
        "quantity_allocated": 2,
        "warehouse_id": "V2FyZWhvdXNlOmExNzJmZDQ0",
        "warehouse_name": "Default Warehouse"
      }
    ],
    "track_inventory": true,
    "updated_at": "2026-11-17T15:46:58.833097+00:00"
  }
}

Update customer

Change a customer's email, name, note or whether the account is active. Only the fields given change.

Inputs

Customer IDcustomer_idtextRequired
The customer's id, from 'List customers' or an earlier step.
Emailemailtext
A new email address. Leave empty to keep it.
First namefirst_nametext
A new first name. Leave empty to keep it.
Last namelast_nametext
A new last name. Leave empty to keep it.
Notenotetext
A new staff note. Leave empty to keep it.
Activeis_activetext
Leave empty to keep the current setting.One of: yes, no.

Outputs

customerobject
The customer
Example output
{
  "customer": {
    "billing_address": {
      "city": "Austin",
      "company": "Acme",
      "country": "US",
      "country_area": "TX",
      "first_name": "Jo",
      "last_name": "Bloggs",
      "phone": "+15125550100",
      "postal_code": "78701",
      "street_1": "1 High Street",
      "street_2": ""
    },
    "date_joined": "2026-11-17T15:46:58.833097+00:00",
    "email": "jo@example.com",
    "external_reference": "",
    "first_name": "Jo",
    "id": "VXNlcjoxMDI=",
    "is_active": true,
    "last_login": "2026-11-17T15:46:58.833097+00:00",
    "last_name": "Bloggs",
    "note": "",
    "order_count": 3,
    "shipping_address": {
      "city": "Austin",
      "company": "Acme",
      "country": "US",
      "country_area": "TX",
      "first_name": "Jo",
      "last_name": "Bloggs",
      "phone": "+15125550100",
      "postal_code": "78701",
      "street_1": "1 High Street",
      "street_2": ""
    },
    "updated_at": "2026-11-17T15:46:58.833097+00:00"
  }
}

Update product

Change a product's name, description, category or slug. Only the fields given change.

Inputs

Product IDproduct_idtextRequired
The product's id, from 'List products' or an earlier step.
Namenametext
A new name. Leave empty to keep it.
Descriptiondescriptiontext
A new description as plain text. Leave empty to keep it.
Categorycategory_idtext
Move it to this category. Leave empty to keep it.
URL slugslugtext
A new slug. Leave empty to keep it.

Outputs

productobject
The product
Example output
{
  "product": {
    "category": {
      "id": "Q2F0ZWdvcnk6NDc=",
      "name": "Apparel"
    },
    "channels": [
      {
        "channel_id": "Q2hhbm5lbDox",
        "channel_slug": "default-channel",
        "is_available_for_purchase": true,
        "is_published": true,
        "published_at": "2026-11-17T15:46:58.833097+00:00",
        "visible_in_listings": true
      }
    ],
    "collections": [
      {
        "id": "Q29sbGVjdGlvbjox",
        "name": "Summer"
      }
    ],
    "created_at": "2026-11-17T15:46:58.833097+00:00",
    "description": "A soft everyday tee.",
    "external_reference": "",
    "id": "UHJvZHVjdDoxNjU=",
    "name": "Organic Cotton Tee",
    "product_type": {
      "id": "UHJvZHVjdFR5cGU6MQ==",
      "name": "Default Type"
    },
    "slug": "organic-cotton-tee",
    "updated_at": "2026-11-17T15:46:58.833097+00:00",
    "variants": [
      {
        "id": "UHJvZHVjdFZhcmlhbnQ6NDIy",
        "name": "Medium",
        "sku": "TEE-M"
      }
    ]
  }
}

Update product variant

Change a variant's name, SKU or whether its stock is counted. Only the fields given change.

Inputs

VariantvarianttextRequired
The variant's id or its SKU, from 'List product variants' or an earlier step.
Namenametext
A new name. Leave empty to keep it.
SKUskutext
A new SKU. Leave empty to keep it.
Count stocktrack_inventorytext
Leave empty to keep the current setting.One of: yes, no.

Outputs

variantobject
The variant
Example output
{
  "variant": {
    "id": "UHJvZHVjdFZhcmlhbnQ6NDIy",
    "name": "Medium",
    "prices": [
      {
        "channel_name": "Channel-USD",
        "channel_slug": "default-channel",
        "cost_price": 9.0,
        "currency": "USD",
        "price": 24.5
      }
    ],
    "product": {
      "id": "UHJvZHVjdDoxNjU=",
      "name": "Organic Cotton Tee"
    },
    "sku": "TEE-M",
    "stocks": [
      {
        "quantity": 40,
        "quantity_allocated": 2,
        "warehouse_id": "V2FyZWhvdXNlOmExNzJmZDQ0",
        "warehouse_name": "Default Warehouse"
      }
    ],
    "track_inventory": true,
    "updated_at": "2026-11-17T15:46:58.833097+00:00"
  }
}

On this page