Business
The business
GEThttps://api.razza.sa/v1/business
The business the app belongs to.
Any app
Responses
- 200OK
dataBusiness - 400A parameter or the body is not valid.
Error - 401No access token, or it is not valid.
Error - 403The business is inactive, not on Qimma, paused for an unpaid razza invoice, or the app lacks the permission or has a restriction that stops it.
Error - 429Over the app's rate limit. Wait Retry-After seconds.
Error
Branches
GEThttps://api.razza.sa/v1/branches
The business's branches.
Any app
Parameters
| Name | In | Type | Description |
|---|---|---|---|
limit | query | integer | Page size, 50 by default. |
cursor | query | string | next_cursor from the page before. |
updated_since | query | date-time | Only rows changed at or after this moment. A time without an offset is read as Riyadh time. |
Responses
- 200OK
dataarray ofBranchnext_cursorstringor null - 400A parameter or the body is not valid.
Error - 401No access token, or it is not valid.
Error - 403The business is inactive, not on Qimma, paused for an unpaid razza invoice, or the app lacks the permission or has a restriction that stops it.
Error - 429Over the app's rate limit. Wait Retry-After seconds.
Error
Opening hours
GEThttps://api.razza.sa/v1/branches/{branch_id}/hours
Each weekday's hours and the closures still to come.
Any app
Parameters
| Name | In | Type | Description |
|---|---|---|---|
branch_idrequired | path | string | The branch's id. |
Responses
- 200OK
dataBranchHours - 400A parameter or the body is not valid.
Error - 401No access token, or it is not valid.
Error - 403The business is inactive, not on Qimma, paused for an unpaid razza invoice, or the app lacks the permission or has a restriction that stops it.
Error - 404Not found in this business.
Error - 429Over the app's rate limit. Wait Retry-After seconds.
Error