Skip to main content
POST
/
cart
/
add
cURL
curl --request POST \
  --url https://api.plec-it.com/cart/add \
  --header 'Content-Type: application/json' \
  --data '
{
  "listingId": "10000001",
  "listingTitle": "Downtown Event Space",
  "startTime": "2025-12-04T09:00:00.000Z",
  "endTime": "2025-12-04T13:00:00.000Z",
  "guestCount": 10,
  "selectedPackages": [
    {
      "packageId": "pkg-premium",
      "packageName": "Premium tier",
      "price": 100
    }
  ],
  "skipBaseRate": true,
  "imageUrl": "<string>"
}
'
{
  "success": true
}

Query Parameters

dryRun
enum<string>
default:true
required

When true, validates/simulates but performs no writes. Required for docs playground.

Available options:
true

Body

application/json
listingId
string
required

Listing ID

Example:

"10000001"

listingTitle
string
required

Listing title

Example:

"Downtown Event Space"

startTime
string
required

Booking start (ISO 8601)

Example:

"2025-12-04T09:00:00.000Z"

endTime
string
required

Booking end (ISO 8601)

Example:

"2025-12-04T13:00:00.000Z"

guestCount
number
required

Number of guests

Example:

10

selectedPackages
object[]

Selected packages

skipBaseRate
boolean

When true, a selected package includes venue rental; do not add base hourly rate to subtotal

imageUrl
string

Listing image URL

Response

201 - application/json
success
boolean
Example:

true