Meta data object.
The ID of the item.
The ID of the item on the e-commerce platform.
The ID of the product on the e-commerce platform.
The ID of the variant on the e-commerce platform.
The SKU of the item.
The title of the product.
The number of items that the customer plans or expects to return.
The title of the variant.
The return reason provided by the customer.
Additional information provided by the customer regarding the reason for the return.
If the return reason supports sub-reasons, this is the sub-reason provided by the customer.
The purchase quantity of the item in the original order.
The number of items that need to be refunded.
The number of items that need to be returned.
The number of items that have been received by the merchant.
The number of items that have been restocked by the merchant.
The number of items that have been removed by the merchant.
The display price of each item.
The tax-inclusive discounted price for each item, representing the actual amount paid by the buyer.
The discount allocated to each item.
The tax allocated to each item.
Custom properties filled in by the customer when purchasing the product.
The images provided by the customer when submitting a return.
The images of the product.
The product categories configured on the e-commerce platform.
The product tags configured on the e-commerce platform.
The tags applied by the merchant to this return item.
The images uploaded by the merchant for this return item.
When the item being returned is a whole bundle, this array will represent its child items.
Exchange variant associated with this return item. Available only when using replacement.
When the item being returned is one of the child items in a bundle, this ID will represent its parent item, which is the bundle ID.
Whether this return item is marked as a green return item. When true, no physical return is required for this item.
A 404 will be returned:
Error code in integer format.
Response type string for the reference.
Human-readable response message.
Error detail object. Each error object contains a "path" key and an "info" key. The "path" is the JSON path of the request object to indicate the error location. The "info" is a human-readable description of the error.
{
"item_tags": [
{
"id": "string"
}
]
}{ "meta": { "code": 20000, "type": "OK", "message": "The request was successfully processed by AfterShip." }, "data": { "id": "10579097059534", "external_order_item_id": "10579097059534", "external_product_id": "7002111410382", "external_variant_id": "41681852399822", "sku": "t-shirt-blue-xl", "product_title": "T-Shirt", "intended_return_quantity": 2, "variant_title": "Blue - XL", "return_reason": "Wrong size", "return_reason_comment": "Too Small", "return_subreason": "Too small", "ordered_quantity": 3, "refund_quantity": 2, "return_quantity": 2, "received_quantity": 0, "restocked_quantity": 0, "removed_quantity": 0, "unit_display_price": { "amount": "99.99", "currency": "USD" }, "unit_discounted_price_including_tax": { "amount": "99.99", "currency": "USD" }, "unit_discount": { "amount": "99.99", "currency": "USD" }, "unit_tax": { "amount": "99.99", "currency": "USD" }, "properties": [ { "name": "monogram", "value": "joe" } ], "shopper_uploaded_image_urls": [ "https://cdn.example.com/x/y/z.jpg" ], "product_image_urls": [ "https://cdn.example.com/x/y/z.jpg" ], "product_categories": [ "clothing" ], "product_tags": [ "clothing" ], "item_tags": [ { "id": "da1c35a503364bf8bb851ffaa49028c4", "name": "Defective", "created_at": "2023-07-15T00:00:00Z" } ], "merchant_uploaded_image_urls": [ "https://cdn.example.com/x/y/z.jpg" ], "bundled_items": [ { "external_id": "string", "external_product_id": "string", "external_variant_id": "string", "sku": "string", "product_title": "string", "variant_title": "string", "unit_display_price": { "amount": "99.99", "currency": "USD" }, "unit_discounted_price_including_tax": { "amount": "99.99", "currency": "USD" }, "unit_discount": { "amount": "99.99", "currency": "USD" }, "unit_tax": { "amount": "99.99", "currency": "USD" }, "product_categories": [ "string" ], "product_tags": [ "string" ], "intended_return_quantity": 0, "return_quantity": 0, "received_quantity": 0, "ordered_quantity": 0 } ], "exchange_variant": { "external_product_id": "string", "external_variant_id": "string", "sku": "string", "product_title": "string", "title": "string", "unit_display_price": { "amount": "99.99", "currency": "USD" } }, "parent_item_id": "string", "green_return": false } }