Skip to content

Customers API

List Customers

GET /api/v1/customers

Returns a paginated list of registered storefront customers.

Query Parameters

ParameterTypeDefaultDescription
limitinteger50Items per page (1-200)
cursorstringISO timestamp for pagination
orderstringascSort direction

Response

{
"data": [
{
"id": "cust-uuid-1",
"name": "Ahmed Mohamed",
"phone": "+218912345678",
"email": "ahmed@example.com",
"city": "Tripoli",
"is_active": true,
"created_at": "2026-03-10T08:00:00Z",
"last_modified": "2026-04-20T10:00:00Z"
}
]
}

Get Single Customer

GET /api/v1/customers/:id

Mapping to Odoo

Tajir FieldOdoo ModelOdoo Field
nameres.partnername
phoneres.partnerphone
emailres.partneremail
cityres.partnercity
idres.partnerref (external reference)