REST API

Read customized orders, designs with images and published customizers from your own systems, set production status, and manage API tokens.

The REST API gives your production software, ERP or reporting tools the full design behind every configured order, and lets them move orders through production. JSON over HTTPS, API version 2026-10. The same objects arrive in webhooks. The API is part of the Pro and Plus plans.

A machine-readable description of every endpoint is at /docs/openapi.json (OpenAPI 3.1), for Postman, Insomnia or code generators.

Base URL and authentication

https://app.moddifystudio.com/api/v1

Every request needs an API token, sent as a Bearer token:

curl -H "Authorization: Bearer cmz_YOUR_TOKEN" \
  "https://app.moddifystudio.com/api/v1/orders?limit=10"

API tokens

Create tokens in the app under Settings → Developers → API tokens:

  1. Give the token a name that says what uses it, for example Katana sync.
  2. Pick the access: Read only for every GET endpoint, or Read and write to also set an order's production status.
  3. Pick when it expires: never, or in 30 days, 90 days or a year.
  4. Click Create token and copy it. Tokens start with cmz_ and are shown only once; we store a hash, not the token.

The same page lists every token with its access, expiry date and when it was last used. Regenerate gives a token a new secret and the old one stops working at once (name, access and expiry stay), for example after a developer leaves. Revoke deletes it. Each token belongs to one store and only sees that store's data. Use one token per system, so you can revoke one without touching the others.

Limits and conventions

  • Rate limit: 120 requests a minute per token, then 429.
  • Money: always integer minor units (cents) in the shop currency.
  • Times: ISO 8601 with a time zone.
  • Ids: order ids are Shopify's numeric order ids, as strings. Design ids are 26-character ids.

Errors

Errors come back as JSON {"message": "..."}, with errors per field on 422.

Status When
401 Missing, unknown, revoked or expired token
403 The token is read-only and the call writes, or the store's plan doesn't include the API
404 Not found in your store
409 The order was cancelled, so its production status can't change
422 The request body is invalid
429 Over the rate limit; wait a minute

Objects

Design

One buyer configuration. It is frozen once ordered.

{
  "id": "01JB2X7M0N8Q4R5S6T7V8W9XYZ",
  "status": "ordered",
  "customizer": { "id": 12, "title": "Custom sneaker", "version": 3 },
  "order": { "id": "5551234567890", "name": "#1001", "lineItemId": "13579" },
  "quantity": 1,
  "cancelledQuantity": 0,
  "discount": 0,
  "selection": { "upper": "forest", "extras": ["heeltab", "collar"], "initials": { "text": "AK" } },
  "summary": [
    { "key": "UPPER", "value": "Forest" },
    { "key": "EXTRAS", "value": ["Reflective heel tab", "Coral collar lining"] }
  ],
  "productionData": [
    { "key": "UPPER", "value": "SNK-UP-FOREST", "ref": { "questionId": "upper", "answerId": "forest" } },
    { "key": "EXTRAS", "values": ["SNK-X-HEELTAB", "SNK-X-COLLAR"], "ref": { "questionId": "extras", "answerIds": ["heeltab", "collar"] } },
    { "key": "INITIALS", "value": "AK" }
  ],
  "price": {
    "base": 8900,
    "lines": [ { "q": "extras", "a": "heeltab", "amount": 800, "variantId": null } ],
    "rounding": 0,
    "total": 12500,
    "currency": "USD"
  },
  "images": { "side": "https://.../design-images/01JB2X.../side.webp" },
  "thumbnail": "https://.../design-images/01JB2X.../thumb.webp",
  "createdAt": "2026-10-19T10:15:00+00:00",
  "orderedAt": "2026-10-19T10:20:31+00:00",
  "fulfilledAt": null,
  "cancelledAt": null
}
  • status is draft (saved on the storefront, never ordered), ordered or cancelled. order is null until the design is ordered.
  • summary uses the answers' order values; productionData uses their production codes. Both follow question order and skip hidden questions. Multiple choice answers use a list (value in summary, values in productionData).
  • selection is the raw choice by question and answer id. Uploads appear as upload ids.
  • quantity is the line's quantity in the order, cancelledQuantity how many of them were refunded or cancelled, and discount the order discounts on the line, in cents.
  • images has one stable URL per view and thumbnail a small version of the first view. The URLs stay the same if an image is rendered again.

