This API endpoint will return the information for the consignee.
| Code | Description |
|---|---|
| 400 | Bad Request. |
| 404 | Not Found. |
| 500 | Internal Server Error. |
curl "https://app.octopi.co/api/v1/consignees/5.json" -H "Accept: application/json" -H "Content-Type: application/json" -H "Authorization: Token token=YOUR TOKEN HERE"
{
"consignee" : {
"phone" : null,
"name" : "FC OCTOPI",
"id" : 337395,
"vat_number" : null,
"general_ledger_id" : null,
"address" : null,
"contact_person" : null,
"customs_code" : null,
"email" : null,
"billing_contact_email" : null
}
}
| Param name | Description |
|---|---|
|
id required |
Validations:
|