Inventory

Adjust stock quantities

Adjusts stock quantities for product variants. Stock quantities can be added or subtracted, set with a given number, or marked as "unlimited". All quantity information is stored in InventoryItems.

post/1.0/commerce/inventory/adjustments

Request

Headers

Idempotency-Keystring required

Required for idempotent requests. Refer to the idempotency key guide for requirements.

Authorizationstring required

API key or OAuth access token

User-Agentstring required

User Agent

Request body

setUnlimitedOperationsstring[]

Optional; array of InventoryItem ids. Marks stock quantity as "unlimited" for the given InventoryItems.

Response

No content. The request was successful. If this is a request with a previously used Idempotency-Key, the previous operation was successful and no new changes were made.

Changes

No recorded changes to this operation across all 1 revision of this API.