# OR32 - Adjust order line Update order line actual measurement: it will create a refund or cancelation associated to the order line. Call FrequencyRecommended usage: At each adjustment of one or multiple order linesMaximum usage: Once per minute, 100 order lines per call Endpoint: PUT /api/orders/adjust ## Query parameters: - `shop_id` (integer) Use this parameter when your user has access to several shops. If not specified, the shop_id from your default shop will be used. ## Request fields (application/json): - `order_lines` (array, required) Order lines to be updated, maximum number of order lines per call: 100 - `order_lines.actual_measurement` (number, required) Order line's actual measurement - `order_lines.order_line_id` (string, required) Order Line identifier ## Response 200 fields (application/json): - `order_lines_adjusted` (array) A list of updated order lines and orders in error objects - `order_lines_adjusted.cancelations` (array) List of representations of cancellations created by the adjustment - `order_lines_adjusted.cancelations.amount` (number) The offer part amount canceled - `order_lines_adjusted.cancelations.currency_iso_code` (string) Enum: "AED", "ARS", "AUD", "BAM", "BGN", "BHD", "BRL", "CAD", "CHF", "CLP", "CNY", "COP", "CZK", "DKK", "EGP", "EUR", "GBP", "GEL", "GTQ", "HKD", "HRK", "HUF", "IDR", "ILS", "INR", "IQD", "JOD", "JPY", "KES", "KRW", "KWD", "LKR", "MAD", "MGA", "MXN", "MYR", "NGN", "NOK", "NZD", "OMR", "PEN", "PHP", "PKR", "PLN", "QAR", "RON", "RSD", "RUB", "SAR", "SEK", "SGD", "TND", "TRY", "THB", "TWD", "UAH", "USD", "UYU", "UZS", "VND", "ZAR" - `order_lines_adjusted.cancelations.eco_contributions` (array) List of eco-contribution amounts and corresponding producer identifiers, if applicable Only available if the operator activates the circular economy information collection. - `order_lines_adjusted.cancelations.eco_contributions.epr_category_code` (string, required) Extended Producer Responsibility category - `order_lines_adjusted.cancelations.eco_contributions.producer_id` (string, required) Producer identifier of the eco-contribution.Not present if the producer identifier belongs to the operator. - `order_lines_adjusted.cancelations.eco_contributions.producer_id_owner` (string, required) Owner of the producerId - `order_lines_adjusted.cancelations.eco_contributions.total_amount` (number) Total amount of the eco-contribution - `order_lines_adjusted.cancelations.eco_contributions.unit_amount` (number) Unit amount of the eco-contribution - `order_lines_adjusted.cancelations.quantity` (integer) The quantity of goods canceled - `order_lines_adjusted.cancelations.reason_code` (string) Cancellation's reason code - `order_lines_adjusted.cancelations.shipping_amount` (number) The shipping charges part amount canceled - `order_lines_adjusted.cancelations.shipping_taxes` (array) The taxes canceled on the shipping price - `order_lines_adjusted.cancelations.shipping_taxes.amount` (number) Tax amount - `order_lines_adjusted.cancelations.shipping_taxes.code` (string) Tax code - `order_lines_adjusted.cancelations.taxes` (array) The taxes canceled on the product price - `order_lines_adjusted.errors` (array) List of errors encountered when updating order line - `order_lines_adjusted.errors.code` (string, required) Error code - `order_lines_adjusted.errors.field` (string, required) Name of the field on the input object. Can be composed, e.g.: address.zip_code - `order_lines_adjusted.errors.message` (string, required) Error message - `order_lines_adjusted.measurement` (object) Measurement information of the order line - `order_lines_adjusted.measurement.actual_measurement` (number) Actual measurement on the order line - `order_lines_adjusted.measurement.adjustment_limit` (number) Adjustment limit of the order line - `order_lines_adjusted.measurement.measurement_unit` (string) Measurement unit of the order line Enum: "GRAM", "KILOGRAM", "TON", "POUND", "OUNCE", "MILLILITER", "CENTILITER", "CUBIC_METER", "LITER", "GALLON", "FLUID_OUNCE", "PINT", "BARREL", "CENTIMETER", "METER", "INCH", "FEET", "SQUARE_CENTIMETER", "SQUARE_METER", "SQUARE_INCH", "SQUARE_FOOT", "PIECE", "g", "kg", "t", "lb", "ml", "cl", "l", "USgal", "cm", "cm2", "m", "m2", "m3", "in", "in2", "ft", "ft2", "oz", "floz", "pt", "bbl" - `order_lines_adjusted.measurement.ordered_measurement` (number) Total measurement ordered on the order line - `order_lines_adjusted.order_line_id` (string) Order line identifier - `order_lines_adjusted.refunds` (array) List of representations of refunds created by the adjustment - `order_lines_adjusted.refunds.amount` (number) The offer part amount refunded. - `order_lines_adjusted.refunds.quantity` (integer) The quantity of products refunded. This quantity is informative only. - `order_lines_adjusted.refunds.reason_code` (string) Refund's reason code - `order_lines_adjusted.refunds.shipping_amount` (number) The shipping charges part amount refunded - `order_lines_adjusted.refunds.shipping_taxes` (array) The taxes refunded on the shipping price - `order_lines_adjusted.refunds.taxes` (array) The taxes refunded on the product price