Returns the SKU-specific inventory batch settings. Returns 404 if no SKU-specific settings exist.
Security
BearerAuth
- Mock serverhttps://hive-merchant-api.redocly.app/_mock/merchant-api-v2/mapi_v2_oas31/skus/{sku_id}/inventory_batch_settings
- Production APIhttps://app.hive.app/merchant_api/v2/skus/{sku_id}/inventory_batch_settings
- Staging APIhttps://staging.app.hive.app/merchant_api/v2/skus/{sku_id}/inventory_batch_settings
curl -i -X GET \
'https://hive-merchant-api.redocly.app/_mock/merchant-api-v2/mapi_v2_oas31/skus/{sku_id}/inventory_batch_settings' \
-H 'Authorization: Bearer <YOUR_token_HERE>'SKU-specific inventory batch settings
Priority strategy for batch selection
Enum:"first_expired_first_out""first_produced_first_out"
Minimum remaining shelf life in weeks for inventory transfer orders
Whether this is the merchant's default settings (true) or SKU-specific (false)
Response
{ "id": 0, "batch_priority": "first_expired_first_out", "b2c_shelf_life_in_weeks": 0, "b2b_shelf_life_in_weeks": 0, "ito_shelf_life_in_weeks": 0, "kit_shelf_life_in_weeks": 0, "is_merchant_default": true, "sku_id": 0 }