Return order code examples

Return order using the order API.

{
    "order": {
        "user_attributes": {
            "email": "customer@email.com",
            "first_name": "John",
            "last_name": "Smith"
        },
        "parcel_attributes": [
            {
                "qty": "1",
                "weight": "0.5000",
                "length": "0.1500",
                "width": "0.1100",
                "depth": "0.1000",
                "title": "Product Title",
                "price": "50.00",
                "sku": "123456789123"
            }
        ],
        "validate": true,
        "courier_type": "standard",
        "retailer_invoice": "#ABC123456",
        "receiver_contact_number": "(123) 456789",
        "pickup_postcode": "2009",
        "pickup_address": "1 Union Street",
        "pickup_suburb": "Pyrmont",
        "pickup_state": "NSW",
        "return": true
    }
}