Resend an existing order. This will help in resending an existing order in full or partial. Upto 5 resend operations are allowed per . When resent fully, the original order is canceled.
Show more...
{
"order": {
"amount_adjusted": 0,
"amount_paid": 0,
"base_currency_code": "USD",
"created_at": 1517675018,
"created_by": "Manually generated by user",
"currency_code": "USD",
"customer_id": "__test__sZEDgk7tSJFzTSYZ",
"deleted": false,
"discount": 40000,
"document_number": "2",
"exchange_rate": 1,
"id": "2",
"invoice_id": "__demo_inv__1",
"is_gifted": false,
"is_resent": true,
"line_item_discounts": [
{
"discount_amount": 40000,
"discount_type": "custom_discount",
"line_item_id": "li___test__sZEDgk7tSJFzTUsb",
"object": "line_item_discount"
},
{..}
],
"linked_credit_notes": [],
"object": "order",
"order_date": 1517675018,
"order_line_items": [
{
"amount": 40000,
"amount_adjusted": 0,
"amount_paid": 0,
"description": "MB1S1P",
"discount_amount": 40000,
"entity_id": "MB1S1P",
"entity_type": "plan",
"fulfillment_amount": 0,
"fulfillment_quantity": 1,
"id": "o_li__test__sZEDgk7tSJFzU5to",
"invoice_id": "__demo_inv__1",
"invoice_line_item_id": "li___test__sZEDgk7tSJFzTUsb",
"is_shippable": true,
"item_level_discount_amount": 0,
"object": "order_line_item",
"refundable_credits": 0,
"refundable_credits_issued": 0,
"status": "queued",
"tax_amount": 0,
"unit_price": 40000
},
{..}
],
"order_type": "system_generated",
"original_order_id": 464000000004,
"price_type": "tax_exclusive",
"refundable_credits": 0,
"refundable_credits_issued": 0,
"resend_reason": "Damaged",
"resource_version": 1517675019129,
"rounding_adjustement": 0,
"shipping_date": 1517675618,
"status": "queued",
"sub_total": 0,
"subscription_id": "__test__sZEDgk7tSJFzTSYZ",
"tax": 0,
"total": 0,
"updated_at": 1517675019
}
}