Area

Geographic areas or sales regions assigned to customers and suppliers.

Path Parameter::CODE (string) — the area code in the URL path

Endpoints

GET
/area

List areas with pagination and filters

GET
/area/:CODE

Get a single area by code

POST
/area

Create a new area

PUT
/area/:CODE

Update a area by code

DELETE
/area/:CODE

Delete a area by code

Fields

FieldTypeRequiredNotes
codestring
Yes
Area code. Proven: "KL".
descriptionstring
Yes
Area name. Proven: "Kuala Lumpur".
attachmentsstringNoFile attachment reference.
isactivebooleanNoActive flag.

Examples

POST — Create Area

POST /area
{
  "code": "KL",
  "description": "Kuala Lumpur"
}

GET — List Areas

GET /area?offset=0