Shifts

Bulk create or update shifts (asynchronous)

Creates or updates multiple shifts in bulk. This is an asynchronous API that returns immediately with an operation ID in the response metadata.operation.id field. Shifts without an ID will be created, while shifts with an ID will be updated. Use the operation ID to poll the /operations/v2/operations/{id} endpoint to check completion status. The operation processes upserts in the background. External IDs can be provided to track shifts from external systems. Optional override settings can bypass normal validation rules.

post/management/v2/shifts:bulk

Request

  • Base URL
    https://your-subdomain.deputy.deputy.com/api
  • URL
    https://your-subdomain.deputy.deputy.com/api/management/v2/shifts:bulk
  • Auth
    API key in header OAuth

Request body

skipCountChildrenboolean

If true, skips counting child shifts in the operation result. Useful for performance when dealing with many shifts with children.

Response

A successful response.

successboolean

Indicates whether the bulk upsert request was accepted.

Changes

No recorded changes to this operation across all 1 revision of this API.