Skip to main content

Post Reference Number

Details

Update a cashier activity reference #.

URL : <base_url>/activity/reference_number/{actvity_id}

Method : POST

Authentication required : YES

Request parameters

In the request URL, provide the following parameter in the URL

ParameterTypeExampleDescription
reference_numberstring1235673737Optional parameter.

Success Response

Code : 200 OK

Content :

{
"success": true
}

Error Responses

Condition : Invalid loyalty config.

Code : 400 BAD REQUEST

Content :

{
"message": "The given data was invalid.",
"errors": {
"loyalty": "Loyalty service not active for this account."
}
}

Condition : Invalid loyalty subscription.

Code : 400 BAD REQUEST

Content :

{
"message": "The given data was invalid.",
"errors": {
"loyalty": "Invalid loyalty subscription."
}
}