Represents a CreateJob request.
CreateJobRequest
Name | Type | Tags | Description | Getter |
---|---|---|---|---|
Job |
Job |
Required | 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() |
IdempotencyKey |
String |
Required | 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. Constraints: Minimum Length: 1 , Maximum Length: 45 |
String getIdempotencyKey() |
{
"idempotency_key": "idempotency-key-0",
"job": {
"is_tip_eligible": true,
"title": "Cashier",
"id": "id6",
"created_at": "created_at4",
"updated_at": "updated_at8"
}
}