- Readme
- Developer Guide
- Authorization
- Includables
- Pagination
- Sorting
- Retrieve Market Information
- Retrieve Branch Information
- Me
- Branches
- Orders
- Customers
- Products
- Product Categories
- Discounts
- Payment Methods
- Table
- Printer
- Webhook
Detail
Developing
DEVELOPMENT
DEVELOPMENT
GET
https://api.flavours.sa/dev/api/v2/users/customers/{customerId}
Path Parameters#
Validation:#
Field | Type | Rule | Description |
---|---|---|---|
customerId | string | required | Id from Customer model |
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Path Params
customerId
string
required
Example:
106d3f0d-f54b-4142-80af-68591c855337
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.flavours.sa/dev/api/v2/users/customers/106d3f0d-f54b-4142-80af-68591c855337'
Responses
🟢200OK
application/json
Body
meta
object
required
code
integer
required
status
string
required
message
string
required
data
object
required
id
string
required
userable_id
string
required
role
string
required
name
string
required
username
string | null
required
email
string | null
required
phone_prefix
string
required
phone
string
required
lang
string
required
fcm_token
string | null
required
is_active
boolean
required
email_verified_at
integer | null
required
phone_verified_at
integer | null
required
created_at
integer
required
updated_at
integer
required
deleted_at
integer | null
required
profile_img
string
required
userable
object
required
Example
{
"meta": {
"code": 200,
"status": "success",
"message": "Data Loaded Successfully"
},
"data": {
"id": "106d3f0d-f54b-4142-80af-68591c855337",
"userable_id": "30d1305d-0cdb-4400-8619-d0b82d6d2e56",
"role": "USER_CUSTOMER",
"name": "Ehsan flavour",
"username": null,
"email": "[email protected]",
"phone_prefix": "966",
"phone": "557937702",
"lang": "en",
"fcm_token": null,
"is_active": true,
"email_verified_at": null,
"phone_verified_at": null,
"created_at": 1733896939605,
"updated_at": 1733896939605,
"deleted_at": null,
"profile_img": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAACXBIWXMAAA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"30d1305d-0cdb-4400-8619-d0b82d6d2e56",
"created_by": null,
"qoyod_id": null,
"type": null,
"gender": null,
"tax_number": null,
"zip_code": null,
"city": null,
"district": null,
"street": null,
"crn": null,
"created_at": 1733896939727,
"updated_at": 1733896939727,
"creator": null
}
}
}
Modified at 2025-03-25 06:20:37