Print-Jobs

Retrieve a single Print-Job

Retrieve a single Print-Job by id.

get/print-jobs/{id}/

Path parameters

idstring required

Id of the resource

Response

OK

child_job_idsnumber[]

The ids of reprints of this Print-Job. Requires role 'print.print-job-reprint'

parent_job_idnumber

If this Print-Job is a reprint, this is the id of the original job. Requires role 'print.print-job-reprint'

Example response

{
  "child_job_ids": [
    2019
  ],
  "contact_email": "test@test.com",
  "costs": {
    "currency": "USD",
    "line_item_costs": [
      {
        "cost_excl_discounts": "1.48",
        "cost_excl_tax": "0.74",
        "discounts": [
          {
            "amount": "14.80",
            "description": "Volume Discount 50%"
          }
        ],
        "line_item_external_id": "item-reference-1",
        "line_item_id": 1,
        "quantity": 20,
        "tax_rate": "0.070000",
        "total_cost_excl_discounts": "29.60",
        "total_cost_excl_tax": "14.80",
        "total_cost_incl_tax": "15.84",
        "total_tax": "1.04"
      }
    ],
    "shipping_cost": {
      "tax_rate": "0.070000",
      "total_cost_excl_tax": "65.99",
      "total_cost_incl_tax": "70.61",
      "total_tax": "4.62"
    },
    "total_cost_excl_tax": "80.79",
    "total_cost_incl_tax": "86.45",
    "total_discount_amount": "14.80",
    "total_tax": "5.66"
  },
  "date_created": "2017-08-07T08:47:26.485456Z",
  "date_modified": "2017-08-07T08:47:26.485490Z",
  "estimated_shipping_dates": {
    "arrival_max": "2017-08-12",
    "arrival_min": "2017-08-10",
    "dispatch_max": "2017-08-09",
    "dispatch_min": "2017-08-07"
  },
  "external_id": "demo-time",
  "id": 1,
  "line_items": [
    {
      "external_id": "item-reference-1",
      "id": 1,
      "printable_id": "48efe280-d2e9-4334-b745-b0540fb628b4",
      "printable_normalization": {
        "cover": {
          "job_id": 2,
          "normalized_file": {
            "file_id": 7,
            "filename": "139056_cover.pdf"
          },
          "page_count": 1,
          "source_file": {
            "file_id": 6,
            "filename": "139056_cover.pdf"
          },
          "source_md5sum": "e78512c777e7f5841fe8f1992cefb898",
          "source_url": "https://www.dropbox.com/sh/p3zh22vzsaegiri/AADP367j0bTWlt8fCu-_tm2ia/161025/139056_cover.pdf?dl=1"
        },
        "interior": {
          "job_id": 2,
          "normalized_file": {
            "file_id": 8,
            "filename": "thesis2.pdf"
          },
          "page_count": 210,
          "source_file": {
            "file_id": 5,
            "filename": "thesis2.pdf"
          },
          "source_md5sum": "7f8af20c296747689756f8e310135d79",
          "source_url": "https://www.dropbox.com/sh/p3zh22vzsaegiri/AACOUn3LFKsITDzylh13bQpsa/161025/thesis2.pdf?dl=1"
        },
        "pod_package_id": "0600X0900.BW.STD.PB.060UW444.MXX"
      },
      "quantity": 20,
      "reprint": {
        "cost_center": "PRINTER",
        "defect": "Customer File/Source Defect",
        "description": "They didn't leave enough margin and it got cut off",
        "printer_at_fault": "BNB"
      },
      "status": {
        "messages": {},
        "name": "ACCEPTED"
      },
      "title": "My Book"
    }
  ],
  "order_id": "1234",
  "parent_job_id": 1921,
  "production_delay": 120,
  "production_due_time": null,
  "shipping_address": {
    "city": "Lübeck",
    "country_code": "DE",
    "is_business": false,
    "name": "Hans Dampf",
    "phone_number": "844-212-0689",
    "postcode": "23552",
    "state_code": "",
    "street1": "Holstenstr. 40",
    "street2": "",
    "warnings": {
      "type": "validation_warning",
      "path": "external",
      "code": "REPLACED",
      "message": "street1: Holstenstr. 40 -> Holstenstraße 40"
    },
    "suggested_address": {
      "country_code": "DE",
      "state_code": null,
      "postcode": 23552,
      "city": "Lübeck",
      "street1": "Holstenstraße 40\"",
      "street2": null
    }
  },
  "shipping_level": "MAIL",
  "shipping_option_level": "MAIL",
  "status": {
    "changed": "2017-08-07T08:48:00.529399Z",
    "message": "Print-job was accepted and needs to be paid",
    "name": "UNPAID"
  },
  "tax_country": "DE"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.