---
title: "Checkout an order"
method: POST
path: "/teams/{slug}/orders/checkout"
tags: ["Orders"]
---

# Checkout an order

`POST /teams/{slug}/orders/checkout`

## Request

- Base URL: `https://api.presscart.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.presscart.com/teams/{slug}/orders/checkout`
- Auth: HTTP bearer

Checkout a new order from the first-party app.

## Path parameters

- `slug` string, required

## Request body

- object
  - `line_items` object[], required
    - `is_add_on` boolean, required
    - `quantity` integer, required
    - `product_id` string, uuid, required
    - `linked_order_line_item_id` string, uuid, nullable
    - `outlet_niche_id` string, uuid, nullable
    - `source` 'opportunity_card' | 'discovery_card' | 'order_contents' | 'most_popular' | 'get_published_quickly' | 'latest_additions' | 'ask_presscart'
  - `profile_id` string, uuid, required
  - `apply_credits` boolean: Whether to apply available Team Credits to the order. Defaults to true when omitted.
  - `posthog_distinct_id` string
  - `source` 'cart' | 'ask_presscart': Surface that completed the checkout, recorded in the order metadata.

## Response `200`

Order created successfully

- object
  - `id` string, uuid, required
  - `profile_id` string, uuid, nullable, required
  - `client_id` string, uuid, nullable, required
  - `checkout_by_id` string, uuid, nullable, required
  - `team_id` string, uuid, nullable, required
  - `total` number, nullable, required
  - `subtotal` number, nullable, required
  - `processing_fee` number, nullable, required
  - `discount` number, nullable, required
  - `credits_applied` number, nullable, required
  - `coupon` string, nullable, required
  - `client_secret` string, required
  - `date_paid` union, required
    - string, nullable
    - string
    - unknown
  - `status` 'CREATED' | 'PAID' | 'CANCELLED', required
  - `reference_number` string, nullable, required
  - `external_reference_number` string, nullable, required
  - `is_guest_order` boolean, required
  - `payment_status` 'NOT_STARTED' | 'OPEN' | 'PROCESSING' | 'FAILED' | 'EXPIRED' | 'PAID', required
  - `payment_expires_at` union, required
    - string, nullable
    - string
    - unknown
  - `created_at` union, required
    - string, nullable
    - string
    - unknown
  - `updated_at` union, required
    - string, nullable
    - string
    - unknown
  - `deleted_at` union, required
    - string, nullable
    - string
    - unknown
  - `line_items` object[], required
    - `product_id` string, uuid, nullable, required
    - `is_add_on` boolean, nullable
    - `price` number, nullable, required
    - `quantity` number, required
    - `linked_order_line_item_id` string, uuid, nullable, required
    - `niche_snapshot` object, nullable, required
      - `version` 1, required
      - `outlet_niche_id` string, uuid, required
      - `niche` 'CRYPTO' | 'CBD' | 'GAMBLING' | 'ADULT_CONTENT' | 'SUPPLEMENTS' | 'MEDICAL' | 'INVESTING' | 'POLITICAL' | 'WEIGHT_LOSS' | 'GRAY_AREA_SERVICES', required
      - `multiplier` string, required
      - `parent_unit_price_cents` integer, required
      - `surcharge_unit_price_cents` integer, required
      - `display_name` string, required
  - `checkout_link` string, nullable, required: Guest checkout link for sharing with the customer

## Other responses

- `422`: The request sent a discount; discounts are applied with a coupon

## Changes

- **2026-10-20** `2154581d845e`: 1 breaking, 25 info
  - the response's body type changed from no type to `object` for status `200`
  - removed `#/components/schemas/Order, subschema #2` from the response body `allOf` list for the response status `200`
  - added the required property `checkout_by_id` to the response with the `200` status
  - added the required property `checkout_link` to the response with the `200` status
  - …22 more

[Operation history](https://skmtc.dev/presscart/apis/presscart-prod-api/changes/teams/:slug/orders/checkout/post.md)

---

[API](https://skmtc.dev/presscart/apis/presscart-prod-api.md) · [All operations](https://skmtc.dev/presscart/apis/presscart-prod-api/llms.txt) · [OpenAPI document](https://skmtc.dev/presscart/apis/presscart-prod-api/revisions/2154581d845e?raw)
