Overview
Theclient.Team client provides access to job management operations:
Methods
ListJobs
Lists jobs in a seller account. Results are sorted by title in ascending order.The pagination cursor returned by the previous call to this endpoint. Provide this cursor to retrieve the next page of results. For more information, see Pagination.
The retrieved jobs. A single paged response contains up to 100 jobs.
An opaque cursor used to retrieve the next page of results.
CreateJob
Creates a job in a seller account. A job defines a title and tip eligibility. Note that compensation is defined in a job assignment in a team member’s wage setting.The job to create. The
title field is required and is_tip_eligible defaults to true.A unique identifier for the
CreateJob request. Keys can be any valid string, but must be unique for each request. For more information, see Idempotency.The new job.
RetrieveJob
Retrieves a specified job by ID.The ID of the job to retrieve.
The retrieved job.
UpdateJob
Updates the title or tip eligibility of a job. Changes to the title propagate to allJobAssignment, Shift, and TeamMemberWage objects that reference the job ID.
The ID of the job to update.
The job with the updated fields, either
title, is_tip_eligible, or both. Only changed fields need to be included in the request. Optionally include version to enable optimistic concurrency control.The updated job.
Job Object
TheJob object represents a job that can be assigned to team members.
Read only The unique Square-assigned ID of the job.
The title of the job.
Indicates whether team members can earn tips for the job.
The timestamp when the job was created, in RFC 3339 format.
The timestamp when the job was last updated, in RFC 3339 format.
Read only The current version of the job. Include this field in
UpdateJob requests to enable optimistic concurrency control.