Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 1.16 KB

get-team-member-wage-response.md

File metadata and controls

44 lines (35 loc) · 1.16 KB

Get Team Member Wage Response

A response to a request to get a TeamMemberWage. The response contains the requested TeamMemberWage objects and might contain a set of Error objects if the request resulted in errors.

Structure

Get Team Member Wage Response

Fields

Name Type Tags Description
team_member_wage Team Member Wage Hash Optional The hourly wage rate that a team member earns on a Shift for doing the job
specified by the title property of this object.
errors Array<Error Hash> Optional Any errors that occurred during the request.

Example (as JSON)

{
  "team_member_wage": {
    "hourly_rate": {
      "amount": 2000,
      "currency": "USD"
    },
    "id": "pXS3qCv7BERPnEGedM4S8mhm",
    "job_id": "jxJNN6eCJsLrhg5UFJrDWDGE",
    "team_member_id": "33fJchumvVdJwxV0H6L9",
    "tip_eligible": false,
    "title": "Manager"
  },
  "errors": [
    {
      "category": "MERCHANT_SUBSCRIPTION_ERROR",
      "code": "MAP_KEY_LENGTH_TOO_LONG",
      "detail": "detail6",
      "field": "field4"
    }
  ]
}