Create Offer
POST
https://shop-api.imbeltagy.tech/offers
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://shop-api.imbeltagy.tech/offers' \
--header 'Authorization: Bearer {{token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"nameAr": "اسم العرض",
"nameEn": "Offer Name",
"productId": "6853acbb2030cfaed7fde0a1",
"type": "percent",
"value": 0.1,
"disabled": false,
"offerQuantity": 5000,
"maxPerClient": 20,
"employeeReadOnly": false
}'
Response Response Example
{}
Request
Header Params
Authorization
string
required
Example:
Bearer {{token}}
Body Params application/json
Responses
Modified at 2025-06-21 04:01:25