Inventory
Inventory management endpoints
Updates inventory quantities for product variants. Use external_id for synced products or product_id for unsynced products.
Authorizations
X-MaisonSafqa-Api-KeystringRequired
API key authentication. Pass your API key directly in the X-MaisonSafqa-Api-Key header (e.g., 'ms_test_your_api_key_here' for test environment or 'ms_live_your_api_key_here' for production environment)
Path parameters
idstringRequired
Product identifier - external_id (Shopify ID) for synced products, or product_id for unsynced products
Body
Responses
200
Inventory updated successfully
application/json
400
Validation errors
application/json
401
Unauthorized
application/json
403
Access denied
application/json
404
Product not found
application/json
429
Rate limit exceeded
application/json
patch
/products/{id}/inventoryLast updated