Skip to main content

Get Billing Detail

Use this api to get billing address detail

Flow: Search billing address from order number and response it. If it doesn't found billing, return empty

URL : billing/{order_number}

Method : GET

Params : order_number

Example

/api/billing/6259394513

Enum

type: 
0 - Company
1 - Personal

Success Response

Code : 200 OK

Content example

{
"result": "success",
"error": "",
"error_code": "",
"data": {
"order_id": 303053,
"type": 0,
"customer_name": "Name",
"phone": "0964558412",
"company_name": "Test company",
"address": "Test Address",
"email": "test@gmail.com",
"tax_code": "THUE1541151",
"status": 1
}
}

Empty Response

Code : 200 OK

Content :

{
"success": true,
"errors": null,
"errorCode": null,
"data": []
}