Create Bag Adjustment
Creates a new adjustment record for a bag. Adjustments are immutable audit records that track corrections to bag totals (shipping, tax, or discount). The adjustment amounts (shopper, merchant, channel) must sum to zero. Only apps that created the bag (matching app_id) can create adjustments on it.
Financial adjustment to a Bag's totals
Unique ID of the BagAdjustment.
ID of the Bag this adjustment applies to.
ID of the parent Order (denormalized for convenience).
ID of the merchant this adjustment applies to.
ID of the App responsible for this Bag.
Type of field being adjusted: SHIPPING_TOTAL, TAX_TOTAL, or DISCOUNT_TOTAL.
Original incorrect value in cents.
Corrected value in cents.
Calculated difference (adjusted_value - previous_value) in cents.
Whether this adjustment impacts the shopper.
Amount of impact on shopper in cents (negative = refund owed to shopper).
Whether this adjustment impacts the merchant.
Amount of impact on merchant in cents (positive = merchant owed more, negative = merchant owed less).
Whether this adjustment impacts the channel.
Amount of impact on channel in cents (typically opposite of merchant + shopper).
Freeform text reason for the adjustment.
Date the adjustment was created (immutable).
Adjustment created successfully
Invalid adjustment data
Order or bag not found
Last updated
Was this helpful?