InventoryProduct stock

Update Product Stock

Update a product stock record

This endpoint supports partial updates - only include fields you want to change. You can update quantity, lot code, expiration date, or move stock to a different location. Product reassignment is not supported. Delete the stock record and create a new one instead.

PATCH
/shipos/product-stock/{product_stock_id}
x-access-token<token>

In: header

Path Parameters

product_stock_id*string

The ID of the product stock to update

Request Body

application/json

The fields to update

The fields to update

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X PATCH "https://example.com/shipos/product-stock/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "uom_label": "string",  "uom_multiplier_to_eaches": 0,  "uom_profile_id": "string",  "location_kind": "STATIC",  "location_pickable": true,  "location_sellable": true,  "parent_location_name": "string",  "location_name": "string",  "product_type": "STANDARD",  "image_url": "string",  "sku": "string",  "name": "string",  "warehouse_name": "string",  "warehouse_id": "string",  "team_id": "string",  "merchant_team_id": "string",  "fulfiller_team_id": "string",  "location_id": "string",  "product_id": "string",  "created_at": "2019-08-24T14:15:22Z",  "received_at": "2019-08-24T14:15:22Z",  "expiration_date": "2019-08-24T14:15:22Z",  "lot_code": "string",  "updated_at": "2019-08-24T14:15:22Z",  "on_hand": 0.1,  "id": "string",  "product": {    "is_hazmat": true,    "subcategory": "string",    "category": "string",    "virtual_bundle_component_count": 0.1,    "product_listing_variant_count": {      "SHOPIFY": 0.1,      "MAGENTO2": 0.1,      "BIGCOMMERCE": 0.1,      "MANUAL": 0.1,      "WOOCOMMERCE": 0.1,      "WIX": 0.1,      "TIKTOK": 0.1    },    "pick_fee_override": 0,    "printed_commodity_identifier": "string",    "eccn": "string",    "manufacturer": "string",    "updated_at": "2019-08-24T14:15:22Z",    "created_at": "2019-08-24T14:15:22Z",    "config": {      "replenishment_source_strategy": "FIFO",      "replenishment_increment_level": 0,      "replenishment_maximum_level": 0,      "replenishment_minimum_level": 0    },    "first_article_inspection_completed_at": "2019-08-24T14:15:22Z",    "customs_value_currency": "string",    "customs_value": 0,    "customs_description": "string",    "country_of_origin": "string",    "hs_code": "string",    "mpn": "string",    "image_url": "string",    "measurement_unit": "MM",    "height": 0.1,    "width": 0.1,    "length": 0.1,    "weight_unit": "G",    "weight": 0,    "cost_currency": "string",    "cost_price": 0,    "sku": "string",    "description": "string",    "type": "STANDARD",    "name": "string",    "team_name": "string",    "team_id": "string",    "fulfiller_team_name": "string",    "fulfiller_team_id": "string",    "merchant_team_name": "string",    "merchant_team_id": "string",    "id": "string"  },  "location": {    "barcode": "string",    "team_id": "string",    "parent_location_name": "string",    "parent_location_id": "string",    "warehouse_name": "string",    "warehouse_id": "string",    "location_type_name": "string",    "location_type_id": "string",    "location_kind": "STATIC",    "on_hand": 0.1,    "flagged_for_review": true,    "is_empty": true,    "is_hospital": true,    "updated_at": "2019-08-24T14:15:22Z",    "created_at": "2019-08-24T14:15:22Z",    "priority": 0.1,    "sellable": true,    "pickable": true,    "name": "string",    "id": "string",    "parent_location": {      "barcode": "string",      "team_id": "string",      "parent_location_name": "string",      "parent_location_id": "string",      "warehouse_name": "string",      "warehouse_id": "string",      "location_type_name": "string",      "location_type_id": "string",      "location_kind": "STATIC",      "on_hand": 0.1,      "flagged_for_review": true,      "is_empty": true,      "is_hospital": true,      "updated_at": "2019-08-24T14:15:22Z",      "created_at": "2019-08-24T14:15:22Z",      "priority": 0.1,      "sellable": true,      "pickable": true,      "name": "string",      "id": "string"    }  }}