v1

latestOpenAPI 3.1.02026-07-241080412.6 KB

Update an offer

patch/offers/{offerId}

Path parameters

offerIdstring required

Cleeng offer ID in a short format (without a country suffix). The unique identifier of the offer to be updated.

Request body

titlestring

Offer title, up to 255 characters.

descriptionstring

Offer description, up to 255 characters. Example: Best deal!

tagsstring[]

Tags to which a customer has access. A list of unique tags. Example: List [ "sport", "featured event" ]

urlstring

Url to your content described in the offer. Up to 200 characters. Example: https://example.com

imageUrlstring

Url to an image for an offer. Up to 255 characters. Example: https://example.com/image.jpg

seasonGroupIdstring

Available only for seasonal offers. Format: UUID. This is the identifier of a seasonal schedule - a group of seasons, each with its start and end date defined. (For more information on seasonal schedules, see Seasonal subscriptions.) Example: 0bdb7589-762c-40bf-b501-a0f02b59d76d

giftableboolean

Whether an offer can be purchased as a gift.