---
title: "POST /api/distribution/checkout/{id}/complete"
method: POST
path: "/api/distribution/checkout/{id}/complete"
tags: ["api", "distribution-api"]
---

# POST /api/distribution/checkout/{id}/complete

`POST /api/distribution/checkout/{id}/complete`

Complete a checkout.

## Path parameters

- `id` string, required

## Request body

- POSTDistributionApiCompleteACheckout
  - `distributorId` string, required — The distributor to create a checkout for
  - `customer` object, required — The customer to create a checkout for
    - `firstName` string, required — The first name of the customer
    - `lastName` string, required — The last name of the customer
    - `email` string, email, required — The email of the customer
    - `company` string — The company of the customer
    - `phone` string — The phone of the customer
    - `address` object — The address of the customer
      - `lineOne` string, required — The first line of the address
      - `lineTwo` string — The second line of the address
      - `city` string, required — The city of the address
      - `postal` string, required — The postal code of the address
      - `state` string — The state of the address
      - `country` string, required — The country of the address

## Response `200`

OK

- DistributionCheckoutResource
  - `checkoutId` string, required — The ID of the checkout
  - `transactionId` string — The ID of the transaction
  - `status` 'NEW' | 'ABORTED' | 'COMPLETE', required — The status of the checkout
  - `distributorId` string, required — The ID of the distributor
  - `expiresAt` string, date-time — The ISO timestamp when the checkout expires
  - `externalReferenceId` string — The external reference id for the checkout
  - `tickets` object[] — The created tickets in the checkout when the checkout is completed
    - `ticketId` string, required — The ID of the ticket
    - `offerId` string, required — The ID of the ticket's offer
    - `barcode` string, required — The barcode of the ticket
    - `url` string, required — The URL of the ticket
    - `eventId` string, required — The ID of the ticket's event
    - `availabilityId` string, required — The ID of the ticket's availability
    - `timeSlotId` string — The ID of the ticket's time slot
    - `seatingInfo` union — The seating info of the ticket
      - object
        - `type` 'Seats', required
        - `gate` string — The gate for the seat
        - `name` string — The name of the section if the ticket is for a GeneralAdmission section
        - `seatId` string, required
        - `sectionName` string, required — The section name for the seat
        - `rowName` string, required — The row name for the seat
        - `seatName` string, required — The seat name for the seat
      - object
        - `gate` string — The gate for the seat
        - `name` string — The name of the section if the ticket is for a GeneralAdmission section
        - `seatId` string
        - `type` 'GeneralAdmission', required — The type of the seating group this seat belongs to

## Other responses

- `400` — Bad Request
- `403` — Forbidden

---

[API](https://skmtc.net/vivenu/apis/vivenu-api.md) · [All operations](https://skmtc.net/vivenu/apis/vivenu-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vivenu/vivenu-api/revisions/36be0dca14e7/schema)
