Skip to main content

Create a job

POST 

https://euwest.api.elasticpath.com/v2/subscriptions/jobs

Create a job

Request

Responses

Success. The job was created.

Authorization: http

name: BearerTokentype: httpscheme: bearer

Request Collapse all
Base URL
https://euwest.api.elasticpath.com/v2
Auth
Parameters
— query
Body
{
  "data": {
    "type": "subscription_job",
    "attributes": {
      "external_ref": "abc123",
      "job_type": "billing-run",
      "taxes": [
        {
          "invoice_id": "11111111-2222-3333-4444-555555555555",
          "tax_items": [
            {
              "type": "tax_item",
              "name": "GST",
              "code": "20.0 % S",
              "rate": 0.2,
              "jurisdiction": "USA"
            }
          ]
        }
      ]
    }
  }
}
ResponseClear

Click the Send API Request button above and see the response here!

We use cookies to enhance your experience. By continuing to visit this site you agree to our use of cookies.