---
title: "Retrieve Print-Job Costs"
method: GET
path: "/print-jobs/{id}/costs/"
tags: ["Print-Jobs"]
---

# Retrieve Print-Job Costs

`GET /print-jobs/{id}/costs/`

## Request

- Base URL: `https://api.lulu.com`
- URL: `https://api.lulu.com/print-jobs/{id}/costs/`
- Auth: OAuth 2
  - Client credentials
  - Implicit: `https://api.lulu.com/auth/realms/glasstree/protocol/openid-connect/auth?nonce=jwt_login`
  - Password
  - Token URL: `https://api.lulu.com/auth/realms/glasstree/protocol/openid-connect/token`
- TypeScript: <https://skmtc.dev/lulu/apis/universal-publishing-platform-api/docs/print-jobs/:id/costs/get.ts> (a function with typed inputs; its response is checked against the schema)

Sub-resource to retrieve only the costs of a Print-Job

## Path parameters

- `id` string, required

## Response `200`

OK

- object: Summary of the costs of a Print-Job
  - `line_item_costs` object[], required: List of cost summaries for each line item
    - `line_item_external_id` string, required: External id of the line item
    - `line_item_id` number, required: ID of the line item of this cost summary
  - `shipping_cost` object, required: Summary of the combined shipping and handling costs
    - `tax_rate` string: Tax rate that was applied on shipping and handling costs as a decimal string
    - `total_cost_excl_tax` string: Total shipping and handling costs excluding taxes as a decimal string
    - `total_cost_incl_tax` string: Total shipping and handling costs including taxes as a decimal string
    - `total_tax` string: Total amount of taxes on shipping and handling as a decimal string
  - `fulfillment_cost` object: Summary of the fulfillment fee costs
    - `total_cost_excl_tax` string: Total fulfillment fee costs excluding taxes as a decimal string
    - `total_cost_incl_tax` string: Total fulfillment fee costs including taxes as a decimal string
    - `total_tax` string: Total amount of taxes on fulfillment fee as a decimal string
    - `tax_rate` unknown
  - `total_cost_excl_tax` string, required: Total costs of the job excluding taxes as a decimal string
  - `total_cost_incl_tax` string, required: Total costs of the job including taxes as a decimal string
  - `total_discount_amount` string, required: The total discount amount as a decimal string
  - `total_tax` string, required: Total amount of taxes on the job as a decimal string
  - `currency` string, required: Currency for the costs
  - `fees` object[]: All fees applied to Print Job
    - `currency` string: Print Job Fee currency
    - `fee_type` string: Print Job Fee type
    - `sku` string: Print Job Fee unique sku
    - `tax_rate` string: The tax rate applied to the fee as a decimal string
    - `total_cost_excl_tax` string: The total fee rate excluding tax as a decimal string
    - `total_cost_incl_tax` string: The total fee rate including tax as a decimal string
    - `total_tax` string: The total fee rate tax amount as a decimal string

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found

## Changes

- **2024-08-22** `692a2290ef22`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/lulu/apis/universal-publishing-platform-api/changes/print-jobs/:id/costs/get.md)

---

[API](https://skmtc.dev/lulu/apis/universal-publishing-platform-api.md) - [All operations](https://skmtc.dev/lulu/apis/universal-publishing-platform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/lulu/apis/universal-publishing-platform-api/revisions/fa5a6116f26b?raw)
