API reference
Reserve stock
Holds stock for an order without removing it. Reserved units stop counting as available while the hold lasts.
POST
/v1/inventory/reserveHolds stock for an order without removing it. Reserved units stop counting as available while the hold lasts.
Authorization
bearerAuth AuthorizationBearer <token>
OAuth2 access token issued by Ecomiq Auth.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/v1/inventory/reserve" \ -H "Content-Type: application/json" \ -d '{ "storeId": "string", "locationId": "string", "lines": [ { "productId": "string", "variantId": "string", "productName": "string", "variantName": "string", "sku": null, "quantity": 0 } ] }'[]