Attach an ambassador point of sale (manager)
Path parameters
-
The ambassador id
-
The point of sale id
POST
/manager/ambassadors/{id}/point-of-sale/{pointOfSale}
curl \
-X POST https://domain.tld/api/v2/manager/ambassadors/{id}/point-of-sale/{pointOfSale} \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"message": "Point of sale attached successfully"
}
Response examples (401)
{
"message": "Unauthorized."
}
Response examples (422)
{
"message": "field is required! (and 3 more error)",
"errors": {
"field": [
"Error message details here"
],
"additionalProperty1": [
"Error message details here"
],
"additionalProperty2": [
"Error message details here"
]
}
}