Shipper
Courier and delivery companies used on delivery orders.
Path Parameter:
:AUTOKEY (integer) — Tax-style internal ID, not a codeEndpoints
GET
/shipperList shippers with pagination and filters
GET
/shipper/:AUTOKEYGet a single shipper by autokey
POST
/shipperCreate a new shipper
PUT
/shipper/:AUTOKEYUpdate a shipper by autokey
DELETE
/shipper/:AUTOKEYDelete a shipper by autokey
Fields
| Field | Type | Required | Notes |
|---|---|---|---|
| autokey | integer | No | Internal auto-numbered ID used in the URL path. |
| code | string | Yes | Shipper code. Proven: "SHIP-01". |
| description | string | Yes | Company name. Proven: "Courier Express". |
| address1 – address4 | string | No | Address lines. |
| postcode | string | No | Postcode. |
| city | string | No | City. |
| state | string | No | State. |
| country | string | No | Country. |
| phone1 / phone2 | string | No | Phone numbers. |
| account | string | No | Courier account number. |
| remark1 / remark2 | string | No | Remark fields. |
| isdefault | boolean | No | Default shipper flag. |
| isactive | boolean | No | Active flag. |
| attachments | string | No | File attachment reference. |
| rowver | integer | No | Concurrency counter, read-only. |
Examples
POST — Create Shipper
POST /shipper
{
"code": "SHIP-01",
"description": "Courier Express"
}GET — List Shippers
GET /shipper?offset=0DELETE — by autokey
DELETE /shipper/1
Response: "OK" (plain text)Notes
- Shipper uses :AUTOKEY (integer). Passing a string code to the path returns "not a valid floating point value".