Order

All designs of one Shopify order.

{
  "id": "5551234567890",
  "name": "#1001",
  "status": "ordered",
  "financialStatus": "paid",
  "fulfillmentStatus": null,
  "productionStatus": null,
  "currency": "USD",
  "total": 18990,
  "orderedAt": "2026-10-19T10:20:31+00:00",
  "dueDate": "2026-10-22",
  "late": false,
  "designs": [ { "id": "01JB2X...", "...": "Design" } ]
}

status is ordered or cancelled. financialStatus is Shopify's payment status (paid, pending, refunded, partially_refunded and so on). fulfillmentStatus is fulfilled, partial or null while nothing has shipped. productionStatus is your workshop's progress set in the app: null (to do), in_production or done; shipping the order sets it to done. total is the sum of the design totals, in cents. dueDate is the date the order is due in your shop's timezone, from Settings, Production, Due dates; it is null while due dates are off. late is true for an open order past its due date.

Endpoints

Method and path Returns
GET /orders Orders with custom items, newest first
GET /orders/{shopifyOrderId} One Order
PATCH /orders/{shopifyOrderId} Sets the order's production status (read and write token)
GET /designs Designs, including drafts, newest first
GET /designs/{id} One Design, including drafts
GET /customizers/{id} A customizer and its published definition

GET /orders

Query Default Notes
limit 25 1 to 100
cursor none pagination.nextCursor from the previous page
orderedAfter none ISO 8601; only orders placed at or after this time
late none true for open orders past their due date only
{
  "data": [ { "id": "5551234567890", "...": "Order" } ],
  "pagination": { "total": 312, "limit": 25, "nextCursor": "25" }
}

nextCursor is null on the last page. To sync new orders, keep the time of your last run and pass it as orderedAfter, or use webhooks instead of polling.

GET /orders/{shopifyOrderId}

curl -H "Authorization: Bearer cmz_YOUR_TOKEN" "https://app.moddifystudio.com/api/v1/orders/5551234567890"

Returns one Order, or 404.

PATCH /orders/{shopifyOrderId}

Moves the order through production, for example when your workshop software starts or finishes it. Needs a Read and write token.

curl -X PATCH "https://app.moddifystudio.com/api/v1/orders/5551234567890" \
  -H "Authorization: Bearer cmz_YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"productionStatus": "in_production"}'
Field Values
productionStatus "todo" (or null), "in_production", "done"

Returns the updated Order. Every design in the order gets the same status. The change shows in the app and in Shopify's order page block right away, and sends the order.updated webhook to every endpoint that listens for it, as a change in the app does. Setting the status it already has changes nothing and sends nothing.

GET /designs

Same paging as GET /orders. Filter with status (draft, ordered, cancelled) and createdAfter (ISO 8601).

curl -H "Authorization: Bearer cmz_YOUR_TOKEN" "https://app.moddifystudio.com/api/v1/designs?status=ordered&limit=50"

GET /designs/{id}

One Design, drafts included, or 404.

GET /customizers/{id}

{
  "id": 12,
  "title": "Custom sneaker",
  "status": "published",
  "shopifyProductId": "gid://shopify/Product/7211100766392",
  "version": 3,
  "assetBase": "https://.../shops/1/",
  "definition": { "schemaVersion": 1, "steps": [], "questions": [], "rules": [] }
}

definition is the published version: views, steps, questions, answers with prices and production codes, print areas and rules. Layer paths are relative to assetBase. version and definition are null if the customizer was never published.