Create manual inventory adjustment

POST /api/v1/inventory/adjustments

Create a manual inventory adjustment for a variant at a specific location. If no location is specified, the adjustment is applied to the default location.

Operation ID: create_inventory_adjustment_api_v1_inventory_adjustments_post · View as markdown · OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Request body

variant_id string required

Product variant UUID to adjust.

quantity_change integer required

Quantity change: positive to add, negative to subtract. Cannot be zero.

reason string required

Required reason for the adjustment.

location_id string

Location UUID where adjustment applies. Uses default location if not specified.

Responses

201 Successful Response

id string required

Adjustment UUID.

business_id string required

Business UUID.

variant_id string required

Adjusted variant UUID.

delta integer required

Quantity change applied.

correction_reason string

Adjustment reason.

location_id string

Location where adjustment was applied.

created_at string · date-time required

When adjustment was made.

422 Validation Error

detail array · ValidationError ValidationError
5 fields
loc array · string | integer required
msg string required
type string required
input object
ctx object