Skip to content

Latest commit

 

History

History
52 lines (43 loc) · 1.48 KB

update-job-response.md

File metadata and controls

52 lines (43 loc) · 1.48 KB

Update Job Response

Represents an UpdateJob response. Either job or errors is present in the response.

Structure

UpdateJobResponse

Fields

Name Type Tags Description Getter
Job Job Optional Represents a job that can be assigned to team members. This object defines the
job's title and tip eligibility. Compensation is defined in a job assignment
in a team member's wage setting.
Job getJob()
Errors List<Error> Optional The errors that occurred during the request. List getErrors()

Example (as JSON)

{
  "job": {
    "created_at": "2021-06-11T22:55:45Z",
    "id": "1yJlHapkseYnNPETIU1B",
    "is_tip_eligible": true,
    "title": "Cashier 1",
    "updated_at": "2021-06-13T12:55:45Z",
    "version": 2
  },
  "errors": [
    {
      "category": "MERCHANT_SUBSCRIPTION_ERROR",
      "code": "INVALID_EXPIRATION",
      "detail": "detail6",
      "field": "field4"
    },
    {
      "category": "MERCHANT_SUBSCRIPTION_ERROR",
      "code": "INVALID_EXPIRATION",
      "detail": "detail6",
      "field": "field4"
    },
    {
      "category": "MERCHANT_SUBSCRIPTION_ERROR",
      "code": "INVALID_EXPIRATION",
      "detail": "detail6",
      "field": "field4"
    }
  ]
}