Patch Tip Share Hours
Use this method if you want to update Tip Share Recipients Hours.
- Required fields: ID
- Editable fields: Hours. Permissions: All users.
Query Parameters
- Type: stringapi
-version
Headers
- Type: stringD
C Key The Integration Key generated for API Authentication by the PAR OPS support team as part of the integration/partnership process.
Body
Mandatory 'body' parameter, used to describe objects.
- Type: { ID, Hours }Properties: 2
Responses
Request Example for patch/Payroll/TipShareHours
curl /Payroll/TipShareHours \
--request PATCH \
--header 'Content-Type: application/json-patch+json' \
--header 'DCKey: YOUR_SECRET_TOKEN' \
--data '[
{
"ID": 1,
"Hours": null
}
]'
{
"Data": [
{
"ID": 1,
"StoreEmployee": {
"StoreEmployeeID": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD",
"FirstName": null,
"LastName": null
},
"Job": {
"ID": "C895A81E-0C20-42C0-B2DC-EAF43F9447BD",
"Description": null
},
"Hours": null,
"OriginalHours": null
}
]
}Request was successfull.
