Measura API documentation · v1

Build with Measura.

Connect measured products, inventory, and orders to your workflow. Choose the server API or the browser-based Storefront API.

Server API
v1 · Enterprise plan
Authentication
Bearer API key →
Guide updated

Building a Shopify theme? Start with the Storefront API guide. Server API keys must stay on your server.

Base URL

All endpoints are relative to:

Base URL
https://sell-by-weight-app.atomicpos.com/api/v1

Server API resources

All paths below are relative to /api/v1. Shopify resource IDs are numeric strings, kit IDs are 24 hexadecimal characters, and operation IDs are UUIDs. Preserve IDs as strings. Kit and order resources require their corresponding active add-on.

Scroll horizontally to see all columns.

ResourceMethods and pathsReference
IdentityGET /meGet API identity
SettingsGET /app-settingsGet app settings
ProductsGET /products; GET /products/{id}; GET /products/{productId}/variants/{variantId}Products and variants
Fractional inventoryPOST /inventory/adjustments; PUT /inventory/levelsWrite fractional inventory
Kit recipesGET, POST /kits; GET, PATCH, DELETE /kits/{id}Kit recipes
Kit availabilityGET /kits/{id}/availabilityKit availability
Kit productionGET, POST /kit-assemblies; GET /kit-assemblies/{operationId}Assemble and disassemble kits
OrdersGET /orders; GET, PATCH /orders/{id}Orders and measured edits
Edit historyGET /orders/{id}/edits; GET /orders/{id}/edits/{editId}Order edit history
Measured returnsGET, POST /orders/{id}/returns; GET /orders/{id}/returns/{returnId}Measured returns
Operation statusGET /operations/{operationId}Get operation status

Read write safety and recovery before integrating writes. Existing order PATCH integrations must add Idempotency-Key and expectedRevision; fulfilled returns now use POST /orders/{id}/returns with explicit restock intent. Order edits and returns do not collect payments or issue financial refunds.

Response format

API responses use the following envelope. The meta, requestId, and error.details fields are optional and may be omitted; pagination is returned in meta when provided by the endpoint.

Success response

Success response shape
{
  "success": true,
  "data": { ... },
  "error": null,
  "meta": { ... },
  "requestId": "optional-request-id"
}

Error response

Error response shape
{
  "success": false,
  "data": null,
  "error": {
    "code": "error_code",
    "message": "Human-readable error message",
    "details": { ... }
  },
  "meta": { ... },
  "requestId": "optional-request-id"
}

Rate limiting & caching

Authenticated cacheable reads use private caching. Current order state, kit availability, operation history, and writes use no-store. Product configuration is not a stock reservation.

Respect each endpoint’s Cache-Control header; there is no universal five-minute cache policy. Server-side caches are scoped to the shop.

Read requests may be retried with backoff after transient failures. For writes, preserve the idempotency key and consult operation status before retrying an uncertain outcome.

Support

For issues or questions about the API, please contact support or refer to the app documentation.