Inventory
Authorizations
X-MaisonSafqa-Api-KeystringRequired
API key for authentication. Use 'ms_test_...' keys for development/testing and 'ms_live_...' keys for production. Keys are environment-specific and will only work in their respective environments.
Path parameters
product_idstringRequiredExample:
Product identifier (format: product_XXXXXXXXXXXXXXXX)
{"value":"product_1234567890123456"}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/{product_id}/inventoryAuthorizations
X-MaisonSafqa-Api-KeystringRequired
API key for authentication. Use 'ms_test_...' keys for development/testing and 'ms_live_...' keys for production. Keys are environment-specific and will only work in their respective environments.
Body
Responses
200
All inventory updates successful
application/json
successbooleanOptional
True if all updates were successful
messagestringOptionalExample:
Summary message
Inventory updated: 48/50 products successful207
Partial success - some updates succeeded, some failed
application/json
400
Validation errors
application/json
401
Unauthorized
application/json
429
Rate limit exceeded
application/json
patch
/inventory/bulkLast updated