Write Operations
Shift locations can be created and updated in bulk.
Create shift locations adds new addresses.
Update shift locations changes existing ones, matched by ID.
Both answer with the same shape, where errors is keyed by the position of the entry in your request, starting at 1.
{
"success": true,
"processed": 1,
"shift_locations": [
{ "id": "6f3b1c2a-...", "title": "Downtown Branch" }
],
"errors": {}
}By default, nothing is written unless every entry is valid, and the response is 400. Set allow_partial to true to write the valid entries and have the rest reported back.
A request may carry at most 500 shift locations.