Measura API documentation · v1
Connect measured products, inventory, and orders to your workflow. Choose the server API or the browser-based Storefront API.
Building a Shopify theme? Start with the Storefront API guide. Server API keys must stay on your server.
All endpoints are relative to:
https://sell-by-weight-app.atomicpos.com/api/v1All 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.
| Resource | Methods and paths | Reference |
|---|---|---|
| Identity | GET /me | Get API identity |
| Settings | GET /app-settings | Get app settings |
| Products | GET /products; GET /products/{id}; GET /products/{productId}/variants/{variantId} | Products and variants |
| Fractional inventory | POST /inventory/adjustments; PUT /inventory/levels | Write fractional inventory |
| Kit recipes | GET, POST /kits; GET, PATCH, DELETE /kits/{id} | Kit recipes |
| Kit availability | GET /kits/{id}/availability | Kit availability |
| Kit production | GET, POST /kit-assemblies; GET /kit-assemblies/{operationId} | Assemble and disassemble kits |
| Orders | GET /orders; GET, PATCH /orders/{id} | Orders and measured edits |
| Edit history | GET /orders/{id}/edits; GET /orders/{id}/edits/{editId} | Order edit history |
| Measured returns | GET, POST /orders/{id}/returns; GET /orders/{id}/returns/{returnId} | Measured returns |
| Operation status | GET /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.
Get started with the Measura API by exploring the following sections:
Build Measura line item properties directly from Shopify theme code
View storefront API →Learn how to authenticate your API requests using API keys
Learn more →Explore all available API endpoints and their usage
View endpoints →Understand the structure of API response objects
View objects →Reference for common error codes and their meanings
View error codes →Add Measura-compatible properties when integrating outside the storefront runtime
View guide →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": true,
"data": { ... },
"error": null,
"meta": { ... },
"requestId": "optional-request-id"
}{
"success": false,
"data": null,
"error": {
"code": "error_code",
"message": "Human-readable error message",
"details": { ... }
},
"meta": { ... },
"requestId": "optional-request-id"
}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.
For issues or questions about the API, please contact support or refer to the app documentation.