API reference · Area

Catalog

Use Read the catalog to read catalog data and Change the catalog to update it. Add an image from a link with POST /files and check stock at each location with GET /inventory. The store can have up to 500 categories, including subcategories. Exceeding this limit returns 422 CAP_REACHED.

34 endpointsSome endpoints are in preview
Required permissionsRead the catalogChange the catalogDelete recordsCreate and change quotesChange ordersCreate and change customersChange settings

Choose how to work with products

Identify the product type

Use product templates for made-to-order products, including their options and prices. They’re separate from Shopify products.

Prepare imports for review

Only OrderPilot’s data migration connection can import Shopify products directly. With any other key, send a products import draft for review. Trying to import directly returns 403 IMPORT_NEEDS_REVIEW.

Find records

20 endpoints
GET/bundlesList bundlesThe store’s option bundles (Settings › Options › Bundles), oldest first: named sets of options that templates follow, with how many templates follow…Read the catalogGET/bundles/{id}Get a bundleOne bundle with its options in order (required, the values it offers, its rules) and the templates following it (whether each changed something the…Read the catalogGET/categoriesList categoriesReturns every category in one alphabetical list, with each category’s parent, level, full label and rules for additional terms, signatures and…Any ofRead the catalogChange the catalogGET/categories/{id}Get a categoryReturns a category’s details.Any ofRead the catalogChange the catalogGET/filesList Shopify FilesThe store’s Shopify Files, newest first, as the app’s file picker browses them: each file’s Shopify id, kind, URL and alt text.Any ofRead the catalogChange the catalogCreate and change quotesChange ordersCreate and change customersChange settingsGET/files/{id}Get an uploaded imageReturns the processing status of an image uploaded through POST /files, with its Shopify Files URL once ready.Any ofRead the catalogChange the catalogCreate and change quotesChange ordersCreate and change customersChange settingsGET/inventoryGet stock by locationReturns live Shopify stock for each inventory_item_id from GET /products/{id}: available and total quantities at location_id or across active…Read the catalogGET/optionsList optionsReturns your store’s shared product options alphabetically, with each option’s value count, excluding costs.Read the catalogGET/options/{id}Get an optionReturns an option with up to 500 values, including each label and base price; templates can set their own prices.Read the catalogGET/options/{id}/usageSee where an option is usedWhere an option is used, as its editor’s side panel lists it: the bundles it is in and the templates it is attached to (the first 5 of each by name…Read the catalogGET/product-categoriesSearch Shopify product categoriesReturns active Shopify product categories matching q, best match first, for a product import’s category_id or a template’s tax category; excluding…Any ofRead the catalogChange the catalogGET/product-spec-entriesList spec designers or finishesThe store’s product spec designers or finishes (Shopify metaobject entries), every one A–Z, as the spec pickers list them: what a product’s spec sheet…Read the catalogGET/productsList Shopify productsReturns your store’s Shopify products live, newest first, with kind: shopify_product.Read the catalogGET/products/facetsList a Shopify product filter’s valuesOne filter’s values for the store’s Shopify products, as the product picker’s filter menus show them: the vendors, product types, tags, collections or…Read the catalogGET/products/imports/{id}Get a product importReturns an import’s status and counts, with each item’s status, Shopify product ID and any refusal or failure reason.Any ofRead the catalogChange the catalogGET/products/{id}Get a Shopify productReturns a Shopify product, including an archived product, with its options and first 100 variants; variants_truncated indicates more variants exist.Read the catalogGET/products/{id}/compositionSee a product’s compositionA Shopify product’s composition, as the order screens read it when it is picked: a composition (is_composition) is sold as its pieces, each with its…Read the catalogGET/products/{id}/requirementsSee a product’s requirementsA Shopify product’s own signature and deposit before an order is placed, as the OrderPilot block on its page in Shopify admin reads them: null follows…Any ofRead the catalogChange the catalogGET/products/{id}/spec-fieldsSee a product’s spec valuesA Shopify product’s spec values as an order line reads them (its spec metafields: “Wood finish: Walnut”), which the order screens prefill a line’s…Read the catalogGET/products/{id}/spec-sheetGet a product’s spec sheetA Shopify product’s spec sheet PDF for one location (its address and look), as the product page’s Spec sheet action makes it: url is a link to the PDF…Read the catalog

Create records

5 endpoints

Record actions

1 endpoints

Update or delete records

8 endpoints
PATCH/bundles/{id}Change a bundleRename a bundle, change its description or the order of its options.Change the catalogDELETE/bundles/{id}Delete a bundleDelete a bundle, as Settings › Options › Bundles does: every template following it keeps the options it changed as its own and loses the ones it never…Change the catalogAndDelete recordsPATCH/bundles/{id}/options/{fieldId}Change a bundle’s optionChange what a bundle sets for one of its options: required, the values it offers, its rules.Change the catalogDELETE/bundles/{id}/options/{fieldId}Remove an option from a bundleTake an option out of a bundle: templates following it lose the option where they never changed it and keep it as their own where they did.Change the catalogPATCH/categories/{id}Change a categoryUpdates only the supplied fields; parent_id moves the category and its subcategories, or null moves it to the top level.Change the catalogDELETE/categories/{id}Delete a categoryDeletes a category with its warranty rules and activity, moves its subcategories to the top level and removes it from its templates; their Shopify…Change the catalogAndDelete recordsPATCH/options/{id}Change an optionChange an option of the library, as its editor saves it: its settings, its values (edited in place by option_id, new ones added, remove_option_ids…Change the catalogPATCH/products/{id}/requirementsChange a product’s requirementsSet a Shopify product’s own signature and deposit before an order is placed, as its page’s OrderPilot block saves them: requires_signature true or…Change the catalog

Stuck?

Chip, the OrderPilot beaver

Send us your request, the response and the time you sent it. Remove your key before sharing.

Email support[email protected]