Download OpenAPI specification:
Description of documentation
| code required | string non-empty |
string non-empty | |
| phone_number | string non-empty |
{- "code": "string",
- "email": "string",
- "phone_number": "string"
}{- "detail": "string"
}| code required | string non-empty |
string non-empty | |
| phone_number | string non-empty |
{- "code": "string",
- "email": "string",
- "phone_number": "string"
}{- "detail": "string"
}| code required | string non-empty |
| change_request required | string <uuid> |
| password required | string non-empty |
{- "code": "string",
- "change_request": "fb46d17c-eb92-40a3-9539-f2488ef62285",
- "password": "string"
}{- "detail": "string"
}| new_email required | string non-empty |
{- "new_email": "string"
}{- "detail": "string",
- "change_request_id": "f90819c3-6f40-44d9-9518-d77c485c0c12"
}| id_token required | string non-empty |
{- "id_token": "string"
}{- "access": "string",
- "refresh": "string",
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "first_name": "string",
- "last_name": "string",
- "is_active": true,
- "date_joined": "2019-08-24T14:15:22Z",
- "email": "user@example.com",
- "phone_number": "string",
- "is_email_verified": true,
- "is_phone_verified": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "actions": [
- null
]
}| password required | string non-empty |
string non-empty | |
| phone_number | string non-empty |
{- "password": "string",
- "email": "string",
- "phone_number": "string"
}{- "access": "string",
- "refresh": "string",
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "first_name": "string",
- "last_name": "string",
- "is_active": true,
- "date_joined": "2019-08-24T14:15:22Z",
- "email": "user@example.com",
- "phone_number": "string",
- "is_email_verified": true,
- "is_phone_verified": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "actions": [
- null
]
}| old_password | string non-empty |
| new_password | string non-empty |
{- "old_password": "string",
- "new_password": "string"
}{- "status": "string"
}| code required | string non-empty |
| new_password required | string non-empty |
string non-empty | |
| phone_number | string non-empty |
{- "code": "string",
- "new_password": "string",
- "email": "string",
- "phone_number": "string"
}{- "detail": "string"
}string non-empty | |
| phone_number | string non-empty |
{- "email": "string",
- "phone_number": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "detail": "string",
- "created_at": "2019-08-24T14:15:22Z"
}| code required | string non-empty |
| change_request required | string <uuid> |
| password required | string non-empty |
{- "code": "string",
- "change_request": "fb46d17c-eb92-40a3-9539-f2488ef62285",
- "password": "string"
}{- "detail": "string"
}| new_phone required | string non-empty |
{- "new_phone": "string"
}{- "detail": "string",
- "change_request_id": "f90819c3-6f40-44d9-9518-d77c485c0c12"
}| password required | string [ 1 .. 255 ] characters |
| first_name | string <= 150 characters |
| last_name | string <= 150 characters |
string or null <email> <= 254 characters | |
| phone_number | string or null <= 15 characters ^(9|7)\d{8}$ |
{- "password": "string",
- "first_name": "string",
- "last_name": "string",
- "email": "user@example.com",
- "phone_number": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "first_name": "string",
- "last_name": "string",
- "is_active": true,
- "date_joined": "2019-08-24T14:15:22Z",
- "email": "user@example.com",
- "phone_number": "string",
- "is_email_verified": true,
- "is_phone_verified": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| code required | string non-empty |
| phone_number | string non-empty |
string non-empty |
{- "code": "string",
- "phone_number": "string",
- "email": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "access": "string",
- "refresh": "string",
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "first_name": "string",
- "last_name": "string",
- "is_active": true,
- "date_joined": "2019-08-24T14:15:22Z",
- "email": "user@example.com",
- "phone_number": "string",
- "is_email_verified": true,
- "is_phone_verified": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "actions": [
- null
]
}string non-empty | |
| phone_number | string non-empty |
{- "email": "string",
- "phone_number": "string"
}{- "detail": "string"
}| fcm_token required | string [ 1 .. 255 ] characters |
| label required | string [ 1 .. 255 ] characters |
| name | string [ 1 .. 255 ] characters |
| device_id | string [ 1 .. 255 ] characters |
| os | string [ 1 .. 255 ] characters |
| manufacturer | string [ 1 .. 255 ] characters |
| app_version | string [ 1 .. 255 ] characters |
| app_build_number | string [ 1 .. 255 ] characters |
| app_version_code | string [ 1 .. 255 ] characters |
{- "fcm_token": "string",
- "label": "string",
- "name": "string",
- "device_id": "string",
- "os": "string",
- "manufacturer": "string",
- "app_version": "string",
- "app_build_number": "string",
- "app_version_code": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "fcm_token": "string",
- "label": "string",
- "name": "string",
- "device_id": "string",
- "os": "string",
- "manufacturer": "string",
- "app_version": "string",
- "app_build_number": "string",
- "app_version_code": "string"
}| page | integer A page number within the paginated result set. |
{- "count": 123,
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "first_name": "string",
- "last_name": "string",
- "is_active": true,
- "date_joined": "2019-08-24T14:15:22Z",
- "email": "user@example.com",
- "phone_number": "string",
- "is_email_verified": true,
- "is_phone_verified": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}| first_name | string <= 150 characters |
| last_name | string <= 150 characters |
| is_active | boolean (Active) Designates whether this user should be treated as active. Unselect this instead of deleting accounts. |
| date_joined | string <date-time> |
string or null <email> <= 254 characters | |
| phone_number | string or null <= 15 characters ^(9|7)\d{8}$ |
| is_email_verified | boolean |
| is_phone_verified | boolean |
{- "first_name": "string",
- "last_name": "string",
- "is_active": true,
- "date_joined": "2019-08-24T14:15:22Z",
- "email": "user@example.com",
- "phone_number": "string",
- "is_email_verified": true,
- "is_phone_verified": true
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "first_name": "string",
- "last_name": "string",
- "is_active": true,
- "date_joined": "2019-08-24T14:15:22Z",
- "email": "user@example.com",
- "phone_number": "string",
- "is_email_verified": true,
- "is_phone_verified": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| id required | string <uuid> A UUID string identifying this user. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "first_name": "string",
- "last_name": "string",
- "is_active": true,
- "date_joined": "2019-08-24T14:15:22Z",
- "email": "user@example.com",
- "phone_number": "string",
- "is_email_verified": true,
- "is_phone_verified": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| id required | string <uuid> A UUID string identifying this user. |
| first_name | string <= 150 characters |
| last_name | string <= 150 characters |
| is_active | boolean (Active) Designates whether this user should be treated as active. Unselect this instead of deleting accounts. |
| date_joined | string <date-time> |
string or null <email> <= 254 characters | |
| phone_number | string or null <= 15 characters ^(9|7)\d{8}$ |
| is_email_verified | boolean |
| is_phone_verified | boolean |
{- "first_name": "string",
- "last_name": "string",
- "is_active": true,
- "date_joined": "2019-08-24T14:15:22Z",
- "email": "user@example.com",
- "phone_number": "string",
- "is_email_verified": true,
- "is_phone_verified": true
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "first_name": "string",
- "last_name": "string",
- "is_active": true,
- "date_joined": "2019-08-24T14:15:22Z",
- "email": "user@example.com",
- "phone_number": "string",
- "is_email_verified": true,
- "is_phone_verified": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}| id required | string <uuid> A UUID string identifying this user. |
| first_name | string <= 150 characters |
| last_name | string <= 150 characters |
| is_active | boolean (Active) Designates whether this user should be treated as active. Unselect this instead of deleting accounts. |
| date_joined | string <date-time> |
string or null <email> <= 254 characters | |
| phone_number | string or null <= 15 characters ^(9|7)\d{8}$ |
| is_email_verified | boolean |
| is_phone_verified | boolean |
{- "first_name": "string",
- "last_name": "string",
- "is_active": true,
- "date_joined": "2019-08-24T14:15:22Z",
- "email": "user@example.com",
- "phone_number": "string",
- "is_email_verified": true,
- "is_phone_verified": true
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "first_name": "string",
- "last_name": "string",
- "is_active": true,
- "date_joined": "2019-08-24T14:15:22Z",
- "email": "user@example.com",
- "phone_number": "string",
- "is_email_verified": true,
- "is_phone_verified": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "first_name": "string",
- "last_name": "string",
- "is_active": true,
- "date_joined": "2019-08-24T14:15:22Z",
- "email": "user@example.com",
- "phone_number": "string",
- "is_email_verified": true,
- "is_phone_verified": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "lat": 0.1,
- "lng": 0.1,
- "plus_code": "string",
- "sublocality": "string",
- "locality": "string",
- "admin_2": "string",
- "admin_1": "string",
- "country": "string"
}
]| lat required | number <double> |
| lng required | number <double> |
| plus_code | string or null |
| sublocality | string or null [ 1 .. 255 ] characters |
| locality | string or null [ 1 .. 255 ] characters |
| admin_2 | string or null [ 1 .. 255 ] characters |
| admin_1 required | string [ 1 .. 255 ] characters |
| country required | string [ 1 .. 255 ] characters |
{- "lat": 0.1,
- "lng": 0.1,
- "plus_code": "string",
- "sublocality": "string",
- "locality": "string",
- "admin_2": "string",
- "admin_1": "string",
- "country": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "lat": 0.1,
- "lng": 0.1,
- "plus_code": "string",
- "sublocality": "string",
- "locality": "string",
- "admin_2": "string",
- "admin_1": "string",
- "country": "string"
}| id required | string <uuid> A UUID string identifying this address. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "lat": 0.1,
- "lng": 0.1,
- "plus_code": "string",
- "sublocality": "string",
- "locality": "string",
- "admin_2": "string",
- "admin_1": "string",
- "country": "string"
}| id required | string <uuid> A UUID string identifying this address. |
| lat required | number <double> |
| lng required | number <double> |
| plus_code | string or null |
| sublocality | string or null [ 1 .. 255 ] characters |
| locality | string or null [ 1 .. 255 ] characters |
| admin_2 | string or null [ 1 .. 255 ] characters |
| admin_1 required | string [ 1 .. 255 ] characters |
| country required | string [ 1 .. 255 ] characters |
{- "lat": 0.1,
- "lng": 0.1,
- "plus_code": "string",
- "sublocality": "string",
- "locality": "string",
- "admin_2": "string",
- "admin_1": "string",
- "country": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "lat": 0.1,
- "lng": 0.1,
- "plus_code": "string",
- "sublocality": "string",
- "locality": "string",
- "admin_2": "string",
- "admin_1": "string",
- "country": "string"
}| id required | string <uuid> A UUID string identifying this address. |
| lat | number <double> |
| lng | number <double> |
| plus_code | string or null |
| sublocality | string or null [ 1 .. 255 ] characters |
| locality | string or null [ 1 .. 255 ] characters |
| admin_2 | string or null [ 1 .. 255 ] characters |
| admin_1 | string [ 1 .. 255 ] characters |
| country | string [ 1 .. 255 ] characters |
{- "lat": 0.1,
- "lng": 0.1,
- "plus_code": "string",
- "sublocality": "string",
- "locality": "string",
- "admin_2": "string",
- "admin_1": "string",
- "country": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "lat": 0.1,
- "lng": 0.1,
- "plus_code": "string",
- "sublocality": "string",
- "locality": "string",
- "admin_2": "string",
- "admin_1": "string",
- "country": "string"
}| business_id | string <uuid> Filter by business ID |
| page | integer A page number within the paginated result set. |
{- "count": 123,
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "permissions": "string",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "address": "acc2de7d-9959-4ca0-9dda-9b7ef1cd4c6c"
}
]
}| business required | string <uuid> |
| name required | string [ 1 .. 255 ] characters |
| address | string or null <uuid> |
{- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "name": "string",
- "address": "acc2de7d-9959-4ca0-9dda-9b7ef1cd4c6c"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "permissions": "string",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "address": "acc2de7d-9959-4ca0-9dda-9b7ef1cd4c6c"
}| id required | string <uuid> A UUID string identifying this branch. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "permissions": "string",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "address": "acc2de7d-9959-4ca0-9dda-9b7ef1cd4c6c"
}| id required | string <uuid> A UUID string identifying this branch. |
| business required | string <uuid> |
| name required | string [ 1 .. 255 ] characters |
| address | string or null <uuid> |
{- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "name": "string",
- "address": "acc2de7d-9959-4ca0-9dda-9b7ef1cd4c6c"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "permissions": "string",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "address": "acc2de7d-9959-4ca0-9dda-9b7ef1cd4c6c"
}| id required | string <uuid> A UUID string identifying this branch. |
| business | string <uuid> |
| name | string [ 1 .. 255 ] characters |
| address | string or null <uuid> |
{- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "name": "string",
- "address": "acc2de7d-9959-4ca0-9dda-9b7ef1cd4c6c"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "permissions": "string",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "address": "acc2de7d-9959-4ca0-9dda-9b7ef1cd4c6c"
}| business_type | string Filter by business type |
| categories | string <uuid> Filter by category IDs separated by commas |
| owner | string <uuid> Filter by owner ID |
| page | integer A page number within the paginated result set. |
| search | string Search by business name |
{- "count": 123,
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "permissions": "string",
- "address": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "lat": 0.1,
- "lng": 0.1,
- "plus_code": "string",
- "sublocality": "string",
- "locality": "string",
- "admin_2": "string",
- "admin_1": "string",
- "country": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "business_type": "retail",
- "is_verified": true,
- "is_active": true,
- "background_image": "string",
- "categories": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
]
}required | object (AddressRequest) |
| name required | string [ 1 .. 255 ] characters |
| business_type required | string (BusinessTypeEnum) Enum: "retail" "whole_sale" "manufacturing" "service"
|
| background_image | string or null non-empty |
| categories required | Array of strings <uuid> [ items <uuid > ] |
{- "address": {
- "lat": 0.1,
- "lng": 0.1,
- "plus_code": "string",
- "sublocality": "string",
- "locality": "string",
- "admin_2": "string",
- "admin_1": "string",
- "country": "string"
}, - "name": "string",
- "business_type": "retail",
- "background_image": "string",
- "categories": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "permissions": "string",
- "address": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "lat": 0.1,
- "lng": 0.1,
- "plus_code": "string",
- "sublocality": "string",
- "locality": "string",
- "admin_2": "string",
- "admin_1": "string",
- "country": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "business_type": "retail",
- "is_verified": true,
- "is_active": true,
- "background_image": "string",
- "categories": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}| id required | string <uuid> A UUID string identifying this business. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "permissions": "string",
- "address": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "lat": 0.1,
- "lng": 0.1,
- "plus_code": "string",
- "sublocality": "string",
- "locality": "string",
- "admin_2": "string",
- "admin_1": "string",
- "country": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "business_type": "retail",
- "is_verified": true,
- "is_active": true,
- "background_image": "string",
- "categories": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}| id required | string <uuid> A UUID string identifying this business. |
required | object (AddressRequest) |
| name required | string [ 1 .. 255 ] characters |
| business_type required | string (BusinessTypeEnum) Enum: "retail" "whole_sale" "manufacturing" "service"
|
| background_image | string or null non-empty |
| categories required | Array of strings <uuid> [ items <uuid > ] |
{- "address": {
- "lat": 0.1,
- "lng": 0.1,
- "plus_code": "string",
- "sublocality": "string",
- "locality": "string",
- "admin_2": "string",
- "admin_1": "string",
- "country": "string"
}, - "name": "string",
- "business_type": "retail",
- "background_image": "string",
- "categories": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "permissions": "string",
- "address": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "lat": 0.1,
- "lng": 0.1,
- "plus_code": "string",
- "sublocality": "string",
- "locality": "string",
- "admin_2": "string",
- "admin_1": "string",
- "country": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "business_type": "retail",
- "is_verified": true,
- "is_active": true,
- "background_image": "string",
- "categories": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}| id required | string <uuid> A UUID string identifying this business. |
object (AddressRequest) | |
| name | string [ 1 .. 255 ] characters |
| business_type | string (BusinessTypeEnum) Enum: "retail" "whole_sale" "manufacturing" "service"
|
| background_image | string or null non-empty |
| categories | Array of strings <uuid> [ items <uuid > ] |
{- "address": {
- "lat": 0.1,
- "lng": 0.1,
- "plus_code": "string",
- "sublocality": "string",
- "locality": "string",
- "admin_2": "string",
- "admin_1": "string",
- "country": "string"
}, - "name": "string",
- "business_type": "retail",
- "background_image": "string",
- "categories": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "permissions": "string",
- "address": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "lat": 0.1,
- "lng": 0.1,
- "plus_code": "string",
- "sublocality": "string",
- "locality": "string",
- "admin_2": "string",
- "admin_1": "string",
- "country": "string"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "business_type": "retail",
- "is_verified": true,
- "is_active": true,
- "background_image": "string",
- "categories": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}| page | integer A page number within the paginated result set. |
{- "count": 123,
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "image": [
- "string"
]
}
]
}| page | integer A page number within the paginated result set. |
{- "count": 123,
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "is_active": true,
- "industry": "9762546f-eb45-4b24-96f0-c16241af5507",
- "image": "string"
}
]
}| id required | string <uuid> A UUID string identifying this category. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "is_active": true,
- "industry": "9762546f-eb45-4b24-96f0-c16241af5507",
- "image": "string"
}| page | integer A page number within the paginated result set. |
{- "count": 123,
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "permissions": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "role": "543e2fa5-dae3-497f-aa96-e06da8fcb379",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65"
}
]
}| user | string or null <uuid> |
| business | string or null <uuid> |
| role | string or null <uuid> |
| branch | string or null <uuid> |
{- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "role": "543e2fa5-dae3-497f-aa96-e06da8fcb379",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "permissions": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "role": "543e2fa5-dae3-497f-aa96-e06da8fcb379",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65"
}| id required | string <uuid> A UUID string identifying this employee. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "permissions": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "role": "543e2fa5-dae3-497f-aa96-e06da8fcb379",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65"
}| id required | string <uuid> A UUID string identifying this employee. |
| user | string or null <uuid> |
| business | string or null <uuid> |
| role | string or null <uuid> |
| branch | string or null <uuid> |
{- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "role": "543e2fa5-dae3-497f-aa96-e06da8fcb379",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "permissions": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "role": "543e2fa5-dae3-497f-aa96-e06da8fcb379",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65"
}| id required | string <uuid> A UUID string identifying this employee. |
| user | string or null <uuid> |
| business | string or null <uuid> |
| role | string or null <uuid> |
| branch | string or null <uuid> |
{- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "role": "543e2fa5-dae3-497f-aa96-e06da8fcb379",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "permissions": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "role": "543e2fa5-dae3-497f-aa96-e06da8fcb379",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65"
}| page | integer A page number within the paginated result set. |
{- "count": 123,
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "permissions": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "email": "user@example.com",
- "phone_number": "string",
- "status": "pending",
- "role": "543e2fa5-dae3-497f-aa96-e06da8fcb379",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330"
}
]
}Create a new employee invitation.
string or null <email> <= 254 characters | |
| phone_number | string or null <= 255 characters |
| role required | string <uuid> |
| branch | string or null <uuid> |
| business required | string <uuid> |
{- "email": "user@example.com",
- "phone_number": "string",
- "role": "543e2fa5-dae3-497f-aa96-e06da8fcb379",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "permissions": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "email": "user@example.com",
- "phone_number": "string",
- "status": "pending",
- "role": "543e2fa5-dae3-497f-aa96-e06da8fcb379",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330"
}| id required | string <uuid> A UUID string identifying this employee invitation. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "permissions": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "email": "user@example.com",
- "phone_number": "string",
- "status": "pending",
- "role": "543e2fa5-dae3-497f-aa96-e06da8fcb379",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330"
}| id required | string <uuid> A UUID string identifying this employee invitation. |
string or null <email> <= 254 characters | |
| phone_number | string or null <= 255 characters |
| role required | string <uuid> |
| branch | string or null <uuid> |
| business required | string <uuid> |
{- "email": "user@example.com",
- "phone_number": "string",
- "role": "543e2fa5-dae3-497f-aa96-e06da8fcb379",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "permissions": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "email": "user@example.com",
- "phone_number": "string",
- "status": "pending",
- "role": "543e2fa5-dae3-497f-aa96-e06da8fcb379",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330"
}| id required | string <uuid> A UUID string identifying this employee invitation. |
string or null <email> <= 254 characters | |
| phone_number | string or null <= 255 characters |
| role | string <uuid> |
| branch | string or null <uuid> |
| business | string <uuid> |
{- "email": "user@example.com",
- "phone_number": "string",
- "role": "543e2fa5-dae3-497f-aa96-e06da8fcb379",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "permissions": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "email": "user@example.com",
- "phone_number": "string",
- "status": "pending",
- "role": "543e2fa5-dae3-497f-aa96-e06da8fcb379",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330"
}Resend an employee invitation. Only business owners/admins can resend invitations.
| id required | string <uuid> A UUID string identifying this employee invitation. |
string or null <email> <= 254 characters | |
| phone_number | string or null <= 255 characters |
| role required | string <uuid> |
| branch | string or null <uuid> |
| business required | string <uuid> |
{- "email": "user@example.com",
- "phone_number": "string",
- "role": "543e2fa5-dae3-497f-aa96-e06da8fcb379",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "permissions": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "email": "user@example.com",
- "phone_number": "string",
- "status": "pending",
- "role": "543e2fa5-dae3-497f-aa96-e06da8fcb379",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330"
}Update the status of an employee invitation. Only the invited user can update their invitation status.
| id required | string <uuid> A UUID string identifying this employee invitation. |
| status | string (EmployeeInvitationStatusStatusEnum) Enum: "pending" "accepted" "rejected" "expired" "revoked"
|
{- "status": "pending"
}{- "status": "pending"
}List pending invitations for the current user.
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "permissions": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "email": "user@example.com",
- "phone_number": "string",
- "status": "pending",
- "role": "543e2fa5-dae3-497f-aa96-e06da8fcb379",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330"
}Get invitation statistics for a business.
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "permissions": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "email": "user@example.com",
- "phone_number": "string",
- "status": "pending",
- "role": "543e2fa5-dae3-497f-aa96-e06da8fcb379",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330"
}| page | integer A page number within the paginated result set. |
{- "count": 123,
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "is_active": true,
- "image": "string"
}
]
}| page | integer A page number within the paginated result set. |
{- "count": 123,
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "permissions": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "role_name": "owner",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330"
}
]
}| id required | string <uuid> A UUID string identifying this role. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "permissions": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "role_name": "owner",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330"
}Get all conversations where the authenticated user is a participant
| business_id | string <uuid> Filter conversations by business |
| conversation_type | string Filter by conversation type (direct, group, business_wide) |
| page | integer A page number within the paginated result set. |
{- "count": 123,
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "conversation_type": "direct",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "is_active": true,
- "last_message_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "participants_count": "string",
- "last_message": "string",
- "unread_count": "string"
}
]
}Create a new conversation with specified participants
| title | string <= 255 characters Optional title for group conversations |
| conversation_type | string (ConversationTypeEnum) Enum: "direct" "group" "business"
|
| business required | string <uuid> Business context for the conversation |
| participant_user_ids required | Array of strings <uuid> [ items <uuid > ] List of user IDs to add as participants |
{- "title": "",
- "conversation_type": "direct",
- "business": "uuid-here",
- "participant_user_ids": [
- "uuid1",
- "uuid2"
]
}{- "title": "",
- "conversation_type": "direct",
- "business": "uuid-here",
- "participant_user_ids": [
- "uuid1",
- "uuid2"
]
}ViewSet for managing conversations between business employees
| id required | string |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "conversation_type": "direct",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_by_name": "string",
- "is_active": true,
- "last_message_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "participants": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "first_name": "string",
- "last_name": "string",
- "is_active": true,
- "date_joined": "2019-08-24T14:15:22Z",
- "email": "user@example.com",
- "phone_number": "string",
- "is_email_verified": true,
- "is_phone_verified": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "employee": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "permissions": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "role": "543e2fa5-dae3-497f-aa96-e06da8fcb379",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65"
}, - "role": "member",
- "joined_at": "2019-08-24T14:15:22Z",
- "last_read_at": "2019-08-24T14:15:22Z",
- "is_muted": true,
- "is_active": true
}
], - "messages": "string"
}ViewSet for managing conversations between business employees
| id required | string |
| title | string <= 255 characters Optional title for group conversations |
| conversation_type | string (ConversationTypeEnum) Enum: "direct" "group" "business"
|
| business required | string <uuid> Business context for the conversation |
| created_by | string or null <uuid> |
| is_active | boolean |
{- "title": "string",
- "conversation_type": "direct",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "is_active": true
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "conversation_type": "direct",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_by_name": "string",
- "is_active": true,
- "last_message_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "participants": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "first_name": "string",
- "last_name": "string",
- "is_active": true,
- "date_joined": "2019-08-24T14:15:22Z",
- "email": "user@example.com",
- "phone_number": "string",
- "is_email_verified": true,
- "is_phone_verified": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "employee": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "permissions": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "role": "543e2fa5-dae3-497f-aa96-e06da8fcb379",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65"
}, - "role": "member",
- "joined_at": "2019-08-24T14:15:22Z",
- "last_read_at": "2019-08-24T14:15:22Z",
- "is_muted": true,
- "is_active": true
}
], - "messages": "string"
}ViewSet for managing conversations between business employees
| id required | string |
| title | string <= 255 characters Optional title for group conversations |
| conversation_type | string (ConversationTypeEnum) Enum: "direct" "group" "business"
|
| business | string <uuid> Business context for the conversation |
| created_by | string or null <uuid> |
| is_active | boolean |
{- "title": "string",
- "conversation_type": "direct",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "is_active": true
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "conversation_type": "direct",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_by_name": "string",
- "is_active": true,
- "last_message_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "participants": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "first_name": "string",
- "last_name": "string",
- "is_active": true,
- "date_joined": "2019-08-24T14:15:22Z",
- "email": "user@example.com",
- "phone_number": "string",
- "is_email_verified": true,
- "is_phone_verified": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "employee": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "permissions": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "role": "543e2fa5-dae3-497f-aa96-e06da8fcb379",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65"
}, - "role": "member",
- "joined_at": "2019-08-24T14:15:22Z",
- "last_read_at": "2019-08-24T14:15:22Z",
- "is_muted": true,
- "is_active": true
}
], - "messages": "string"
}Add new participants to an existing conversation
| id required | string |
| title | string <= 255 characters Optional title for group conversations |
| conversation_type | string (ConversationTypeEnum) Enum: "direct" "group" "business"
|
| business required | string <uuid> Business context for the conversation |
| created_by | string or null <uuid> |
| is_active | boolean |
{- "title": "string",
- "conversation_type": "direct",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "is_active": true
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "conversation_type": "direct",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_by_name": "string",
- "is_active": true,
- "last_message_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "participants": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "first_name": "string",
- "last_name": "string",
- "is_active": true,
- "date_joined": "2019-08-24T14:15:22Z",
- "email": "user@example.com",
- "phone_number": "string",
- "is_email_verified": true,
- "is_phone_verified": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "employee": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "permissions": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "role": "543e2fa5-dae3-497f-aa96-e06da8fcb379",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65"
}, - "role": "member",
- "joined_at": "2019-08-24T14:15:22Z",
- "last_read_at": "2019-08-24T14:15:22Z",
- "is_muted": true,
- "is_active": true
}
], - "messages": "string"
}Remove current user from the conversation
| id required | string |
| title | string <= 255 characters Optional title for group conversations |
| conversation_type | string (ConversationTypeEnum) Enum: "direct" "group" "business"
|
| business required | string <uuid> Business context for the conversation |
| created_by | string or null <uuid> |
| is_active | boolean |
{- "title": "string",
- "conversation_type": "direct",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "is_active": true
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "conversation_type": "direct",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_by_name": "string",
- "is_active": true,
- "last_message_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "participants": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "first_name": "string",
- "last_name": "string",
- "is_active": true,
- "date_joined": "2019-08-24T14:15:22Z",
- "email": "user@example.com",
- "phone_number": "string",
- "is_email_verified": true,
- "is_phone_verified": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "employee": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "permissions": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "role": "543e2fa5-dae3-497f-aa96-e06da8fcb379",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65"
}, - "role": "member",
- "joined_at": "2019-08-24T14:15:22Z",
- "last_read_at": "2019-08-24T14:15:22Z",
- "is_muted": true,
- "is_active": true
}
], - "messages": "string"
}Mark all messages in conversation as read
| id required | string |
| title | string <= 255 characters Optional title for group conversations |
| conversation_type | string (ConversationTypeEnum) Enum: "direct" "group" "business"
|
| business required | string <uuid> Business context for the conversation |
| created_by | string or null <uuid> |
| is_active | boolean |
{- "title": "string",
- "conversation_type": "direct",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "is_active": true
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "title": "string",
- "conversation_type": "direct",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "created_by": "ee824cad-d7a6-4f48-87dc-e8461a9201c4",
- "created_by_name": "string",
- "is_active": true,
- "last_message_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "participants": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "first_name": "string",
- "last_name": "string",
- "is_active": true,
- "date_joined": "2019-08-24T14:15:22Z",
- "email": "user@example.com",
- "phone_number": "string",
- "is_email_verified": true,
- "is_phone_verified": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "employee": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "permissions": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "role": "543e2fa5-dae3-497f-aa96-e06da8fcb379",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65"
}, - "role": "member",
- "joined_at": "2019-08-24T14:15:22Z",
- "last_read_at": "2019-08-24T14:15:22Z",
- "is_muted": true,
- "is_active": true
}
], - "messages": "string"
}ViewSet for managing conversation invitations
| page | integer A page number within the paginated result set. |
{- "count": 123,
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "conversation": "a2d9c3ee-03b3-403a-b1c2-42b286bec1aa",
- "conversation_title": "string",
- "invited_by": "0fdabe0c-eb7c-440a-96d2-2c65906c3777",
- "invited_by_name": "string",
- "invited_user": "50fd75ce-7075-416d-8fd0-25125cf07e3c",
- "invited_user_name": "string",
- "invited_employee": "676d4ab5-d67c-4679-83b8-41e30319c60c",
- "status": "pending",
- "message": "string",
- "expires_at": "2019-08-24T14:15:22Z",
- "responded_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z"
}
]
}ViewSet for managing conversation invitations
| conversation required | string <uuid> |
| invited_by required | string <uuid> |
| invited_user required | string <uuid> |
| invited_employee required | string <uuid> |
| status | string (ConversationInvitationStatusEnum) Enum: "pending" "accepted" "declined" "expired"
|
| message | string Optional invitation message |
| expires_at | string or null <date-time> |
{- "conversation": "a2d9c3ee-03b3-403a-b1c2-42b286bec1aa",
- "invited_by": "0fdabe0c-eb7c-440a-96d2-2c65906c3777",
- "invited_user": "50fd75ce-7075-416d-8fd0-25125cf07e3c",
- "invited_employee": "676d4ab5-d67c-4679-83b8-41e30319c60c",
- "status": "pending",
- "message": "string",
- "expires_at": "2019-08-24T14:15:22Z"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "conversation": "a2d9c3ee-03b3-403a-b1c2-42b286bec1aa",
- "conversation_title": "string",
- "invited_by": "0fdabe0c-eb7c-440a-96d2-2c65906c3777",
- "invited_by_name": "string",
- "invited_user": "50fd75ce-7075-416d-8fd0-25125cf07e3c",
- "invited_user_name": "string",
- "invited_employee": "676d4ab5-d67c-4679-83b8-41e30319c60c",
- "status": "pending",
- "message": "string",
- "expires_at": "2019-08-24T14:15:22Z",
- "responded_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z"
}ViewSet for managing conversation invitations
| id required | string |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "conversation": "a2d9c3ee-03b3-403a-b1c2-42b286bec1aa",
- "conversation_title": "string",
- "invited_by": "0fdabe0c-eb7c-440a-96d2-2c65906c3777",
- "invited_by_name": "string",
- "invited_user": "50fd75ce-7075-416d-8fd0-25125cf07e3c",
- "invited_user_name": "string",
- "invited_employee": "676d4ab5-d67c-4679-83b8-41e30319c60c",
- "status": "pending",
- "message": "string",
- "expires_at": "2019-08-24T14:15:22Z",
- "responded_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z"
}ViewSet for managing conversation invitations
| id required | string |
| conversation required | string <uuid> |
| invited_by required | string <uuid> |
| invited_user required | string <uuid> |
| invited_employee required | string <uuid> |
| status | string (ConversationInvitationStatusEnum) Enum: "pending" "accepted" "declined" "expired"
|
| message | string Optional invitation message |
| expires_at | string or null <date-time> |
{- "conversation": "a2d9c3ee-03b3-403a-b1c2-42b286bec1aa",
- "invited_by": "0fdabe0c-eb7c-440a-96d2-2c65906c3777",
- "invited_user": "50fd75ce-7075-416d-8fd0-25125cf07e3c",
- "invited_employee": "676d4ab5-d67c-4679-83b8-41e30319c60c",
- "status": "pending",
- "message": "string",
- "expires_at": "2019-08-24T14:15:22Z"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "conversation": "a2d9c3ee-03b3-403a-b1c2-42b286bec1aa",
- "conversation_title": "string",
- "invited_by": "0fdabe0c-eb7c-440a-96d2-2c65906c3777",
- "invited_by_name": "string",
- "invited_user": "50fd75ce-7075-416d-8fd0-25125cf07e3c",
- "invited_user_name": "string",
- "invited_employee": "676d4ab5-d67c-4679-83b8-41e30319c60c",
- "status": "pending",
- "message": "string",
- "expires_at": "2019-08-24T14:15:22Z",
- "responded_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z"
}ViewSet for managing conversation invitations
| id required | string |
| conversation | string <uuid> |
| invited_by | string <uuid> |
| invited_user | string <uuid> |
| invited_employee | string <uuid> |
| status | string (ConversationInvitationStatusEnum) Enum: "pending" "accepted" "declined" "expired"
|
| message | string Optional invitation message |
| expires_at | string or null <date-time> |
{- "conversation": "a2d9c3ee-03b3-403a-b1c2-42b286bec1aa",
- "invited_by": "0fdabe0c-eb7c-440a-96d2-2c65906c3777",
- "invited_user": "50fd75ce-7075-416d-8fd0-25125cf07e3c",
- "invited_employee": "676d4ab5-d67c-4679-83b8-41e30319c60c",
- "status": "pending",
- "message": "string",
- "expires_at": "2019-08-24T14:15:22Z"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "conversation": "a2d9c3ee-03b3-403a-b1c2-42b286bec1aa",
- "conversation_title": "string",
- "invited_by": "0fdabe0c-eb7c-440a-96d2-2c65906c3777",
- "invited_by_name": "string",
- "invited_user": "50fd75ce-7075-416d-8fd0-25125cf07e3c",
- "invited_user_name": "string",
- "invited_employee": "676d4ab5-d67c-4679-83b8-41e30319c60c",
- "status": "pending",
- "message": "string",
- "expires_at": "2019-08-24T14:15:22Z",
- "responded_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z"
}Accept a conversation invitation
| id required | string |
| conversation required | string <uuid> |
| invited_by required | string <uuid> |
| invited_user required | string <uuid> |
| invited_employee required | string <uuid> |
| status | string (ConversationInvitationStatusEnum) Enum: "pending" "accepted" "declined" "expired"
|
| message | string Optional invitation message |
| expires_at | string or null <date-time> |
{- "conversation": "a2d9c3ee-03b3-403a-b1c2-42b286bec1aa",
- "invited_by": "0fdabe0c-eb7c-440a-96d2-2c65906c3777",
- "invited_user": "50fd75ce-7075-416d-8fd0-25125cf07e3c",
- "invited_employee": "676d4ab5-d67c-4679-83b8-41e30319c60c",
- "status": "pending",
- "message": "string",
- "expires_at": "2019-08-24T14:15:22Z"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "conversation": "a2d9c3ee-03b3-403a-b1c2-42b286bec1aa",
- "conversation_title": "string",
- "invited_by": "0fdabe0c-eb7c-440a-96d2-2c65906c3777",
- "invited_by_name": "string",
- "invited_user": "50fd75ce-7075-416d-8fd0-25125cf07e3c",
- "invited_user_name": "string",
- "invited_employee": "676d4ab5-d67c-4679-83b8-41e30319c60c",
- "status": "pending",
- "message": "string",
- "expires_at": "2019-08-24T14:15:22Z",
- "responded_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z"
}Decline a conversation invitation
| id required | string |
| conversation required | string <uuid> |
| invited_by required | string <uuid> |
| invited_user required | string <uuid> |
| invited_employee required | string <uuid> |
| status | string (ConversationInvitationStatusEnum) Enum: "pending" "accepted" "declined" "expired"
|
| message | string Optional invitation message |
| expires_at | string or null <date-time> |
{- "conversation": "a2d9c3ee-03b3-403a-b1c2-42b286bec1aa",
- "invited_by": "0fdabe0c-eb7c-440a-96d2-2c65906c3777",
- "invited_user": "50fd75ce-7075-416d-8fd0-25125cf07e3c",
- "invited_employee": "676d4ab5-d67c-4679-83b8-41e30319c60c",
- "status": "pending",
- "message": "string",
- "expires_at": "2019-08-24T14:15:22Z"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "conversation": "a2d9c3ee-03b3-403a-b1c2-42b286bec1aa",
- "conversation_title": "string",
- "invited_by": "0fdabe0c-eb7c-440a-96d2-2c65906c3777",
- "invited_by_name": "string",
- "invited_user": "50fd75ce-7075-416d-8fd0-25125cf07e3c",
- "invited_user_name": "string",
- "invited_employee": "676d4ab5-d67c-4679-83b8-41e30319c60c",
- "status": "pending",
- "message": "string",
- "expires_at": "2019-08-24T14:15:22Z",
- "responded_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z"
}Get messages for conversations where user is a participant
| conversation_id | string <uuid> Filter messages by conversation |
| page | integer A page number within the paginated result set. |
{- "count": 123,
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "conversation": "a2d9c3ee-03b3-403a-b1c2-42b286bec1aa",
- "sender": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "first_name": "string",
- "last_name": "string",
- "is_active": true,
- "date_joined": "2019-08-24T14:15:22Z",
- "email": "user@example.com",
- "phone_number": "string",
- "is_email_verified": true,
- "is_phone_verified": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "sender_employee": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "permissions": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "role": "543e2fa5-dae3-497f-aa96-e06da8fcb379",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65"
}, - "content": "string",
- "message_type": "text",
- "attachment": "string",
- "reply_to": "string",
- "replies_count": "string",
- "is_edited": true,
- "edited_at": "2019-08-24T14:15:22Z",
- "is_deleted": true,
- "deleted_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "statuses": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "participant": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "first_name": "string",
- "last_name": "string",
- "is_active": true,
- "date_joined": "2019-08-24T14:15:22Z",
- "email": "user@example.com",
- "phone_number": "string",
- "is_email_verified": true,
- "is_phone_verified": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "employee": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "permissions": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "role": "543e2fa5-dae3-497f-aa96-e06da8fcb379",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65"
}, - "role": "member",
- "joined_at": "2019-08-24T14:15:22Z",
- "last_read_at": "2019-08-24T14:15:22Z",
- "is_muted": true,
- "is_active": true
}, - "status": "sent",
- "status_changed_at": "2019-08-24T14:15:22Z"
}
]
}
]
}Send a new message in a conversation
| conversation required | string <uuid> |
| content required | string non-empty Message content |
| message_type | string (MessageTypeEnum) Enum: "text" "image" "file" "system"
|
| attachment | string or null non-empty |
| reply_to | string or null <uuid> |
{- "conversation": "uuid-here",
- "content": "Hello everyone!",
- "message_type": "text"
}{- "conversation": "uuid-here",
- "content": "Hello everyone!",
- "message_type": "text"
}ViewSet for managing messages within conversations
| id required | string |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "conversation": "a2d9c3ee-03b3-403a-b1c2-42b286bec1aa",
- "sender": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "first_name": "string",
- "last_name": "string",
- "is_active": true,
- "date_joined": "2019-08-24T14:15:22Z",
- "email": "user@example.com",
- "phone_number": "string",
- "is_email_verified": true,
- "is_phone_verified": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "sender_employee": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "permissions": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "role": "543e2fa5-dae3-497f-aa96-e06da8fcb379",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65"
}, - "content": "string",
- "message_type": "text",
- "attachment": "string",
- "reply_to": "string",
- "replies_count": "string",
- "is_edited": true,
- "edited_at": "2019-08-24T14:15:22Z",
- "is_deleted": true,
- "deleted_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "statuses": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "participant": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "first_name": "string",
- "last_name": "string",
- "is_active": true,
- "date_joined": "2019-08-24T14:15:22Z",
- "email": "user@example.com",
- "phone_number": "string",
- "is_email_verified": true,
- "is_phone_verified": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "employee": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "permissions": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "role": "543e2fa5-dae3-497f-aa96-e06da8fcb379",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65"
}, - "role": "member",
- "joined_at": "2019-08-24T14:15:22Z",
- "last_read_at": "2019-08-24T14:15:22Z",
- "is_muted": true,
- "is_active": true
}, - "status": "sent",
- "status_changed_at": "2019-08-24T14:15:22Z"
}
]
}Edit an existing message (only sender can edit)
| id required | string |
| conversation | string <uuid> |
| content | string non-empty Message content |
| message_type | string (MessageTypeEnum) Enum: "text" "image" "file" "system"
|
| attachment | string or null non-empty |
{- "conversation": "a2d9c3ee-03b3-403a-b1c2-42b286bec1aa",
- "content": "string",
- "message_type": "text",
- "attachment": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "conversation": "a2d9c3ee-03b3-403a-b1c2-42b286bec1aa",
- "sender": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "first_name": "string",
- "last_name": "string",
- "is_active": true,
- "date_joined": "2019-08-24T14:15:22Z",
- "email": "user@example.com",
- "phone_number": "string",
- "is_email_verified": true,
- "is_phone_verified": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "sender_employee": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "permissions": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "role": "543e2fa5-dae3-497f-aa96-e06da8fcb379",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65"
}, - "content": "string",
- "message_type": "text",
- "attachment": "string",
- "reply_to": "string",
- "replies_count": "string",
- "is_edited": true,
- "edited_at": "2019-08-24T14:15:22Z",
- "is_deleted": true,
- "deleted_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "statuses": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "participant": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "first_name": "string",
- "last_name": "string",
- "is_active": true,
- "date_joined": "2019-08-24T14:15:22Z",
- "email": "user@example.com",
- "phone_number": "string",
- "is_email_verified": true,
- "is_phone_verified": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "employee": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "permissions": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "role": "543e2fa5-dae3-497f-aa96-e06da8fcb379",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65"
}, - "role": "member",
- "joined_at": "2019-08-24T14:15:22Z",
- "last_read_at": "2019-08-24T14:15:22Z",
- "is_muted": true,
- "is_active": true
}, - "status": "sent",
- "status_changed_at": "2019-08-24T14:15:22Z"
}
]
}ViewSet for viewing conversation participants
| page | integer A page number within the paginated result set. |
{- "count": 123,
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "first_name": "string",
- "last_name": "string",
- "is_active": true,
- "date_joined": "2019-08-24T14:15:22Z",
- "email": "user@example.com",
- "phone_number": "string",
- "is_email_verified": true,
- "is_phone_verified": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "employee": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "permissions": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "role": "543e2fa5-dae3-497f-aa96-e06da8fcb379",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65"
}, - "role": "member",
- "joined_at": "2019-08-24T14:15:22Z",
- "last_read_at": "2019-08-24T14:15:22Z",
- "is_muted": true,
- "is_active": true
}
]
}ViewSet for viewing conversation participants
| id required | string |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "user": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "first_name": "string",
- "last_name": "string",
- "is_active": true,
- "date_joined": "2019-08-24T14:15:22Z",
- "email": "user@example.com",
- "phone_number": "string",
- "is_email_verified": true,
- "is_phone_verified": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}, - "employee": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "permissions": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "user": "76f62a58-5404-486d-9afc-07bded328704",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "role": "543e2fa5-dae3-497f-aa96-e06da8fcb379",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65"
}, - "role": "member",
- "joined_at": "2019-08-24T14:15:22Z",
- "last_read_at": "2019-08-24T14:15:22Z",
- "is_muted": true,
- "is_active": true
}| page | integer A page number within the paginated result set. |
{- "count": 123,
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "email": "user@example.com",
- "full_name": "string",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "phone_number": "string",
- "created_at": "2019-08-24T14:15:22Z"
}
]
}| email required | string <email> [ 1 .. 254 ] characters |
| full_name required | string [ 1 .. 255 ] characters |
| business required | string <uuid> |
| phone_number | string <= 15 characters ^(9|7)\d{8}$ |
{- "email": "user@example.com",
- "full_name": "string",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "phone_number": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "email": "user@example.com",
- "full_name": "string",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "phone_number": "string",
- "created_at": "2019-08-24T14:15:22Z"
}| id required | string <uuid> A UUID string identifying this customer. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "email": "user@example.com",
- "full_name": "string",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "phone_number": "string",
- "created_at": "2019-08-24T14:15:22Z"
}| id required | string <uuid> A UUID string identifying this customer. |
| email required | string <email> [ 1 .. 254 ] characters |
| full_name required | string [ 1 .. 255 ] characters |
| business required | string <uuid> |
| phone_number | string <= 15 characters ^(9|7)\d{8}$ |
{- "email": "user@example.com",
- "full_name": "string",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "phone_number": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "email": "user@example.com",
- "full_name": "string",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "phone_number": "string",
- "created_at": "2019-08-24T14:15:22Z"
}| id required | string <uuid> A UUID string identifying this customer. |
string <email> [ 1 .. 254 ] characters | |
| full_name | string [ 1 .. 255 ] characters |
| business | string <uuid> |
| phone_number | string <= 15 characters ^(9|7)\d{8}$ |
{- "email": "user@example.com",
- "full_name": "string",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "phone_number": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "email": "user@example.com",
- "full_name": "string",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "phone_number": "string",
- "created_at": "2019-08-24T14:15:22Z"
}| page | integer A page number within the paginated result set. |
{- "count": 123,
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "purpose": "PROFILE_PICTURE"
}
]
}| file required | string <binary> |
| purpose required | string (PurposeEnum) Enum: "PROFILE_PICTURE" "ITEM" "RECEIPT" "CHAT" "REPORT" "INVOICE" "OTHER"
|
{- "file": "string",
- "purpose": "PROFILE_PICTURE"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "purpose": "PROFILE_PICTURE"
}| page | integer A page number within the paginated result set. |
{- "count": 123,
- "results": [
- {
- "key": "string",
- "content_length": 0,
- "content_type": "string",
- "last_modified": "2019-08-24T14:15:22Z",
- "meta_data": null
}
]
}| key required | string [ 1 .. 255 ] characters |
{- "key": "string"
}{- "key": "string",
- "content_length": 0,
- "content_type": "string",
- "last_modified": "2019-08-24T14:15:22Z",
- "meta_data": null
}| hash required | string [ 1 .. 255 ] characters |
| size required | integer [ 10 .. 6000 ] |
| ext required | string Enum: "png" "jpg" "heic" "jpeg" "gif" "pdf" "mp4" "mkv" "avi"
|
{- "hash": "string",
- "size": 10,
- "ext": "png"
}{- "size": 10,
- "id": "string",
- "signed_url": "string"
}| page | integer A page number within the paginated result set. |
{- "count": 123,
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "label": "string",
- "identifier": "string",
- "payment": "4f07e784-b611-49dd-affc-3320a4f95555",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65"
}
]
}| label required | string [ 1 .. 255 ] characters |
| identifier required | string [ 1 .. 255 ] characters |
| payment | string or null <uuid> |
| business required | string <uuid> |
| branch | string or null <uuid> |
{- "label": "string",
- "identifier": "string",
- "payment": "4f07e784-b611-49dd-affc-3320a4f95555",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "label": "string",
- "identifier": "string",
- "payment": "4f07e784-b611-49dd-affc-3320a4f95555",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65"
}| id required | string <uuid> A UUID string identifying this business payment method. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "label": "string",
- "identifier": "string",
- "payment": "4f07e784-b611-49dd-affc-3320a4f95555",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65"
}| id required | string <uuid> A UUID string identifying this business payment method. |
| label required | string [ 1 .. 255 ] characters |
| identifier required | string [ 1 .. 255 ] characters |
| payment | string or null <uuid> |
| business required | string <uuid> |
| branch | string or null <uuid> |
{- "label": "string",
- "identifier": "string",
- "payment": "4f07e784-b611-49dd-affc-3320a4f95555",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "label": "string",
- "identifier": "string",
- "payment": "4f07e784-b611-49dd-affc-3320a4f95555",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65"
}| id required | string <uuid> A UUID string identifying this business payment method. |
| label | string [ 1 .. 255 ] characters |
| identifier | string [ 1 .. 255 ] characters |
| payment | string or null <uuid> |
| business | string <uuid> |
| branch | string or null <uuid> |
{- "label": "string",
- "identifier": "string",
- "payment": "4f07e784-b611-49dd-affc-3320a4f95555",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "label": "string",
- "identifier": "string",
- "payment": "4f07e784-b611-49dd-affc-3320a4f95555",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65"
}| page | integer A page number within the paginated result set. |
{- "count": 123,
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "short_name": "string"
}
]
}| page | integer A page number within the paginated result set. |
{- "count": 123,
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "type": "SALE",
- "total_paid_amount": -99999999,
- "total_left_amount": -99999999,
- "order": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "total_payable": -99999999,
- "status": "PENDING",
- "additional_info": null,
- "customer": "0ac6320b-fa4d-4235-8d23-413a2b863bad",
- "employee": "582b6557-33f4-480f-b578-984bbca0a925",
- "payment_method": "f4815f3e-3832-4ed6-92fd-134ab34dea26",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65"
}, - "branch": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "total_payable": -99999999,
- "status": "PENDING",
- "additional_info": null,
- "customer": "0ac6320b-fa4d-4235-8d23-413a2b863bad",
- "employee": "582b6557-33f4-480f-b578-984bbca0a925",
- "payment_method": "f4815f3e-3832-4ed6-92fd-134ab34dea26",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65"
}, - "business": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "total_payable": -99999999,
- "status": "PENDING",
- "additional_info": null,
- "customer": "0ac6320b-fa4d-4235-8d23-413a2b863bad",
- "employee": "582b6557-33f4-480f-b578-984bbca0a925",
- "payment_method": "f4815f3e-3832-4ed6-92fd-134ab34dea26",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65"
}, - "payment_method": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "total_payable": -99999999,
- "status": "PENDING",
- "additional_info": null,
- "customer": "0ac6320b-fa4d-4235-8d23-413a2b863bad",
- "employee": "582b6557-33f4-480f-b578-984bbca0a925",
- "payment_method": "f4815f3e-3832-4ed6-92fd-134ab34dea26",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65"
}
}
]
}| business | string <uuid> |
| description | string |
| name | string |
| page | integer A page number within the paginated result set. |
{- "count": 123,
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "description": "string",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330"
}
]
}| name required | string [ 1 .. 255 ] characters |
| description required | string non-empty |
| business required | string <uuid> |
{- "name": "string",
- "description": "string",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "description": "string",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330"
}| id required | string <uuid> A UUID string identifying this group. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "description": "string",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330"
}| id required | string <uuid> A UUID string identifying this group. |
| name required | string [ 1 .. 255 ] characters |
| description required | string non-empty |
| business required | string <uuid> |
{- "name": "string",
- "description": "string",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "description": "string",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330"
}| id required | string <uuid> A UUID string identifying this group. |
| name | string [ 1 .. 255 ] characters |
| description | string non-empty |
| business | string <uuid> |
{- "name": "string",
- "description": "string",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "description": "string",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330"
}| branch | string <uuid> |
| business | string <uuid> |
| categories | Array of strings <uuid> [ items <uuid > ] |
| description | string |
| group | string <uuid> |
| inventory_unit | string |
| name | string |
| page | integer A page number within the paginated result set. |
{- "count": 123,
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "description": "string",
- "min_selling_quota": 9223372036854776000,
- "inventory_unit": "string",
- "quantity": 2147483647,
- "notify_below": 2147483647,
- "receive_online_orders": true,
- "is_active": true,
- "is_returnable": true,
- "is_visible_online": true,
- "group": "fbd899a6-8a66-4f51-a95d-68668de198ae",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65",
- "categories": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}
]
}| name required | string [ 1 .. 255 ] characters |
| description required | string non-empty |
| min_selling_quota | integer <int64> [ 0 .. 9223372036854776000 ] |
| inventory_unit required | string [ 1 .. 255 ] characters |
| quantity | integer [ 0 .. 2147483647 ] |
| notify_below | integer [ 0 .. 2147483647 ] |
| receive_online_orders | boolean |
| is_active | boolean |
| is_returnable | boolean |
| is_visible_online | boolean |
| group | string or null <uuid> |
| business required | string <uuid> |
| branch required | string <uuid> |
| categories | Array of strings <uuid> [ items <uuid > ] |
{- "name": "string",
- "description": "string",
- "min_selling_quota": 9223372036854776000,
- "inventory_unit": "string",
- "quantity": 2147483647,
- "notify_below": 2147483647,
- "receive_online_orders": true,
- "is_active": true,
- "is_returnable": true,
- "is_visible_online": true,
- "group": "fbd899a6-8a66-4f51-a95d-68668de198ae",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65",
- "categories": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "description": "string",
- "min_selling_quota": 9223372036854776000,
- "inventory_unit": "string",
- "quantity": 2147483647,
- "notify_below": 2147483647,
- "receive_online_orders": true,
- "is_active": true,
- "is_returnable": true,
- "is_visible_online": true,
- "group": "fbd899a6-8a66-4f51-a95d-68668de198ae",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65",
- "categories": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}| id required | string <uuid> A UUID string identifying this item. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "description": "string",
- "min_selling_quota": 9223372036854776000,
- "inventory_unit": "string",
- "quantity": 2147483647,
- "notify_below": 2147483647,
- "receive_online_orders": true,
- "is_active": true,
- "is_returnable": true,
- "is_visible_online": true,
- "group": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "total_payable": -99999999,
- "status": "PENDING",
- "additional_info": null,
- "customer": "0ac6320b-fa4d-4235-8d23-413a2b863bad",
- "employee": "582b6557-33f4-480f-b578-984bbca0a925",
- "payment_method": "f4815f3e-3832-4ed6-92fd-134ab34dea26",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65"
}, - "business": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "total_payable": -99999999,
- "status": "PENDING",
- "additional_info": null,
- "customer": "0ac6320b-fa4d-4235-8d23-413a2b863bad",
- "employee": "582b6557-33f4-480f-b578-984bbca0a925",
- "payment_method": "f4815f3e-3832-4ed6-92fd-134ab34dea26",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65"
}, - "branch": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "total_payable": -99999999,
- "status": "PENDING",
- "additional_info": null,
- "customer": "0ac6320b-fa4d-4235-8d23-413a2b863bad",
- "employee": "582b6557-33f4-480f-b578-984bbca0a925",
- "payment_method": "f4815f3e-3832-4ed6-92fd-134ab34dea26",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65"
}, - "categories": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "total_payable": -99999999,
- "status": "PENDING",
- "additional_info": null,
- "customer": "0ac6320b-fa4d-4235-8d23-413a2b863bad",
- "employee": "582b6557-33f4-480f-b578-984bbca0a925",
- "payment_method": "f4815f3e-3832-4ed6-92fd-134ab34dea26",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65"
}
]
}| id required | string <uuid> A UUID string identifying this item. |
| name required | string [ 1 .. 255 ] characters |
| description required | string non-empty |
| min_selling_quota | integer <int64> [ 0 .. 9223372036854776000 ] |
| inventory_unit required | string [ 1 .. 255 ] characters |
| quantity | integer [ 0 .. 2147483647 ] |
| notify_below | integer [ 0 .. 2147483647 ] |
| receive_online_orders | boolean |
| is_active | boolean |
| is_returnable | boolean |
| is_visible_online | boolean |
| group | string or null <uuid> |
| business required | string <uuid> |
| branch required | string <uuid> |
| categories | Array of strings <uuid> [ items <uuid > ] |
{- "name": "string",
- "description": "string",
- "min_selling_quota": 9223372036854776000,
- "inventory_unit": "string",
- "quantity": 2147483647,
- "notify_below": 2147483647,
- "receive_online_orders": true,
- "is_active": true,
- "is_returnable": true,
- "is_visible_online": true,
- "group": "fbd899a6-8a66-4f51-a95d-68668de198ae",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65",
- "categories": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "description": "string",
- "min_selling_quota": 9223372036854776000,
- "inventory_unit": "string",
- "quantity": 2147483647,
- "notify_below": 2147483647,
- "receive_online_orders": true,
- "is_active": true,
- "is_returnable": true,
- "is_visible_online": true,
- "group": "fbd899a6-8a66-4f51-a95d-68668de198ae",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65",
- "categories": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}| id required | string <uuid> A UUID string identifying this item. |
| name | string [ 1 .. 255 ] characters |
| description | string non-empty |
| min_selling_quota | integer <int64> [ 0 .. 9223372036854776000 ] |
| inventory_unit | string [ 1 .. 255 ] characters |
| quantity | integer [ 0 .. 2147483647 ] |
| notify_below | integer [ 0 .. 2147483647 ] |
| receive_online_orders | boolean |
| is_active | boolean |
| is_returnable | boolean |
| is_visible_online | boolean |
| group | string or null <uuid> |
| business | string <uuid> |
| branch | string <uuid> |
| categories | Array of strings <uuid> [ items <uuid > ] |
{- "name": "string",
- "description": "string",
- "min_selling_quota": 9223372036854776000,
- "inventory_unit": "string",
- "quantity": 2147483647,
- "notify_below": 2147483647,
- "receive_online_orders": true,
- "is_active": true,
- "is_returnable": true,
- "is_visible_online": true,
- "group": "fbd899a6-8a66-4f51-a95d-68668de198ae",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65",
- "categories": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "description": "string",
- "min_selling_quota": 9223372036854776000,
- "inventory_unit": "string",
- "quantity": 2147483647,
- "notify_below": 2147483647,
- "receive_online_orders": true,
- "is_active": true,
- "is_returnable": true,
- "is_visible_online": true,
- "group": "fbd899a6-8a66-4f51-a95d-68668de198ae",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65",
- "categories": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}| item | string <uuid> |
| item__categories | string <uuid> |
| item__description | string |
| item__group | string <uuid> |
| item__group__name | string |
| item__name | string |
| name | string |
| page | integer A page number within the paginated result set. |
| selling_price_max | number or null <double> [ 1 .. 10000000000 ) |
| selling_price_min | number or null <double> [ 1 .. 10000000000 ) |
| sku | string |
{- "count": 123,
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "selling_price": 1,
- "quantity": 2147483647,
- "sku": "string",
- "is_default": true,
- "item": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "total_payable": -99999999,
- "status": "PENDING",
- "additional_info": null,
- "customer": "0ac6320b-fa4d-4235-8d23-413a2b863bad",
- "employee": "582b6557-33f4-480f-b578-984bbca0a925",
- "payment_method": "f4815f3e-3832-4ed6-92fd-134ab34dea26",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65"
}
}
]
}Array of objects (InnerPropertyRequest) | |
Array of objects (InnerPricingRequest) | |
| name required | string [ 1 .. 255 ] characters |
| quantity | integer [ 0 .. 2147483647 ] |
| sku required | string [ 1 .. 255 ] characters |
| is_default | boolean |
| item required | string <uuid> |
{- "properties": [
- {
- "name": "string",
- "value": "string"
}
], - "pricings": [
- {
- "price": 9223372036854776000,
- "min_selling_quota": 9223372036854776000
}
], - "name": "string",
- "quantity": 2147483647,
- "sku": "string",
- "is_default": true,
- "item": "5953ca74-944e-4941-87b8-f4f42ef3ae12"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "properties": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "value": "string"
}
], - "pricings": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "price": 9223372036854776000,
- "min_selling_quota": 9223372036854776000
}
], - "item_details": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "description": "string",
- "min_selling_quota": 9223372036854776000,
- "inventory_unit": "string",
- "quantity": 2147483647,
- "notify_below": 2147483647,
- "receive_online_orders": true,
- "is_active": true,
- "is_returnable": true,
- "is_visible_online": true,
- "group": "fbd899a6-8a66-4f51-a95d-68668de198ae",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65",
- "categories": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "selling_price": -9999999999,
- "quantity": 2147483647,
- "sku": "string",
- "is_default": true,
- "item": "5953ca74-944e-4941-87b8-f4f42ef3ae12"
}| id required | string <uuid> A UUID string identifying this item variant. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "selling_price": 1,
- "quantity": 2147483647,
- "sku": "string",
- "is_default": true,
- "item": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "total_payable": -99999999,
- "status": "PENDING",
- "additional_info": null,
- "customer": "0ac6320b-fa4d-4235-8d23-413a2b863bad",
- "employee": "582b6557-33f4-480f-b578-984bbca0a925",
- "payment_method": "f4815f3e-3832-4ed6-92fd-134ab34dea26",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65"
}
}| id required | string <uuid> A UUID string identifying this item variant. |
Array of objects (InnerPropertyRequest) | |
Array of objects (InnerPricingRequest) | |
| name required | string [ 1 .. 255 ] characters |
| quantity | integer [ 0 .. 2147483647 ] |
| sku required | string [ 1 .. 255 ] characters |
| is_default | boolean |
| item required | string <uuid> |
{- "properties": [
- {
- "name": "string",
- "value": "string"
}
], - "pricings": [
- {
- "price": 9223372036854776000,
- "min_selling_quota": 9223372036854776000
}
], - "name": "string",
- "quantity": 2147483647,
- "sku": "string",
- "is_default": true,
- "item": "5953ca74-944e-4941-87b8-f4f42ef3ae12"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "properties": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "value": "string"
}
], - "pricings": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "price": 9223372036854776000,
- "min_selling_quota": 9223372036854776000
}
], - "item_details": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "description": "string",
- "min_selling_quota": 9223372036854776000,
- "inventory_unit": "string",
- "quantity": 2147483647,
- "notify_below": 2147483647,
- "receive_online_orders": true,
- "is_active": true,
- "is_returnable": true,
- "is_visible_online": true,
- "group": "fbd899a6-8a66-4f51-a95d-68668de198ae",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65",
- "categories": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "selling_price": -9999999999,
- "quantity": 2147483647,
- "sku": "string",
- "is_default": true,
- "item": "5953ca74-944e-4941-87b8-f4f42ef3ae12"
}| id required | string <uuid> A UUID string identifying this item variant. |
Array of objects (InnerPropertyRequest) | |
Array of objects (InnerPricingRequest) | |
| name | string [ 1 .. 255 ] characters |
| quantity | integer [ 0 .. 2147483647 ] |
| sku | string [ 1 .. 255 ] characters |
| is_default | boolean |
| item | string <uuid> |
{- "properties": [
- {
- "name": "string",
- "value": "string"
}
], - "pricings": [
- {
- "price": 9223372036854776000,
- "min_selling_quota": 9223372036854776000
}
], - "name": "string",
- "quantity": 2147483647,
- "sku": "string",
- "is_default": true,
- "item": "5953ca74-944e-4941-87b8-f4f42ef3ae12"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "properties": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "value": "string"
}
], - "pricings": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "price": 9223372036854776000,
- "min_selling_quota": 9223372036854776000
}
], - "item_details": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "description": "string",
- "min_selling_quota": 9223372036854776000,
- "inventory_unit": "string",
- "quantity": 2147483647,
- "notify_below": 2147483647,
- "receive_online_orders": true,
- "is_active": true,
- "is_returnable": true,
- "is_visible_online": true,
- "group": "fbd899a6-8a66-4f51-a95d-68668de198ae",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65",
- "categories": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "selling_price": -9999999999,
- "quantity": 2147483647,
- "sku": "string",
- "is_default": true,
- "item": "5953ca74-944e-4941-87b8-f4f42ef3ae12"
}| price required | integer <int64> [ 0 .. 9223372036854776000 ] |
| min_selling_quota required | integer <int64> [ 0 .. 9223372036854776000 ] |
| item_variant required | string <uuid> |
{- "price": 9223372036854776000,
- "min_selling_quota": 9223372036854776000,
- "item_variant": "50e3cff1-7840-46e0-8a27-e64fada2bf75"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "price": 9223372036854776000,
- "min_selling_quota": 9223372036854776000,
- "item_variant": "50e3cff1-7840-46e0-8a27-e64fada2bf75"
}| id required | string <uuid> A UUID string identifying this item variant. |
| price required | integer <int64> [ 0 .. 9223372036854776000 ] |
| min_selling_quota required | integer <int64> [ 0 .. 9223372036854776000 ] |
| item_variant required | string <uuid> |
{- "price": 9223372036854776000,
- "min_selling_quota": 9223372036854776000,
- "item_variant": "50e3cff1-7840-46e0-8a27-e64fada2bf75"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "price": 9223372036854776000,
- "min_selling_quota": 9223372036854776000,
- "item_variant": "50e3cff1-7840-46e0-8a27-e64fada2bf75"
}| id required | string <uuid> A UUID string identifying this item variant. |
| price | integer <int64> [ 0 .. 9223372036854776000 ] |
| min_selling_quota | integer <int64> [ 0 .. 9223372036854776000 ] |
| item_variant | string <uuid> |
{- "price": 9223372036854776000,
- "min_selling_quota": 9223372036854776000,
- "item_variant": "50e3cff1-7840-46e0-8a27-e64fada2bf75"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "price": 9223372036854776000,
- "min_selling_quota": 9223372036854776000,
- "item_variant": "50e3cff1-7840-46e0-8a27-e64fada2bf75"
}| name required | string [ 1 .. 255 ] characters |
| value required | string [ 1 .. 255 ] characters |
| item_variant required | string <uuid> |
{- "name": "string",
- "value": "string",
- "item_variant": "50e3cff1-7840-46e0-8a27-e64fada2bf75"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "value": "string",
- "item_variant": "50e3cff1-7840-46e0-8a27-e64fada2bf75"
}| id required | string <uuid> A UUID string identifying this item variant. |
| name required | string [ 1 .. 255 ] characters |
| value required | string [ 1 .. 255 ] characters |
| item_variant required | string <uuid> |
{- "name": "string",
- "value": "string",
- "item_variant": "50e3cff1-7840-46e0-8a27-e64fada2bf75"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "value": "string",
- "item_variant": "50e3cff1-7840-46e0-8a27-e64fada2bf75"
}| id required | string <uuid> A UUID string identifying this item variant. |
| name | string [ 1 .. 255 ] characters |
| value | string [ 1 .. 255 ] characters |
| item_variant | string <uuid> |
{- "name": "string",
- "value": "string",
- "item_variant": "50e3cff1-7840-46e0-8a27-e64fada2bf75"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "value": "string",
- "item_variant": "50e3cff1-7840-46e0-8a27-e64fada2bf75"
}ViewSet for individual movement items
| page | integer A page number within the paginated result set. |
{- "count": 123,
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "supplied_item_details": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "quantity_requested": 2147483647,
- "quantity_shipped": 2147483647,
- "quantity_received": 2147483647,
- "notes": "string",
- "movement": "7127e853-6eab-467a-a246-61a03f5a76db",
- "variant": "142a232c-9f85-422c-a086-4c1a6a9a07f1",
- "supplied_item": "e52bbc4f-d4b2-41ad-aa0a-e48d1d9588a6"
}
]
}ViewSet for individual movement items
| quantity_requested required | integer [ 0 .. 2147483647 ] |
| quantity_shipped | integer [ 0 .. 2147483647 ] |
| quantity_received | integer [ 0 .. 2147483647 ] |
| notes | string |
| movement required | string <uuid> |
| variant required | string <uuid> |
| supplied_item required | string <uuid> |
{- "quantity_requested": 2147483647,
- "quantity_shipped": 2147483647,
- "quantity_received": 2147483647,
- "notes": "string",
- "movement": "7127e853-6eab-467a-a246-61a03f5a76db",
- "variant": "142a232c-9f85-422c-a086-4c1a6a9a07f1",
- "supplied_item": "e52bbc4f-d4b2-41ad-aa0a-e48d1d9588a6"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "supplied_item_details": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "quantity_requested": 2147483647,
- "quantity_shipped": 2147483647,
- "quantity_received": 2147483647,
- "notes": "string",
- "movement": "7127e853-6eab-467a-a246-61a03f5a76db",
- "variant": "142a232c-9f85-422c-a086-4c1a6a9a07f1",
- "supplied_item": "e52bbc4f-d4b2-41ad-aa0a-e48d1d9588a6"
}ViewSet for individual movement items
| id required | string <uuid> A UUID string identifying this inventory movement item. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "supplied_item_details": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "quantity_requested": 2147483647,
- "quantity_shipped": 2147483647,
- "quantity_received": 2147483647,
- "notes": "string",
- "movement": "7127e853-6eab-467a-a246-61a03f5a76db",
- "variant": "142a232c-9f85-422c-a086-4c1a6a9a07f1",
- "supplied_item": "e52bbc4f-d4b2-41ad-aa0a-e48d1d9588a6"
}ViewSet for individual movement items
| id required | string <uuid> A UUID string identifying this inventory movement item. |
| quantity_requested required | integer [ 0 .. 2147483647 ] |
| quantity_shipped | integer [ 0 .. 2147483647 ] |
| quantity_received | integer [ 0 .. 2147483647 ] |
| notes | string |
| movement required | string <uuid> |
| variant required | string <uuid> |
| supplied_item required | string <uuid> |
{- "quantity_requested": 2147483647,
- "quantity_shipped": 2147483647,
- "quantity_received": 2147483647,
- "notes": "string",
- "movement": "7127e853-6eab-467a-a246-61a03f5a76db",
- "variant": "142a232c-9f85-422c-a086-4c1a6a9a07f1",
- "supplied_item": "e52bbc4f-d4b2-41ad-aa0a-e48d1d9588a6"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "supplied_item_details": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "quantity_requested": 2147483647,
- "quantity_shipped": 2147483647,
- "quantity_received": 2147483647,
- "notes": "string",
- "movement": "7127e853-6eab-467a-a246-61a03f5a76db",
- "variant": "142a232c-9f85-422c-a086-4c1a6a9a07f1",
- "supplied_item": "e52bbc4f-d4b2-41ad-aa0a-e48d1d9588a6"
}ViewSet for individual movement items
| id required | string <uuid> A UUID string identifying this inventory movement item. |
| quantity_requested | integer [ 0 .. 2147483647 ] |
| quantity_shipped | integer [ 0 .. 2147483647 ] |
| quantity_received | integer [ 0 .. 2147483647 ] |
| notes | string |
| movement | string <uuid> |
| variant | string <uuid> |
| supplied_item | string <uuid> |
{- "quantity_requested": 2147483647,
- "quantity_shipped": 2147483647,
- "quantity_received": 2147483647,
- "notes": "string",
- "movement": "7127e853-6eab-467a-a246-61a03f5a76db",
- "variant": "142a232c-9f85-422c-a086-4c1a6a9a07f1",
- "supplied_item": "e52bbc4f-d4b2-41ad-aa0a-e48d1d9588a6"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "supplied_item_details": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "quantity_requested": 2147483647,
- "quantity_shipped": 2147483647,
- "quantity_received": 2147483647,
- "notes": "string",
- "movement": "7127e853-6eab-467a-a246-61a03f5a76db",
- "variant": "142a232c-9f85-422c-a086-4c1a6a9a07f1",
- "supplied_item": "e52bbc4f-d4b2-41ad-aa0a-e48d1d9588a6"
}ViewSet for managing inventory movements between branches
| page | integer A page number within the paginated result set. |
{- "count": 123,
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "movement_items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "supplied_item_details": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "quantity_requested": 2147483647,
- "quantity_shipped": 2147483647,
- "quantity_received": 2147483647,
- "notes": "string",
- "movement": "7127e853-6eab-467a-a246-61a03f5a76db",
- "variant": "142a232c-9f85-422c-a086-4c1a6a9a07f1",
- "supplied_item": "e52bbc4f-d4b2-41ad-aa0a-e48d1d9588a6"
}
], - "from_branch_name": "string",
- "to_branch_name": "string",
- "requested_by_name": "string",
- "status_display": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "movement_number": "string",
- "status": "pending",
- "notes": "string",
- "approved_at": "2019-08-24T14:15:22Z",
- "shipped_at": "2019-08-24T14:15:22Z",
- "received_at": "2019-08-24T14:15:22Z",
- "from_branch": "3b260f01-53f1-4633-bb06-1415bb422479",
- "to_branch": "a2e16236-0920-4e56-855e-19184448c915",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "requested_by": "cda0f200-65cd-4343-aedd-9c936b908826",
- "approved_by": "02030314-b162-4b4d-8af1-88eabdcc615d",
- "shipped_by": "8fbd1fa6-cc4f-452e-9658-18ef16c93e60",
- "received_by": "bddb0072-16e3-43f3-b441-8926c9706607"
}
]
}ViewSet for managing inventory movements between branches
| from_branch required | string <uuid> |
| to_branch required | string <uuid> |
| notes | string |
required | Array of objects |
{- "from_branch": "3b260f01-53f1-4633-bb06-1415bb422479",
- "to_branch": "a2e16236-0920-4e56-855e-19184448c915",
- "notes": "string",
- "items": [
- {
- "property1": null,
- "property2": null
}
]
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "from_branch": "3b260f01-53f1-4633-bb06-1415bb422479",
- "to_branch": "a2e16236-0920-4e56-855e-19184448c915",
- "notes": "string"
}ViewSet for managing inventory movements between branches
| id required | string <uuid> A UUID string identifying this inventory movement. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "movement_items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "supplied_item_details": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "quantity_requested": 2147483647,
- "quantity_shipped": 2147483647,
- "quantity_received": 2147483647,
- "notes": "string",
- "movement": "7127e853-6eab-467a-a246-61a03f5a76db",
- "variant": "142a232c-9f85-422c-a086-4c1a6a9a07f1",
- "supplied_item": "e52bbc4f-d4b2-41ad-aa0a-e48d1d9588a6"
}
], - "from_branch_name": "string",
- "to_branch_name": "string",
- "requested_by_name": "string",
- "status_display": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "movement_number": "string",
- "status": "pending",
- "notes": "string",
- "approved_at": "2019-08-24T14:15:22Z",
- "shipped_at": "2019-08-24T14:15:22Z",
- "received_at": "2019-08-24T14:15:22Z",
- "from_branch": "3b260f01-53f1-4633-bb06-1415bb422479",
- "to_branch": "a2e16236-0920-4e56-855e-19184448c915",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "requested_by": "cda0f200-65cd-4343-aedd-9c936b908826",
- "approved_by": "02030314-b162-4b4d-8af1-88eabdcc615d",
- "shipped_by": "8fbd1fa6-cc4f-452e-9658-18ef16c93e60",
- "received_by": "bddb0072-16e3-43f3-b441-8926c9706607"
}ViewSet for managing inventory movements between branches
| id required | string <uuid> A UUID string identifying this inventory movement. |
| status | string (InventoryMovementStatusEnum) Enum: "pending" "approved" "shipped" "received" "cancelled"
|
| notes | string |
| from_branch required | string <uuid> |
| to_branch required | string <uuid> |
| business required | string <uuid> |
| requested_by | string or null <uuid> |
{- "status": "pending",
- "notes": "string",
- "from_branch": "3b260f01-53f1-4633-bb06-1415bb422479",
- "to_branch": "a2e16236-0920-4e56-855e-19184448c915",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "requested_by": "cda0f200-65cd-4343-aedd-9c936b908826"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "movement_items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "supplied_item_details": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "quantity_requested": 2147483647,
- "quantity_shipped": 2147483647,
- "quantity_received": 2147483647,
- "notes": "string",
- "movement": "7127e853-6eab-467a-a246-61a03f5a76db",
- "variant": "142a232c-9f85-422c-a086-4c1a6a9a07f1",
- "supplied_item": "e52bbc4f-d4b2-41ad-aa0a-e48d1d9588a6"
}
], - "from_branch_name": "string",
- "to_branch_name": "string",
- "requested_by_name": "string",
- "status_display": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "movement_number": "string",
- "status": "pending",
- "notes": "string",
- "approved_at": "2019-08-24T14:15:22Z",
- "shipped_at": "2019-08-24T14:15:22Z",
- "received_at": "2019-08-24T14:15:22Z",
- "from_branch": "3b260f01-53f1-4633-bb06-1415bb422479",
- "to_branch": "a2e16236-0920-4e56-855e-19184448c915",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "requested_by": "cda0f200-65cd-4343-aedd-9c936b908826",
- "approved_by": "02030314-b162-4b4d-8af1-88eabdcc615d",
- "shipped_by": "8fbd1fa6-cc4f-452e-9658-18ef16c93e60",
- "received_by": "bddb0072-16e3-43f3-b441-8926c9706607"
}ViewSet for managing inventory movements between branches
| id required | string <uuid> A UUID string identifying this inventory movement. |
| status | string (InventoryMovementStatusEnum) Enum: "pending" "approved" "shipped" "received" "cancelled"
|
| notes | string |
| from_branch | string <uuid> |
| to_branch | string <uuid> |
| business | string <uuid> |
| requested_by | string or null <uuid> |
{- "status": "pending",
- "notes": "string",
- "from_branch": "3b260f01-53f1-4633-bb06-1415bb422479",
- "to_branch": "a2e16236-0920-4e56-855e-19184448c915",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "requested_by": "cda0f200-65cd-4343-aedd-9c936b908826"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "movement_items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "supplied_item_details": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "quantity_requested": 2147483647,
- "quantity_shipped": 2147483647,
- "quantity_received": 2147483647,
- "notes": "string",
- "movement": "7127e853-6eab-467a-a246-61a03f5a76db",
- "variant": "142a232c-9f85-422c-a086-4c1a6a9a07f1",
- "supplied_item": "e52bbc4f-d4b2-41ad-aa0a-e48d1d9588a6"
}
], - "from_branch_name": "string",
- "to_branch_name": "string",
- "requested_by_name": "string",
- "status_display": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "movement_number": "string",
- "status": "pending",
- "notes": "string",
- "approved_at": "2019-08-24T14:15:22Z",
- "shipped_at": "2019-08-24T14:15:22Z",
- "received_at": "2019-08-24T14:15:22Z",
- "from_branch": "3b260f01-53f1-4633-bb06-1415bb422479",
- "to_branch": "a2e16236-0920-4e56-855e-19184448c915",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "requested_by": "cda0f200-65cd-4343-aedd-9c936b908826",
- "approved_by": "02030314-b162-4b4d-8af1-88eabdcc615d",
- "shipped_by": "8fbd1fa6-cc4f-452e-9658-18ef16c93e60",
- "received_by": "bddb0072-16e3-43f3-b441-8926c9706607"
}Approve a pending inventory movement
| id required | string <uuid> A UUID string identifying this inventory movement. |
| status | string (InventoryMovementStatusEnum) Enum: "pending" "approved" "shipped" "received" "cancelled"
|
| notes | string |
| from_branch required | string <uuid> |
| to_branch required | string <uuid> |
| business required | string <uuid> |
| requested_by | string or null <uuid> |
{- "status": "pending",
- "notes": "string",
- "from_branch": "3b260f01-53f1-4633-bb06-1415bb422479",
- "to_branch": "a2e16236-0920-4e56-855e-19184448c915",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "requested_by": "cda0f200-65cd-4343-aedd-9c936b908826"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "movement_items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "supplied_item_details": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "quantity_requested": 2147483647,
- "quantity_shipped": 2147483647,
- "quantity_received": 2147483647,
- "notes": "string",
- "movement": "7127e853-6eab-467a-a246-61a03f5a76db",
- "variant": "142a232c-9f85-422c-a086-4c1a6a9a07f1",
- "supplied_item": "e52bbc4f-d4b2-41ad-aa0a-e48d1d9588a6"
}
], - "from_branch_name": "string",
- "to_branch_name": "string",
- "requested_by_name": "string",
- "status_display": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "movement_number": "string",
- "status": "pending",
- "notes": "string",
- "approved_at": "2019-08-24T14:15:22Z",
- "shipped_at": "2019-08-24T14:15:22Z",
- "received_at": "2019-08-24T14:15:22Z",
- "from_branch": "3b260f01-53f1-4633-bb06-1415bb422479",
- "to_branch": "a2e16236-0920-4e56-855e-19184448c915",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "requested_by": "cda0f200-65cd-4343-aedd-9c936b908826",
- "approved_by": "02030314-b162-4b4d-8af1-88eabdcc615d",
- "shipped_by": "8fbd1fa6-cc4f-452e-9658-18ef16c93e60",
- "received_by": "bddb0072-16e3-43f3-b441-8926c9706607"
}Cancel a movement (only if pending or approved)
| id required | string <uuid> A UUID string identifying this inventory movement. |
| status | string (InventoryMovementStatusEnum) Enum: "pending" "approved" "shipped" "received" "cancelled"
|
| notes | string |
| from_branch required | string <uuid> |
| to_branch required | string <uuid> |
| business required | string <uuid> |
| requested_by | string or null <uuid> |
{- "status": "pending",
- "notes": "string",
- "from_branch": "3b260f01-53f1-4633-bb06-1415bb422479",
- "to_branch": "a2e16236-0920-4e56-855e-19184448c915",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "requested_by": "cda0f200-65cd-4343-aedd-9c936b908826"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "movement_items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "supplied_item_details": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "quantity_requested": 2147483647,
- "quantity_shipped": 2147483647,
- "quantity_received": 2147483647,
- "notes": "string",
- "movement": "7127e853-6eab-467a-a246-61a03f5a76db",
- "variant": "142a232c-9f85-422c-a086-4c1a6a9a07f1",
- "supplied_item": "e52bbc4f-d4b2-41ad-aa0a-e48d1d9588a6"
}
], - "from_branch_name": "string",
- "to_branch_name": "string",
- "requested_by_name": "string",
- "status_display": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "movement_number": "string",
- "status": "pending",
- "notes": "string",
- "approved_at": "2019-08-24T14:15:22Z",
- "shipped_at": "2019-08-24T14:15:22Z",
- "received_at": "2019-08-24T14:15:22Z",
- "from_branch": "3b260f01-53f1-4633-bb06-1415bb422479",
- "to_branch": "a2e16236-0920-4e56-855e-19184448c915",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "requested_by": "cda0f200-65cd-4343-aedd-9c936b908826",
- "approved_by": "02030314-b162-4b4d-8af1-88eabdcc615d",
- "shipped_by": "8fbd1fa6-cc4f-452e-9658-18ef16c93e60",
- "received_by": "bddb0072-16e3-43f3-b441-8926c9706607"
}Mark movement as received and add inventory to destination
| id required | string <uuid> A UUID string identifying this inventory movement. |
| status | string (InventoryMovementStatusEnum) Enum: "pending" "approved" "shipped" "received" "cancelled"
|
| notes | string |
| from_branch required | string <uuid> |
| to_branch required | string <uuid> |
| business required | string <uuid> |
| requested_by | string or null <uuid> |
{- "status": "pending",
- "notes": "string",
- "from_branch": "3b260f01-53f1-4633-bb06-1415bb422479",
- "to_branch": "a2e16236-0920-4e56-855e-19184448c915",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "requested_by": "cda0f200-65cd-4343-aedd-9c936b908826"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "movement_items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "supplied_item_details": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "quantity_requested": 2147483647,
- "quantity_shipped": 2147483647,
- "quantity_received": 2147483647,
- "notes": "string",
- "movement": "7127e853-6eab-467a-a246-61a03f5a76db",
- "variant": "142a232c-9f85-422c-a086-4c1a6a9a07f1",
- "supplied_item": "e52bbc4f-d4b2-41ad-aa0a-e48d1d9588a6"
}
], - "from_branch_name": "string",
- "to_branch_name": "string",
- "requested_by_name": "string",
- "status_display": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "movement_number": "string",
- "status": "pending",
- "notes": "string",
- "approved_at": "2019-08-24T14:15:22Z",
- "shipped_at": "2019-08-24T14:15:22Z",
- "received_at": "2019-08-24T14:15:22Z",
- "from_branch": "3b260f01-53f1-4633-bb06-1415bb422479",
- "to_branch": "a2e16236-0920-4e56-855e-19184448c915",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "requested_by": "cda0f200-65cd-4343-aedd-9c936b908826",
- "approved_by": "02030314-b162-4b4d-8af1-88eabdcc615d",
- "shipped_by": "8fbd1fa6-cc4f-452e-9658-18ef16c93e60",
- "received_by": "bddb0072-16e3-43f3-b441-8926c9706607"
}Mark movement as shipped and reduce inventory from source
| id required | string <uuid> A UUID string identifying this inventory movement. |
| status | string (InventoryMovementStatusEnum) Enum: "pending" "approved" "shipped" "received" "cancelled"
|
| notes | string |
| from_branch required | string <uuid> |
| to_branch required | string <uuid> |
| business required | string <uuid> |
| requested_by | string or null <uuid> |
{- "status": "pending",
- "notes": "string",
- "from_branch": "3b260f01-53f1-4633-bb06-1415bb422479",
- "to_branch": "a2e16236-0920-4e56-855e-19184448c915",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "requested_by": "cda0f200-65cd-4343-aedd-9c936b908826"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "movement_items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "supplied_item_details": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "quantity_requested": 2147483647,
- "quantity_shipped": 2147483647,
- "quantity_received": 2147483647,
- "notes": "string",
- "movement": "7127e853-6eab-467a-a246-61a03f5a76db",
- "variant": "142a232c-9f85-422c-a086-4c1a6a9a07f1",
- "supplied_item": "e52bbc4f-d4b2-41ad-aa0a-e48d1d9588a6"
}
], - "from_branch_name": "string",
- "to_branch_name": "string",
- "requested_by_name": "string",
- "status_display": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "movement_number": "string",
- "status": "pending",
- "notes": "string",
- "approved_at": "2019-08-24T14:15:22Z",
- "shipped_at": "2019-08-24T14:15:22Z",
- "received_at": "2019-08-24T14:15:22Z",
- "from_branch": "3b260f01-53f1-4633-bb06-1415bb422479",
- "to_branch": "a2e16236-0920-4e56-855e-19184448c915",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "requested_by": "cda0f200-65cd-4343-aedd-9c936b908826",
- "approved_by": "02030314-b162-4b4d-8af1-88eabdcc615d",
- "shipped_by": "8fbd1fa6-cc4f-452e-9658-18ef16c93e60",
- "received_by": "bddb0072-16e3-43f3-b441-8926c9706607"
}| quantity required | integer [ 0 .. 2147483647 ] |
| initial_quantity | integer [ 0 .. 2147483647 ] |
| purchase_price required | number <double> [ 1 .. 10000000000 ) |
| selling_price required | number <double> [ 1 .. 10000000000 ) |
| is_returnable | boolean |
| is_visible_online | boolean |
| notify_below | integer [ 0 .. 2147483647 ] |
| batch_number required | string [ 1 .. 255 ] characters |
| product_number required | string [ 1 .. 255 ] characters |
| expire_date | string or null <date> |
| man_date | string or null <date> |
| item | string or null <uuid> |
| variant required | string <uuid> |
| supply required | string <uuid> |
| business required | string <uuid> |
{- "quantity": 2147483647,
- "initial_quantity": 2147483647,
- "purchase_price": 1,
- "selling_price": 1,
- "is_returnable": true,
- "is_visible_online": true,
- "notify_below": 2147483647,
- "batch_number": "string",
- "product_number": "string",
- "expire_date": "2019-08-24",
- "man_date": "2019-08-24",
- "item": "5953ca74-944e-4941-87b8-f4f42ef3ae12",
- "variant": "142a232c-9f85-422c-a086-4c1a6a9a07f1",
- "supply": "e9d6a0f2-def8-468d-8f13-287d9fa75962",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "quantity": 2147483647,
- "initial_quantity": 2147483647,
- "purchase_price": 1,
- "selling_price": 1,
- "is_returnable": true,
- "is_visible_online": true,
- "notify_below": 2147483647,
- "batch_number": "string",
- "product_number": "string",
- "expire_date": "2019-08-24",
- "man_date": "2019-08-24",
- "item": "5953ca74-944e-4941-87b8-f4f42ef3ae12",
- "variant": "142a232c-9f85-422c-a086-4c1a6a9a07f1",
- "supply": "e9d6a0f2-def8-468d-8f13-287d9fa75962",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330"
}| business | string <uuid> |
string | |
| name | string |
| page | integer A page number within the paginated result set. |
| phone_number | string |
{- "count": 123,
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "email": "user@example.com",
- "phone_number": "string",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330"
}
]
}| name required | string [ 1 .. 255 ] characters |
| email required | string <email> [ 1 .. 254 ] characters |
| phone_number | string <= 15 characters ^(9|7)\d{8}$ |
| business required | string <uuid> |
{- "name": "string",
- "email": "user@example.com",
- "phone_number": "string",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "name": "string",
- "email": "user@example.com",
- "phone_number": "string",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330"
}| page | integer A page number within the paginated result set. |
{- "count": 123,
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "item": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "quantity": 2147483647,
- "initial_quantity": 2147483647,
- "purchase_price": 1,
- "selling_price": 1,
- "is_returnable": true,
- "is_visible_online": true,
- "notify_below": 2147483647,
- "batch_number": "string",
- "product_number": "string",
- "expire_date": "2019-08-24",
- "man_date": "2019-08-24",
- "item": "5953ca74-944e-4941-87b8-f4f42ef3ae12",
- "variant": "142a232c-9f85-422c-a086-4c1a6a9a07f1",
- "supply": "e9d6a0f2-def8-468d-8f13-287d9fa75962",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "label": "string",
- "no_of_items": 2147483647,
- "total_cost": 1,
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "supplier": "acc345c7-457d-43bb-ac95-81572c2199bb",
- "payment_method": "f4815f3e-3832-4ed6-92fd-134ab34dea26"
}
]
}object (SuppliedItemInSupplyRequest) | |
| label required | string [ 1 .. 255 ] characters |
| no_of_items | integer [ 0 .. 2147483647 ] |
| total_cost | number <double> [ 1 .. 10000000000 ) |
| branch required | string <uuid> |
| business required | string or null <uuid> |
| supplier | string or null <uuid> |
| payment_method | string or null <uuid> |
{- "item": {
- "quantity": 2147483647,
- "initial_quantity": 2147483647,
- "purchase_price": 1,
- "selling_price": 1,
- "is_returnable": true,
- "is_visible_online": true,
- "notify_below": 2147483647,
- "batch_number": "string",
- "product_number": "string",
- "expire_date": "2019-08-24",
- "man_date": "2019-08-24",
- "variant": "142a232c-9f85-422c-a086-4c1a6a9a07f1"
}, - "label": "string",
- "no_of_items": 2147483647,
- "total_cost": 1,
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "supplier": "acc345c7-457d-43bb-ac95-81572c2199bb",
- "payment_method": "f4815f3e-3832-4ed6-92fd-134ab34dea26"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "item": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "quantity": 2147483647,
- "initial_quantity": 2147483647,
- "purchase_price": 1,
- "selling_price": 1,
- "is_returnable": true,
- "is_visible_online": true,
- "notify_below": 2147483647,
- "batch_number": "string",
- "product_number": "string",
- "expire_date": "2019-08-24",
- "man_date": "2019-08-24",
- "item": "5953ca74-944e-4941-87b8-f4f42ef3ae12",
- "variant": "142a232c-9f85-422c-a086-4c1a6a9a07f1",
- "supply": "e9d6a0f2-def8-468d-8f13-287d9fa75962",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330"
}, - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "label": "string",
- "no_of_items": 2147483647,
- "total_cost": 1,
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "supplier": "acc345c7-457d-43bb-ac95-81572c2199bb",
- "payment_method": "f4815f3e-3832-4ed6-92fd-134ab34dea26"
}| id required | string <uuid> A UUID string identifying this Supply. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "supplied_items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "quantity": 2147483647,
- "initial_quantity": 2147483647,
- "purchase_price": 1,
- "selling_price": 1,
- "is_returnable": true,
- "is_visible_online": true,
- "notify_below": 2147483647,
- "batch_number": "string",
- "product_number": "string",
- "expire_date": "2019-08-24",
- "man_date": "2019-08-24",
- "item": "5953ca74-944e-4941-87b8-f4f42ef3ae12",
- "variant": "142a232c-9f85-422c-a086-4c1a6a9a07f1",
- "supply": "e9d6a0f2-def8-468d-8f13-287d9fa75962",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330"
}
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "label": "string",
- "no_of_items": 2147483647,
- "total_cost": 1,
- "branch": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "total_payable": -99999999,
- "status": "PENDING",
- "additional_info": null,
- "customer": "0ac6320b-fa4d-4235-8d23-413a2b863bad",
- "employee": "582b6557-33f4-480f-b578-984bbca0a925",
- "payment_method": "f4815f3e-3832-4ed6-92fd-134ab34dea26",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65"
}, - "business": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "total_payable": -99999999,
- "status": "PENDING",
- "additional_info": null,
- "customer": "0ac6320b-fa4d-4235-8d23-413a2b863bad",
- "employee": "582b6557-33f4-480f-b578-984bbca0a925",
- "payment_method": "f4815f3e-3832-4ed6-92fd-134ab34dea26",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65"
}, - "supplier": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "total_payable": -99999999,
- "status": "PENDING",
- "additional_info": null,
- "customer": "0ac6320b-fa4d-4235-8d23-413a2b863bad",
- "employee": "582b6557-33f4-480f-b578-984bbca0a925",
- "payment_method": "f4815f3e-3832-4ed6-92fd-134ab34dea26",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65"
}, - "payment_method": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "total_payable": -99999999,
- "status": "PENDING",
- "additional_info": null,
- "customer": "0ac6320b-fa4d-4235-8d23-413a2b863bad",
- "employee": "582b6557-33f4-480f-b578-984bbca0a925",
- "payment_method": "f4815f3e-3832-4ed6-92fd-134ab34dea26",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65"
}
}Category management for marketplace with product counts and filtering
| ordering | string Which field to use when ordering the results. |
| page | integer A page number within the paginated result set. |
| search | string A search term. |
{- "count": 123,
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "industry": "string",
- "image": "string",
- "product_count": "string",
- "is_active": true
}
]
}Category management for marketplace with product counts and filtering
| id required | string <uuid> A UUID string identifying this category. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "industry": "string",
- "image": "string",
- "product_count": "string",
- "is_active": true
}Get categories organized by industry
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "industry": "string",
- "image": "string",
- "product_count": "string",
- "is_active": true
}List marketplace products with comprehensive filtering options
| business_types | Array of strings Filter by business types |
| businesses | Array of strings Filter by business IDs |
| categories | Array of strings Filter by category IDs |
| expire_date_from | string <date> Filter by expiry date from |
| expire_date_to | string <date> Filter by expiry date to |
| in_stock_only | boolean Show only in-stock items |
| industries | Array of strings Filter by industry IDs |
| max_price | number <double> Maximum price filter |
| min_price | number <double> Minimum price filter |
| min_quantity | integer Minimum quantity filter |
| ordering | string Which field to use when ordering the results. |
| page | integer A page number within the paginated result set. |
| properties | string Filter by properties (format: name:value,name2:value2) |
| q | string Advanced search query |
| search | string A search term. |
| verified_only | boolean Show only verified businesses |
{- "count": 123,
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "selling_price": 1,
- "quantity": 2147483647,
- "sku": "string",
- "item_name": "string",
- "item_description": "string",
- "inventory_unit": "string",
- "business": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "business_type": "retail",
- "is_verified": true
}, - "categories": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "industry_name": "string",
- "image": "string",
- "item_count": "string"
}
], - "item_images": "string",
- "is_in_stock": "string",
- "stock_status": "string",
- "discount_percentage": "string",
- "created_at": "2019-08-24T14:15:22Z"
}
]
}Comprehensive marketplace product endpoints with advanced filtering and search Focus on ItemVariant as the main marketplace product entity
| id required | string <uuid> A UUID string identifying this item variant. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "selling_price": 1,
- "quantity": 2147483647,
- "sku": "string",
- "is_default": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "item_name": "string",
- "item_description": "string",
- "item_images": "string",
- "inventory_unit": "string",
- "business": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "business_type": "retail",
- "is_verified": true
}, - "categories": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "industry_name": "string",
- "image": "string",
- "item_count": "string"
}
], - "properties": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "value": "string"
}
], - "pricings": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "price": 9223372036854776000,
- "min_selling_quota": 9223372036854776000
}
], - "is_in_stock": "string",
- "stock_status": "string",
- "discount_percentage": "string",
- "average_rating": "string",
- "is_available_online": "string"
}Get similar products based on category and properties
| id required | string <uuid> A UUID string identifying this item variant. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "selling_price": 1,
- "quantity": 2147483647,
- "sku": "string",
- "is_default": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "item_name": "string",
- "item_description": "string",
- "item_images": "string",
- "inventory_unit": "string",
- "business": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "business_type": "retail",
- "is_verified": true
}, - "categories": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "industry_name": "string",
- "image": "string",
- "item_count": "string"
}
], - "properties": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "value": "string"
}
], - "pricings": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "price": 9223372036854776000,
- "min_selling_quota": 9223372036854776000
}
], - "is_in_stock": "string",
- "stock_status": "string",
- "discount_percentage": "string",
- "average_rating": "string",
- "is_available_online": "string"
}Advanced search with multiple criteria
| name required | string [ 1 .. 255 ] characters |
| selling_price | number or null <double> [ 1 .. 10000000000 ) |
| quantity | integer [ 0 .. 2147483647 ] |
| sku required | string [ 1 .. 255 ] characters |
| is_default | boolean |
{- "name": "string",
- "selling_price": 1,
- "quantity": 2147483647,
- "sku": "string",
- "is_default": true
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "selling_price": 1,
- "quantity": 2147483647,
- "sku": "string",
- "is_default": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "item_name": "string",
- "item_description": "string",
- "item_images": "string",
- "inventory_unit": "string",
- "business": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "business_type": "retail",
- "is_verified": true
}, - "categories": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "industry_name": "string",
- "image": "string",
- "item_count": "string"
}
], - "properties": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "value": "string"
}
], - "pricings": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "price": 9223372036854776000,
- "min_selling_quota": 9223372036854776000
}
], - "is_in_stock": "string",
- "stock_status": "string",
- "discount_percentage": "string",
- "average_rating": "string",
- "is_available_online": "string"
}Get featured products (high-rated, recently added, or promotional)
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "selling_price": 1,
- "quantity": 2147483647,
- "sku": "string",
- "is_default": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "item_name": "string",
- "item_description": "string",
- "item_images": "string",
- "inventory_unit": "string",
- "business": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "business_type": "retail",
- "is_verified": true
}, - "categories": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "industry_name": "string",
- "image": "string",
- "item_count": "string"
}
], - "properties": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "value": "string"
}
], - "pricings": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "price": 9223372036854776000,
- "min_selling_quota": 9223372036854776000
}
], - "is_in_stock": "string",
- "stock_status": "string",
- "discount_percentage": "string",
- "average_rating": "string",
- "is_available_online": "string"
}Get products with low stock (for businesses to manage inventory)
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "selling_price": 1,
- "quantity": 2147483647,
- "sku": "string",
- "is_default": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "item_name": "string",
- "item_description": "string",
- "item_images": "string",
- "inventory_unit": "string",
- "business": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "business_type": "retail",
- "is_verified": true
}, - "categories": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "industry_name": "string",
- "image": "string",
- "item_count": "string"
}
], - "properties": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "value": "string"
}
], - "pricings": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "price": 9223372036854776000,
- "min_selling_quota": 9223372036854776000
}
], - "is_in_stock": "string",
- "stock_status": "string",
- "discount_percentage": "string",
- "average_rating": "string",
- "is_available_online": "string"
}Get trending products based on recent activity
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "selling_price": 1,
- "quantity": 2147483647,
- "sku": "string",
- "is_default": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "item_name": "string",
- "item_description": "string",
- "item_images": "string",
- "inventory_unit": "string",
- "business": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "business_type": "retail",
- "is_verified": true
}, - "categories": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "industry_name": "string",
- "image": "string",
- "item_count": "string"
}
], - "properties": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "value": "string"
}
], - "pricings": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "price": 9223372036854776000,
- "min_selling_quota": 9223372036854776000
}
], - "is_in_stock": "string",
- "stock_status": "string",
- "discount_percentage": "string",
- "average_rating": "string",
- "is_available_online": "string"
}| created_at | string <date-time> |
| delivery_method | string Enum: "all" "email" "push" "sms"
|
| notification_type | string Enum: "error" "info" "success" "warning"
|
| page | integer A page number within the paginated result set. |
| timestamp | string <date> |
{- "count": 123,
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "is_read": "string",
- "title": "string",
- "message": "string",
- "message_format": "text",
- "notification_type": "info",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}| notification_ids required | Array of strings <uuid> [ items <uuid > ] |
{- "notification_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}{- "notification_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}Returns best seller, sales distribution, and summary statistics for the dashboard
| branch | string <uuid> Branch ID (UUID). Can also use 'branch_id' |
| business | string <uuid> Business ID (UUID). Can also use 'business_id' |
| end_date | string <date> End date for custom_range (format: YYYY-MM-DD) |
| sales-distribution-range | string Range for sales distribution: this_week, this_month, this_year, custom_range |
| start_date | string <date> Start date for custom_range (format: YYYY-MM-DD) |
| summary-range | string Range for summary stats: today, this_week, this_month, this_year |
{- "bestSeller": {
- "itemId": "string",
- "itemName": "string",
- "totalSales": 0,
- "currency": "string",
- "progressPercent": 0
}, - "salesDistribution": {
- "range": "string",
- "data": [
- {
- "label": "string",
- "value": 0
}
]
}, - "summary": {
- "range": "string",
- "total_sales": {
- "value": 0,
- "currency": "string"
}, - "lowStockItems": 0,
- "itemsExpiring": 0,
- "sales_logged": 0
}
}| branch | string <uuid> |
| business | string <uuid> |
| page | integer A page number within the paginated result set. |
| status | string Enum: "CANCELLED" "COMPLETED" "CONFIRMED" "DELIVERED" "ON_HOLD" "PAID" "PARTIALLY_PAID" "PENDING" "PROCESSING" "REFUNDED" "RETURNED" "SHIPPED"
|
{- "count": 123,
- "results": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "customer_name": "string",
- "employee_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "total_payable": -99999999,
- "status": "PENDING",
- "additional_info": null,
- "customer": "0ac6320b-fa4d-4235-8d23-413a2b863bad",
- "payment_method": "f4815f3e-3832-4ed6-92fd-134ab34dea26"
}
]
}required | Array of objects (InternalOrderItemRequest) |
| total_payable | number <double> ( -100000000 .. 100000000 ) |
| status | string (StatusC09Enum) Enum: "PENDING" "PROCESSING" "CONFIRMED" "SHIPPED" "DELIVERED" "COMPLETED" "PARTIALLY_PAID" "PAID" "ON_HOLD" "CANCELLED" "REFUNDED" "RETURNED"
|
| additional_info | any or null |
| customer | string or null <uuid> |
| payment_method | string or null <uuid> |
{- "item_variants": [
- {
- "quantity": 2147483647,
- "variant": "142a232c-9f85-422c-a086-4c1a6a9a07f1"
}
], - "total_payable": -99999999,
- "status": "PENDING",
- "additional_info": null,
- "customer": "0ac6320b-fa4d-4235-8d23-413a2b863bad",
- "payment_method": "f4815f3e-3832-4ed6-92fd-134ab34dea26"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "customer_name": "string",
- "employee_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "total_payable": -99999999,
- "status": "PENDING",
- "additional_info": null,
- "customer": "0ac6320b-fa4d-4235-8d23-413a2b863bad",
- "payment_method": "f4815f3e-3832-4ed6-92fd-134ab34dea26"
}| id required | string <uuid> A UUID string identifying this order. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "items": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "quantity": 2147483647,
- "variant": "142a232c-9f85-422c-a086-4c1a6a9a07f1"
}
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "total_payable": -99999999,
- "status": "PENDING",
- "additional_info": null,
- "customer": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "total_payable": -99999999,
- "status": "PENDING",
- "additional_info": null,
- "customer": "0ac6320b-fa4d-4235-8d23-413a2b863bad",
- "employee": "582b6557-33f4-480f-b578-984bbca0a925",
- "payment_method": "f4815f3e-3832-4ed6-92fd-134ab34dea26",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65"
}, - "employee": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "total_payable": -99999999,
- "status": "PENDING",
- "additional_info": null,
- "customer": "0ac6320b-fa4d-4235-8d23-413a2b863bad",
- "employee": "582b6557-33f4-480f-b578-984bbca0a925",
- "payment_method": "f4815f3e-3832-4ed6-92fd-134ab34dea26",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65"
}, - "payment_method": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "total_payable": -99999999,
- "status": "PENDING",
- "additional_info": null,
- "customer": "0ac6320b-fa4d-4235-8d23-413a2b863bad",
- "employee": "582b6557-33f4-480f-b578-984bbca0a925",
- "payment_method": "f4815f3e-3832-4ed6-92fd-134ab34dea26",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65"
}, - "business": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "total_payable": -99999999,
- "status": "PENDING",
- "additional_info": null,
- "customer": "0ac6320b-fa4d-4235-8d23-413a2b863bad",
- "employee": "582b6557-33f4-480f-b578-984bbca0a925",
- "payment_method": "f4815f3e-3832-4ed6-92fd-134ab34dea26",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65"
}, - "branch": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "total_payable": -99999999,
- "status": "PENDING",
- "additional_info": null,
- "customer": "0ac6320b-fa4d-4235-8d23-413a2b863bad",
- "employee": "582b6557-33f4-480f-b578-984bbca0a925",
- "payment_method": "f4815f3e-3832-4ed6-92fd-134ab34dea26",
- "business": "78adf8f8-64d1-4555-9415-6c98fdd48330",
- "branch": "7c628a07-d557-4cd4-9105-51f9aade2c65"
}
}| id required | string <uuid> A UUID string identifying this order. |
Array of objects (InternalOrderItemRequest) | |
| total_payable | number <double> ( -100000000 .. 100000000 ) |
| status | string (StatusC09Enum) Enum: "PENDING" "PROCESSING" "CONFIRMED" "SHIPPED" "DELIVERED" "COMPLETED" "PARTIALLY_PAID" "PAID" "ON_HOLD" "CANCELLED" "REFUNDED" "RETURNED"
|
| additional_info | any or null |
| customer | string or null <uuid> |
| payment_method | string or null <uuid> |
{- "item_variants": [
- {
- "quantity": 2147483647,
- "variant": "142a232c-9f85-422c-a086-4c1a6a9a07f1"
}
], - "total_payable": -99999999,
- "status": "PENDING",
- "additional_info": null,
- "customer": "0ac6320b-fa4d-4235-8d23-413a2b863bad",
- "payment_method": "f4815f3e-3832-4ed6-92fd-134ab34dea26"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "customer_name": "string",
- "employee_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "total_payable": -99999999,
- "status": "PENDING",
- "additional_info": null,
- "customer": "0ac6320b-fa4d-4235-8d23-413a2b863bad",
- "payment_method": "f4815f3e-3832-4ed6-92fd-134ab34dea26"
}| id required | string <uuid> A UUID string identifying this order. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "customer_name": "string",
- "employee_name": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "total_payable": -99999999,
- "status": "PENDING",
- "additional_info": null,
- "customer": "0ac6320b-fa4d-4235-8d23-413a2b863bad",
- "payment_method": "f4815f3e-3832-4ed6-92fd-134ab34dea26"
}OpenApi3 schema for this API. Format can be selected via content negotiation.
| format | string Enum: "json" "yaml" |
| lang | string Enum: "af" "ar" "ar-dz" "ast" "az" "be" "bg" "bn" "br" "bs" "ca" "ckb" "cs" "cy" "da" "de" "dsb" "el" "en" "en-au" "en-gb" "eo" "es" "es-ar" "es-co" "es-mx" "es-ni" "es-ve" "et" "eu" "fa" "fi" "fr" "fy" "ga" "gd" "gl" "he" "hi" "hr" "hsb" "hu" "hy" "ia" "id" "ig" "io" "is" "it" "ja" "ka" "kab" "kk" "km" "kn" "ko" "ky" "lb" "lt" "lv" "mk" "ml" "mn" "mr" "ms" "my" "nb" "ne" "nl" "nn" "os" "pa" "pl" "pt" "pt-br" "ro" "ru" "sk" "sl" "sq" "sr" "sr-latn" "sv" "sw" "ta" "te" "tg" "th" "tk" "tr" "tt" "udm" "ug" "uk" "ur" "uz" "vi" "zh-hans" "zh-hant" |