Return Update Webhook

Return Update Webhook

This URL is the URL that you setup on your system, so we can push updates. This webhook will be called anytime a return is created or updated. However, in a 3PL-Child Account relationship, this webhook will only work when registered in the Child Account. As the 3PL, you can register it at the Child Account level and point it to your own endpoint.

Webhook Body:

{
    "test": "0",
    "webhook_type": "Return Update",
    "return_id": 3394303,
    "return_uuid": "UmV0dXJuOjMzOTQzMDM=",
    "status": "pending",
    "reason": "",
    "items": [
        {
            "id": 5378501,
            "uuid": "UmV0dXJuSXRlbTo1Mzc4NTAx",
            "quantity": 50,
            "quantity_received": 0,
            "sku": "CUTENESS",
            "item_reason": "Found it cheaper",
            "restock": 0,
            "partner_line_item_id": "Order #243-355933727",
            "warehouse_id": 3141
        }
    ],
    "order_id": 272271706,
    "order_uuid": "T3JkZXI6MjcyMjcxNzA2",
    "partner_order_id": "Order #243",
    "order_number": "Order #243",
    "shop_name": "Manual Order",
    "created_at": "2022-05-24 18:34:33",
    "label_type": "Self Return",
    "label_cost": "0.00",
    "picked_up": false,
    "tracking_number": "420856539274890326147006581374",
    "date_used": null
}

Response:

{
  "code": "200",
  "Message": "Success"
}