---
title: "POST /api/v{version}/Offer/CreateOffer"
method: POST
path: "/api/v{version}/Offer/CreateOffer"
tags: ["Offer"]
---

# POST /api/v{version}/Offer/CreateOffer

`POST /api/v{version}/Offer/CreateOffer`

## Request

- Base URL: `https://api.trucklots.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.trucklots.com/api/v{version}/Offer/CreateOffer`
- Auth: API key in header `Authorization` and API key in header `X-Partner-Authorization`

## Path parameters

- `version` string, required

## Request body

- CreateOfferRequest
  - `parkingLots` ParkingLotsInput[], nullable
    - `parkingLotId` string, uuid
    - `companyId` string, uuid
  - `couponCode` string, nullable
  - `percentage` number, double
  - `summary` string, nullable
  - `description` string, nullable
  - `startDate` string, nullable
  - `endDate` string, nullable
  - `offerStatus` 1 | 2 | 3 | 4 | 5
  - `couponFor` 0 | 1 | 2 | 3 | 4
  - `offerVisibility` 0 | 1

## Response `200`

OK

- CreateOfferResponse
  - `message` string, nullable
  - `status` boolean
  - `data` unknown
  - `notificationData` unknown
  - `totalRecords` integer, nullable

---

[API](https://skmtc.dev/trucklots/apis/trucklot-parking-api.md) - [All operations](https://skmtc.dev/trucklots/apis/trucklot-parking-api/llms.txt) - [OpenAPI document](https://skmtc.dev/trucklots/apis/trucklot-parking-api/revisions/c49b46a3c7f3?raw)
