Endpoint:GET /rest/V1/customer/order/detail
Description: Provide the order details along with the certificate URL in the response payload.
Query Parameter:
orderId(required): The ID of the order for which details are being retrieved.
Response Example:
{
"order_id": 1688,
"increment_id": "20940",
"order_status": "pending_payment",
"ordered_items": [
{
"sku": "303151-2019",
"product_name": "Product Name",
"qty_ordered": "10.0000",
"lable": "Vintage",
"value": "2019",
"price": "20"
}
],
"order_created_at": "2024-11-13 11:27:02",
"order_updated_at": "2024-11-13 10:27:14",
"grand_total": "200.0000",
"order_total": "200.0000",
"discount_amount": "0.0000",
"payment_method": "purchaseorder",
"transaction_id": "",
"delivery_details": {
"first_name": "Jane",
"last_name": "Doe",
"telephone": "1234567890",
"street": [
"123 Example St"
],
"city": "Example City",
"region": "Region Name",
"postcode": "123456",
"countryId": "NL"
},
"certificate_url": "https://registry-dev.example.com/example-certificate-url"
}
Key Notes:
- Certificate URL:
- The
certificate_urlkey provides a direct link to the certificate associated with the order. - Ensure that the
orderIdis valid to retrieve the appropriate certificate information.
- The