InventoryResult
- idempotencyType: string
_key requiredThe item's idempotency_key, echoed from input.
- newType: integernullable
_quantity requiredThe available quantity after this item.
- previousType: integernullable
_quantity requiredThe available quantity just before this item applied.
- statusType: stringenumrequired
What happened to this item.
not_editablemeans this product's inventory can't be edited, so the item was not applied, even when the quantity is unchanged.values- applied
- already
_applied - variant
_not _found - inventory
_level _not _found - inventory
_not _supported - not
_editable
- variantType: string
_id requiredThe item's variant_id, echoed from input.
- warningsType: array of "result_clamped_to_zero"enumconst:result_clamped_to_zerorequired
Non-fatal conditions observed while applying this item.