Code | Description |
---|---|
404 | No stock adjustment items found |
Response Example: HTTP/1.1 200 OK { "id": 1, "quantity": 2, "updated_at": "2021-02-09T19:12:01.000Z", "status": "adjusted", "previous_quantity": 3, "new_quantity": 5, "stock_adjustment_id": 2, "adjusted_at": "2021-02-08T19:12:01.000Z", "variant": { "id": 278, "shopify_id": 35671873093654, "title": "quadriporticus", "sku": "RisorgimentosBavarians01", "barcode": null } }
Param name | Description |
---|---|
id required |
The ID of the stock adjustment item. Validations:
|
The requested stock adjustment item data
Param name | Description |
---|---|
id required |
A unique numeric identifier for the Stock Adjustment Item. Validations:
|
quantity required |
“quantity”: 10 The amount to adjust a Shopify InventoryLevel. A negative value subtracts from the InventoryLevel’s available quantity. Validations:
|
updated_at required |
“updated_at”: “2021-02-09T19:47:30.000Z” The date and time (ISO 8601 format) when the stock adjustment item was last updated. Validations:
|
status required |
“status”: “adjusted” The status of the item's adjustment (e.g. "not adjusted" or "adjusted"). Validations:
|
previous_quantity required |
“previous_quantity”: 4 The available quantity at the Shopify InventoryLevel before the adjustment was performed. If this property is null, then the adjustment has not been performed yet. Validations:
|
new_quantity required |
“new_quantity”: 10 The available quantity at the Shopify InventoryLevel after the adjustment was performed. If this property is null, then the adjustment has not been performed yet. Validations:
|
stock_adjustment_id required |
“stock_adjustment_id”: 15 The unique numeric identifier for the stock adjustment. Validations:
|
adjusted_at required |
“adjusted_at”: “2021-02-09T19:47:30.000Z” The date and time (ISO 8601 format) when item's adjustment is performed. Validations:
|
variant required |
Information about the product variant associated with the stock adjustment item. Validations:
|
variant[id] required |
“id”: 3824 The unique numeric identifier for the product variant. Validations:
|
variant[shopify_id] required |
“shopify_id”: 35616076169238 The identifier for the associated Shopify Product Variant. Validations:
|
variant[title] required |
“title”: “250ml” The name of the product variant. Validations:
|
variant[sku] required |
“sku”: “Int00154 . PEPERULO” The Stock Keeping Unit (SKU) which is a unique alphanumeric code used to identify a product. Validations:
|
variant[barcode] required |
“barcode”: “1234_pink” The barcode, UPC, or ISBN number for the product. Validations:
|