openapi: 3.2.0 info: description: API to manage item catalog, inventory, pricing and other attributes. version: '2.0' title: Doordash Item management API Specification Job Management… x-logo: url: https://cdn.doordash.com/static/img/merchant/logo-red@3x.png backgroundColor: '#FFFFFF' altText: Doordash Marketplace href: https://developer.doordash.com/ servers: - url: https://openapi.doordash.com/marketplace tags: - name: JobManagementEndpoints x-displayName: Job Management endpoints description: Endpoints to create jobs to support pull request flows. paths: /api/v2/jobs: post: tags: - JobManagementEndpoints summary: Create jobs to trigger various pull request flows. operationId: createJobs requestBody: content: application/json: schema: $ref: '#/components/schemas/CreateJobRequest' responses: '200': description: Request to create job recevied. content: application/json: schema: $ref: '#/components/schemas/PullStoreItemsJobResponse' '400': description: Request Validation Failed content: application/json: schema: $ref: '#/components/schemas/ValidationFieldError' '401': description: Request unauthorized content: application/json: schema: $ref: '#/components/schemas/AuthenticationError' '403': description: Forbidden content: application/json: schema: $ref: '#/components/schemas/AuthorizationError' '404': description: Not Found content: application/json: schema: $ref: '#/components/schemas/NotFoundError' '422': description: Request Entity Too Large content: application/json: schema: $ref: '#/components/schemas/RequestNotProcessError' '429': description: Request is rate limited content: application/json: schema: $ref: '#/components/schemas/RequestRateLimitedError' '500': description: Internal service failure, please try again later content: application/json: schema: $ref: '#/components/schemas/server_fault' components: schemas: RequestRateLimitedError: x-error: true type: object description: Request was rate limited. required: - code - message properties: code: type: string enum: - request_rate_limited message: type: string example: Request was rate limited. You may be calling the API too much in a short time. PullStoreItemsJobResponse: type: object properties: operation_id: type: string operation_status: type: string enum: - QUEUED - IN_PROGRESS - SUCCESS - FAILED - PARTIAL_SUCCESS message: type: string max_page_size: type: integer AuthenticationError: x-error: true type: object description: 'Authentication error: the token provided with the request doesn''t work for the requested operation' required: - code - message properties: code: type: string enum: - authentication_error default: authentication_error message: type: string example: The [exp] is in the past; the JWT is expired default: The [exp] is in the past; the JWT is expired CreateJobRequest: type: object properties: job_type: type: string enum: - PULL_STORE_ITEMS - PULL_STORE_ITEMS_WITH_PAGINATION description: Use PULL_STORE_ITEMS if you can return all items in one pull call for one store, otherwise use PULL_STORE_ITEMS_WITH_PAGINATION which is paginated version pull. job_parameters: type: object additionalProperties: type: string RequestNotProcessError: x-error: true type: object description: Request was not process. required: - code - message properties: code: type: string enum: - request_rate_limited message: type: string example: Request was not process. Request entity may be too large. ValidationFieldError: x-error: true title: ValidationFieldError type: object description: One or more request values couldn't be validated. required: - code - message - field_errors properties: code: type: string enum: - validation_error message: type: string description: One or more request values couldn't be validated. example: One or more request values couldn't be validated. field_errors: type: array description: The list of fields whose values couldn't be validated. See more [error examples](https://developer.doordash.com/en-US/docs/drive/reference/errors) items: $ref: '#/components/schemas/FieldError' readOnly: true NotFoundError: x-error: true type: object description: Request entity was not found. required: - code - message properties: code: type: string enum: - unknown_business_id message: type: string example: Entity was not found FieldError: title: FieldError type: object description: A field whose value couldn't be validated. required: - field - error properties: field: type: string description: Name of the field whose value couldn't be validated. example: pickup_phone_number error: type: string description: The error that was encountered when validating the field's value. example: Invalid phone number format server_fault: x-error: true type: object description: Internal service failure, please try again later. required: - code - message properties: code: type: string enum: - service_fault default: service_fault message: type: string example: Internal service failure, please try again later. default: Internal service failure, please try again later. AuthorizationError: x-error: true type: object description: 'Authorization error: the credentials provided with the request don''t work for the requested operation' required: - code - message properties: code: type: string enum: - authorization_error default: authorization_error message: type: string example: 'Authorization error: the credentials provided with the request don''t work for the requested operation' default: 'Authorization error: the credentials provided with the request don''t work for the requested operation'