POST /reviews
Owner administration or the explicitly assigned business permission is required. Actions are scoped to the signed-in branch. A request cannot be approved by its creator. Locked sessions return 423.
POST
/api/v1/security/reviewsAuthorization
AuthorizationBearer token (JWT) · headerrequiredJWT from POST /api/v1/auth/login sent as Authorization Bearer.
Request body
requiredapplication/jsonclient_mutation_idstringrequiredmin length 1 · max length 160
itemsobject[]requiredmin items 1 · max items 200
Show propertiesHide properties
Array of
objectmedicine_idstringrequiredmin length 1
quantityintegerrequiredmax 100000
unit_pricenumberrequiredmin 0
customer_idstring | nullcustomer_namestringmax length 120
coupon_codestring | nullShow propertiesHide properties
Any of:
string
stringnull
nullglobal_discount_pctnumber | nullShow propertiesHide properties
Any of:
number
numbernull
nullnotesstringmax length 1000 · default: ""
patient_national_idstringmax length 100 · default: ""
doctor_licensestringmax length 100 · default: ""
Responses
200
Operation completed
any201
Record created
400
Invalid request
detailstringrequired401
Session expired or revoked
detailstringrequired403
Permission denied or self-approval
detailstringrequired409
Record changed or no longer actionable
detailstringrequired423
Register locked
detailstringrequired