Square: Team schemas
32 Square schemas with complete fields and constraints.
← Team operations · All schemas
Bulk Create Team Members — request body — body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents a bulk create request for `TeamMember` objects. |
team_members | object | Required within parent | The data used to create the `TeamMember` objects. Each key is the `idempotency_key` that maps to the `CreateTeamMemberRequest`. The maximum number of create objects is 25. If you include a team member's `wage_setting`, you must provide `job_id` for each job assignment. To get job IDs, call [ListJobs](api-endpoint:Team-ListJobs). Additional keys: see wildcard field |
team_members.* | Model | Additional keys | Expand Create Team Member — request body — body |
Referenced models: Create Team Member — request body — body
Bulk Create Team Members — response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents a response from a bulk create request containing the created `TeamMember` objects or error messages. |
errors | array | Optional | The errors that occurred during the request. |
errors[] | Model | Each item | Expand Get Shift — response body — errors item |
team_members | object | Optional | The successfully created `TeamMember` objects. Each key is the `idempotency_key` that maps to the `CreateTeamMemberRequest`. Additional keys: see wildcard field |
team_members.* | Model | Additional keys | Expand Create Team Member — response body |
Referenced models: Create Team Member — response body, Get Shift — response body — errors item
Bulk Update Team Members — request body — body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents a bulk update request for `TeamMember` objects. |
team_members | object | Required within parent | The data used to update the `TeamMember` objects. Each key is the `team_member_id` that maps to the `UpdateTeamMemberRequest`. The maximum number of update objects is 25. For each team member, include the fields to add, change, or clear. Fields can be cleared using a null value. To update `wage_setting.job_assignments`, you must provide the complete list of job assignments. If needed, call [ListJobs](api-endpoint:Team-ListJobs) to get the required `job_id` values. Additional keys: see wildcard field |
team_members.* | Model | Additional keys | Expand Update Team Member — request body — body |
Referenced models: Update Team Member — request body — body
Bulk Update Team Members — response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents a response from a bulk update request containing the updated `TeamMember` objects or error messages. |
errors | array | Optional | The errors that occurred during the request. |
errors[] | Model | Each item | Expand Get Shift — response body — errors item |
team_members | object | Optional | The successfully updated `TeamMember` objects. Each key is the `team_member_id` that maps to the `UpdateTeamMemberRequest`. Additional keys: see wildcard field |
team_members.* | Model | Additional keys | Expand Update Team Member — response body |
Referenced models: Get Shift — response body — errors item, Update Team Member — response body
Create Job — request body — body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents a [CreateJob](api-endpoint:Team-CreateJob) request. |
idempotency_key | string | Required within parent | 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](https://developer.squareup.com/docs/build-basics/common-api-patterns/idempotency). Maximum length: 45 Minimum length: 1 |
job | Model | Required within parent | Expand Create Job — request body — body job The job to create. The `title` field is required and `is_tip_eligible` defaults to true. |
Referenced models: Create Job — request body — body job
Create Job — request body — body job
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents a job that can be assigned to [team members](entity:TeamMember). This object defines the job's title and tip eligibility. Compensation is defined in a [job assignment](entity:JobAssignment) in a team member's wage setting. |
created_at | string | Optional | The timestamp when the job was created, in RFC 3339 format. Read only: true |
id | string | Optional | **Read only** The unique Square-assigned ID of the job. If you need a job ID for an API request, call [ListJobs](api-endpoint:Team-ListJobs) or use the ID returned when you created the job. You can also get job IDs from a team member's wage setting. |
is_tip_eligible | JSON | Optional | |
is_tip_eligible (anyOf 1) | boolean | Alternative | Indicates whether team members can earn tips for the job. |
is_tip_eligible (anyOf 2) | null | Alternative | |
title | JSON | Optional | |
title (anyOf 1) | string | Alternative | The title of the job. Maximum length: 150 |
title (anyOf 2) | null | Alternative | |
updated_at | string | Optional | The timestamp when the job was last updated, in RFC 3339 format. Read only: true |
version | integer | Optional | **Read only** The current version of the job. Include this field in `UpdateJob` requests to enable [optimistic concurrency](https://developer.squareup.com/docs/working-with-apis/optimistic-concurrency) control and avoid overwrites from concurrent requests. Requests fail if the provided version doesn't match the server version at the time of the request. |
Create Job — response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents a [CreateJob](api-endpoint:Team-CreateJob) response. Either `job` or `errors` is present in the response. |
errors | array | Optional | The errors that occurred during the request. |
errors[] | Model | Each item | Expand Get Shift — response body — errors item |
job | Model | Optional | Expand Create Job — response body — job The new job. |
Referenced models: Get Shift — response body — errors item, Create Job — response body — job
Create Job — response body — job
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents a job that can be assigned to [team members](entity:TeamMember). This object defines the job's title and tip eligibility. Compensation is defined in a [job assignment](entity:JobAssignment) in a team member's wage setting. |
created_at | string | Optional | The timestamp when the job was created, in RFC 3339 format. Read only: true |
id | string | Optional | **Read only** The unique Square-assigned ID of the job. If you need a job ID for an API request, call [ListJobs](api-endpoint:Team-ListJobs) or use the ID returned when you created the job. You can also get job IDs from a team member's wage setting. |
is_tip_eligible | JSON | Optional | |
is_tip_eligible (anyOf 1) | boolean | Alternative | Indicates whether team members can earn tips for the job. |
is_tip_eligible (anyOf 2) | null | Alternative | |
title | JSON | Optional | |
title (anyOf 1) | string | Alternative | The title of the job. Maximum length: 150 |
title (anyOf 2) | null | Alternative | |
updated_at | string | Optional | The timestamp when the job was last updated, in RFC 3339 format. Read only: true |
version | JSON | Optional | |
version (anyOf 1) | integer | Alternative | **Read only** The current version of the job. Include this field in `UpdateJob` requests to enable [optimistic concurrency](https://developer.squareup.com/docs/working-with-apis/optimistic-concurrency) control and avoid overwrites from concurrent requests. Requests fail if the provided version doesn't match the server version at the time of the request. |
version (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
Create Team Member — request body — body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents a create request for a `TeamMember` object. |
idempotency_key | string | Optional | A unique string that identifies this `CreateTeamMember` request. Keys can be any valid string, but must be unique for every request. For more information, see [Idempotency](https://developer.squareup.com/docs/build-basics/common-api-patterns/idempotency). The minimum length is 1 and the maximum length is 45. |
team_member | Model | Optional | Expand Create Team Member — request body — body team member **Required** The data used to create the `TeamMember` object. If you include `wage_setting`, you must provide `job_id` for each job assignment. To get job IDs, call [ListJobs](api-endpoint:Team-ListJobs). |
Referenced models: Create Team Member — request body — body team member
Create Team Member — request body — body team member
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | A record representing an individual team member for a business. |
assigned_locations | JSON | Optional | |
assigned_locations (anyOf 1) | Model | Alternative | Expand Create Team Member — request body — body team member assigned locations assignment type, location ids Describes the team member's assigned locations. |
assigned_locations (anyOf 2) | null | Alternative | |
created_at | string | Optional | The timestamp when the team member was created, in RFC 3339 format. Read only: true |
email_address | JSON | Optional | |
email_address (anyOf 1) | string | Alternative | The email address associated with the team member. After accepting the invitation from Square, only the team member can change this value. |
email_address (anyOf 2) | null | Alternative | |
family_name | JSON | Optional | |
family_name (anyOf 1) | string | Alternative | The family name (that is, the last name) associated with the team member. |
family_name (anyOf 2) | null | Alternative | |
given_name | JSON | Optional | |
given_name (anyOf 1) | string | Alternative | The given name (that is, the first name) associated with the team member. |
given_name (anyOf 2) | null | Alternative | |
id | string | Optional | The unique ID for the team member. Read only: true |
is_owner | boolean | Optional | Whether the team member is the owner of the Square account. Read only: true |
phone_number | JSON | Optional | |
phone_number (anyOf 1) | string | Alternative | The team member's phone number, in E.164 format. For example: +14155552671 - the country code is 1 for US +551155256325 - the country code is 55 for BR |
phone_number (anyOf 2) | null | Alternative | |
reference_id | JSON | Optional | |
reference_id (anyOf 1) | string | Alternative | A second ID used to associate the team member with an entity in another system. |
reference_id (anyOf 2) | null | Alternative | |
status | JSON | Optional | |
status (anyOf 1) | string | Alternative | Enumerates the possible statuses the team member can have within a business. Describes the status of the team member. See [TeamMemberStatus](#type-teammemberstatus) for possible values One of: ACTIVE, INACTIVE |
status (anyOf 2) | null | Alternative | |
updated_at | string | Optional | The timestamp when the team member was last updated, in RFC 3339 format. Read only: true |
wage_setting | JSON | Optional | |
wage_setting (anyOf 1) | Model | Alternative | Expand Update Wage Setting — request body — body wage setting Information about the team member's overtime exemption status, job assignments, and compensation. |
wage_setting (anyOf 2) | null | Alternative |
Referenced models: Create Team Member — request body — body team member assigned locations assignment type, location ids, Update Wage Setting — request body — body wage setting
Create Team Member — request body — body team member assigned locations assignment type, location ids
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | An object that represents a team member's assignment to locations. |
assignment_type | JSON | Optional | |
assignment_type (anyOf 1) | string | Alternative | Enumerates the possible assignment types that the team member can have. The current assignment type of the team member. See [TeamMemberAssignedLocationsAssignmentType](#type-teammemberassignedlocationsassignmenttype) for possible values One of: ALL_CURRENT_AND_FUTURE_LOCATIONS, EXPLICIT_LOCATIONS |
assignment_type (anyOf 2) | null | Alternative | |
location_ids | JSON | Optional | |
location_ids (anyOf 1) | array | Alternative | The explicit locations that the team member is assigned to. |
location_ids (anyOf 1)[] | string | Each item | |
location_ids (anyOf 2) | null | Alternative |
Create Team Member — response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents a response from a create request containing the created `TeamMember` object or error messages. |
errors | array | Optional | The errors that occurred during the request. |
errors[] | Model | Each item | Expand Get Shift — response body — errors item |
team_member | Model | Optional | Expand Create Team Member — response body — team member The successfully created `TeamMember` object. |
Referenced models: Get Shift — response body — errors item, Create Team Member — response body — team member
Create Team Member — response body — team member
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | A record representing an individual team member for a business. |
assigned_locations | JSON | Optional | |
assigned_locations (anyOf 1) | Model | Alternative | Expand Create Team Member — response body — team member assigned locations assignment type, location ids Describes the team member's assigned locations. |
assigned_locations (anyOf 2) | null | Alternative | |
created_at | string | Optional | The timestamp when the team member was created, in RFC 3339 format. Read only: true |
email_address | JSON | Optional | |
email_address (anyOf 1) | string | Alternative | The email address associated with the team member. After accepting the invitation from Square, only the team member can change this value. |
email_address (anyOf 2) | null | Alternative | |
family_name | JSON | Optional | |
family_name (anyOf 1) | string | Alternative | The family name (that is, the last name) associated with the team member. |
family_name (anyOf 2) | null | Alternative | |
given_name | JSON | Optional | |
given_name (anyOf 1) | string | Alternative | The given name (that is, the first name) associated with the team member. |
given_name (anyOf 2) | null | Alternative | |
id | string | Optional | The unique ID for the team member. Read only: true |
is_owner | boolean | Optional | Whether the team member is the owner of the Square account. Read only: true |
phone_number | JSON | Optional | |
phone_number (anyOf 1) | string | Alternative | The team member's phone number, in E.164 format. For example: +14155552671 - the country code is 1 for US +551155256325 - the country code is 55 for BR |
phone_number (anyOf 2) | null | Alternative | |
reference_id | JSON | Optional | |
reference_id (anyOf 1) | string | Alternative | A second ID used to associate the team member with an entity in another system. |
reference_id (anyOf 2) | null | Alternative | |
status | JSON | Optional | |
status (anyOf 1) | string | Alternative | Enumerates the possible statuses the team member can have within a business. Describes the status of the team member. See [TeamMemberStatus](#type-teammemberstatus) for possible values Known values: ACTIVE, INACTIVE |
status (anyOf 2) | null | Alternative | |
updated_at | string | Optional | The timestamp when the team member was last updated, in RFC 3339 format. Read only: true |
wage_setting | JSON | Optional | |
wage_setting (anyOf 1) | Model | Alternative | Expand Update Wage Setting — response body — wage setting Information about the team member's overtime exemption status, job assignments, and compensation. |
wage_setting (anyOf 2) | null | Alternative |
Referenced models: Create Team Member — response body — team member assigned locations assignment type, location ids, Update Wage Setting — response body — wage setting
Create Team Member — response body — team member assigned locations assignment type, location ids
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | An object that represents a team member's assignment to locations. |
assignment_type | JSON | Optional | |
assignment_type (anyOf 1) | string | Alternative | Enumerates the possible assignment types that the team member can have. The current assignment type of the team member. See [TeamMemberAssignedLocationsAssignmentType](#type-teammemberassignedlocationsassignmenttype) for possible values Known values: ALL_CURRENT_AND_FUTURE_LOCATIONS, EXPLICIT_LOCATIONS |
assignment_type (anyOf 2) | null | Alternative | |
location_ids | JSON | Optional | |
location_ids (anyOf 1) | array | Alternative | The explicit locations that the team member is assigned to. |
location_ids (anyOf 1)[] | string | Each item | |
location_ids (anyOf 2) | null | Alternative |
List Jobs — response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents a [ListJobs](api-endpoint:Team-ListJobs) response. Either `jobs` or `errors` is present in the response. If additional results are available, the `cursor` field is also present. |
cursor | string | Optional | An opaque cursor used to retrieve the next page of results. This field is present only if the request succeeded and additional results are available. For more information, see [Pagination](https://developer.squareup.com/docs/build-basics/common-api-patterns/pagination). |
errors | array | Optional | The errors that occurred during the request. |
errors[] | Model | Each item | Expand Get Shift — response body — errors item |
jobs | array | Optional | The retrieved jobs. A single paged response contains up to 100 jobs. |
jobs[] | Model | Each item | Expand Create Job — response body — job |
Referenced models: Get Shift — response body — errors item, Create Job — response body — job
Retrieve Job — response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents a [RetrieveJob](api-endpoint:Team-RetrieveJob) response. Either `job` or `errors` is present in the response. |
errors | array | Optional | The errors that occurred during the request. |
errors[] | Model | Each item | Expand Get Shift — response body — errors item |
job | Model | Optional | Expand Create Job — response body — job The retrieved job. |
Referenced models: Get Shift — response body — errors item, Create Job — response body — job
Retrieve Team Member — response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents a response from a retrieve request containing a `TeamMember` object or error messages. |
errors | array | Optional | The errors that occurred during the request. |
errors[] | Model | Each item | Expand Get Shift — response body — errors item |
team_member | Model | Optional | Expand Create Team Member — response body — team member The successfully retrieved `TeamMember` object. |
Referenced models: Get Shift — response body — errors item, Create Team Member — response body — team member
Retrieve Wage Setting — response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents a response from a retrieve request containing the specified `WageSetting` object or error messages. |
errors | array | Optional | The errors that occurred during the request. |
errors[] | Model | Each item | Expand Get Shift — response body — errors item |
wage_setting | Model | Optional | Expand Update Wage Setting — response body — wage setting The successfully retrieved `WageSetting` object. |
Referenced models: Get Shift — response body — errors item, Update Wage Setting — response body — wage setting
Search Team Members — request body — body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents a search request for a filtered list of `TeamMember` objects. |
cursor | string | Optional | The opaque cursor for fetching the next page. For more information, see [pagination](https://developer.squareup.com/docs/working-with-apis/pagination). |
limit | integer | Optional | The maximum number of `TeamMember` objects in a page (100 by default). Maximum: 200 Minimum: 1 |
query | Model | Optional | Expand Search Team Members — request body — body query The query parameters. |
Referenced models: Search Team Members — request body — body query
Search Team Members — request body — body query
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the parameters in a search for `TeamMember` objects. |
filter | JSON | Optional | |
filter (anyOf 1) | Model | Alternative | Expand Search Team Members — request body — body query filter is owner, location ids, status The options to filter by. |
filter (anyOf 2) | null | Alternative |
Referenced models: Search Team Members — request body — body query filter is owner, location ids, status
Search Team Members — request body — body query filter is owner, location ids, status
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents a filter used in a search for `TeamMember` objects. `AND` logic is applied between the individual fields, and `OR` logic is applied within list-based fields. For example, setting this filter value: ``` filter = (locations_ids = ["A", "B"], status = ACTIVE) ``` returns only active team members assigned to either location "A" or "B". |
is_owner | JSON | Optional | |
is_owner (anyOf 1) | boolean | Alternative | When present and set to true, returns the team member who is the owner of the Square account. |
is_owner (anyOf 2) | null | Alternative | |
location_ids | JSON | Optional | |
location_ids (anyOf 1) | array | Alternative | When present, filters by team members assigned to the specified locations. When empty, includes team members assigned to any location. |
location_ids (anyOf 1)[] | string | Each item | |
location_ids (anyOf 2) | null | Alternative | |
status | JSON | Optional | |
status (anyOf 1) | string | Alternative | Enumerates the possible statuses the team member can have within a business. When present, filters by team members who match the given status. When empty, includes team members of all statuses. See [TeamMemberStatus](#type-teammemberstatus) for possible values One of: ACTIVE, INACTIVE |
status (anyOf 2) | null | Alternative |
Search Team Members — response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents a response from a search request containing a filtered list of `TeamMember` objects. |
cursor | string | Optional | The opaque cursor for fetching the next page. For more information, see [pagination](https://developer.squareup.com/docs/working-with-apis/pagination). |
errors | array | Optional | The errors that occurred during the request. |
errors[] | Model | Each item | Expand Get Shift — response body — errors item |
team_members | array | Optional | The filtered list of `TeamMember` objects. |
team_members[] | Model | Each item | Expand Create Team Member — response body — team member |
Referenced models: Get Shift — response body — errors item, Create Team Member — response body — team member
Update Job — request body — body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents an [UpdateJob](api-endpoint:Team-UpdateJob) request. |
job | Model | Required within parent | Expand Create Job — request body — body job 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. |
Referenced models: Create Job — request body — body job
Update Job — response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents an [UpdateJob](api-endpoint:Team-UpdateJob) response. Either `job` or `errors` is present in the response. |
errors | array | Optional | The errors that occurred during the request. |
errors[] | Model | Each item | Expand Get Shift — response body — errors item |
job | Model | Optional | Expand Create Job — response body — job The updated job. |
Referenced models: Get Shift — response body — errors item, Create Job — response body — job
Update Team Member — request body — body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents an update request for a `TeamMember` object. |
team_member | JSON | Optional | |
team_member (anyOf 1) | Model | Alternative | Expand Create Team Member — request body — body team member The team member fields to add, change, or clear. Fields can be cleared using a null value. To update `wage_setting.job_assignments`, you must provide the complete list of job assignments. If needed, call [ListJobs](api-endpoint:Team-ListJobs) to get the required `job_id` values. |
team_member (anyOf 2) | null | Alternative |
Referenced models: Create Team Member — request body — body team member
Update Team Member — response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents a response from an update request containing the updated `TeamMember` object or error messages. |
errors | array | Optional | The errors that occurred during the request. |
errors[] | Model | Each item | Expand Get Shift — response body — errors item |
team_member | Model | Optional | Expand Create Team Member — response body — team member The successfully updated `TeamMember` object. |
Referenced models: Get Shift — response body — errors item, Create Team Member — response body — team member
Update Wage Setting — request body — body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents an update request for the `WageSetting` object describing a `TeamMember`. |
wage_setting | Model | Required within parent | Expand Update Wage Setting — request body — body wage setting The complete `WageSetting` object. For all job assignments, specify one of the following: - `job_id` (recommended) - If needed, call [ListJobs](api-endpoint:Team-ListJobs) to get a list of all jobs. Requires Square API version 2024-12-18 or later. - `job_title` - Use the exact, case-sensitive spelling of an existing title unless you want to create a new job. This value is ignored if `job_id` is also provided. |
Referenced models: Update Wage Setting — request body — body wage setting
Update Wage Setting — request body — body wage setting
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents information about the overtime exemption status, job assignments, and compensation for a [team member](entity:TeamMember). |
created_at | string | Optional | The timestamp when the wage setting was created, in RFC 3339 format. Read only: true |
is_overtime_exempt | JSON | Optional | |
is_overtime_exempt (anyOf 1) | boolean | Alternative | Whether the team member is exempt from the overtime rules of the seller's country. |
is_overtime_exempt (anyOf 2) | null | Alternative | |
job_assignments | JSON | Optional | |
job_assignments (anyOf 1) | array | Alternative | **Required** The ordered list of jobs that the team member is assigned to. The first job assignment is considered the team member's primary job. |
job_assignments (anyOf 1)[] | Model | Each item | Expand Update Wage Setting — request body — body wage setting job assignments array item |
job_assignments (anyOf 2) | null | Alternative | |
team_member_id | JSON | Optional | |
team_member_id (anyOf 1) | string | Alternative | The ID of the team member associated with the wage setting. |
team_member_id (anyOf 2) | null | Alternative | |
updated_at | string | Optional | The timestamp when the wage setting was last updated, in RFC 3339 format. Read only: true |
version | integer | Optional | **Read only** Used for resolving concurrency issues. The request fails if the version provided does not match the server version at the time of the request. If not provided, Square executes a blind write, potentially overwriting data from another write. For more information, see [optimistic concurrency](https://developer.squareup.com/docs/working-with-apis/optimistic-concurrency). |
Referenced models: Update Wage Setting — request body — body wage setting job assignments array item
Update Wage Setting — request body — body wage setting job assignments array item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents a job assigned to a [team member](entity:TeamMember), including the compensation the team member earns for the job. Job assignments are listed in the team member's [wage setting](entity:WageSetting). |
annual_rate | JSON | Optional | |
annual_rate (anyOf 1) | Model | Alternative | Expand Create Payment — request body — body tip money The total pay amount for a 12-month period on the job. Set if the job `PayType` is `SALARY`. |
annual_rate (anyOf 2) | null | Alternative | |
hourly_rate | JSON | Optional | |
hourly_rate (anyOf 1) | Model | Alternative | Expand Create Payment — request body — body tip money The hourly pay rate of the job. For `SALARY` pay types, Square calculates the hourly rate based on `annual_rate` and `weekly_hours`. |
hourly_rate (anyOf 2) | null | Alternative | |
job_id | JSON | Optional | |
job_id (anyOf 1) | string | Alternative | The ID of the [job](entity:Job). |
job_id (anyOf 2) | null | Alternative | |
job_title | JSON | Optional | |
job_title (anyOf 1) | string | Alternative | The title of the job. |
job_title (anyOf 2) | null | Alternative | |
pay_type | string | Required within parent | Enumerates the possible pay types that a job can be assigned. The current pay type for the job assignment used to calculate the pay amount in a pay period. See [JobAssignmentPayType](#type-jobassignmentpaytype) for possible values One of: NONE, HOURLY, SALARY |
weekly_hours | JSON | Optional | |
weekly_hours (anyOf 1) | integer | Alternative | The planned hours per week for the job. Set if the job `PayType` is `SALARY`. |
weekly_hours (anyOf 2) | null | Alternative |
Referenced models: Create Payment — request body — body tip money
Update Wage Setting — response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents a response from an update request containing the updated `WageSetting` object or error messages. |
errors | array | Optional | The errors that occurred during the request. |
errors[] | Model | Each item | Expand Get Shift — response body — errors item |
wage_setting | Model | Optional | Expand Update Wage Setting — response body — wage setting The successfully updated `WageSetting` object. |
Referenced models: Get Shift — response body — errors item, Update Wage Setting — response body — wage setting
Update Wage Setting — response body — wage setting
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents information about the overtime exemption status, job assignments, and compensation for a [team member](entity:TeamMember). |
created_at | string | Optional | The timestamp when the wage setting was created, in RFC 3339 format. Read only: true |
is_overtime_exempt | JSON | Optional | |
is_overtime_exempt (anyOf 1) | boolean | Alternative | Whether the team member is exempt from the overtime rules of the seller's country. |
is_overtime_exempt (anyOf 2) | null | Alternative | |
job_assignments | JSON | Optional | |
job_assignments (anyOf 1) | array | Alternative | **Required** The ordered list of jobs that the team member is assigned to. The first job assignment is considered the team member's primary job. |
job_assignments (anyOf 1)[] | Model | Each item | Expand Update Wage Setting — response body — wage setting job assignments array item |
job_assignments (anyOf 2) | null | Alternative | |
team_member_id | JSON | Optional | |
team_member_id (anyOf 1) | string | Alternative | The ID of the team member associated with the wage setting. |
team_member_id (anyOf 2) | null | Alternative | |
updated_at | string | Optional | The timestamp when the wage setting was last updated, in RFC 3339 format. Read only: true |
version | JSON | Optional | |
version (anyOf 1) | integer | Alternative | **Read only** Used for resolving concurrency issues. The request fails if the version provided does not match the server version at the time of the request. If not provided, Square executes a blind write, potentially overwriting data from another write. For more information, see [optimistic concurrency](https://developer.squareup.com/docs/working-with-apis/optimistic-concurrency). |
version (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
Referenced models: Update Wage Setting — response body — wage setting job assignments array item
Update Wage Setting — response body — wage setting job assignments array item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents a job assigned to a [team member](entity:TeamMember), including the compensation the team member earns for the job. Job assignments are listed in the team member's [wage setting](entity:WageSetting). |
annual_rate | JSON | Optional | |
annual_rate (anyOf 1) | Model | Alternative | Expand Pay Order — response body — order total money The total pay amount for a 12-month period on the job. Set if the job `PayType` is `SALARY`. |
annual_rate (anyOf 2) | null | Alternative | |
hourly_rate | JSON | Optional | |
hourly_rate (anyOf 1) | Model | Alternative | Expand Pay Order — response body — order total money The hourly pay rate of the job. For `SALARY` pay types, Square calculates the hourly rate based on `annual_rate` and `weekly_hours`. |
hourly_rate (anyOf 2) | null | Alternative | |
job_id | JSON | Optional | |
job_id (anyOf 1) | string | Alternative | The ID of the [job](entity:Job). |
job_id (anyOf 2) | null | Alternative | |
job_title | JSON | Optional | |
job_title (anyOf 1) | string | Alternative | The title of the job. |
job_title (anyOf 2) | null | Alternative | |
pay_type | string | Required within parent | Enumerates the possible pay types that a job can be assigned. The current pay type for the job assignment used to calculate the pay amount in a pay period. See [JobAssignmentPayType](#type-jobassignmentpaytype) for possible values Known values: NONE, HOURLY, SALARY |
weekly_hours | JSON | Optional | |
weekly_hours (anyOf 1) | JSON | Alternative | |
weekly_hours (anyOf 1) (anyOf 1) | integer | Alternative | The planned hours per week for the job. Set if the job `PayType` is `SALARY`. |
weekly_hours (anyOf 1) (anyOf 2) | string | Alternative | Pattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$ |
weekly_hours (anyOf 2) | null | Alternative |
Referenced models: Pay Order — response body — order total money