v2

latestOpenAPI 3.1.02026-08-01244220427.0 KB
Loyalty

Duplicate Loyalty Program Offer

Duplicate Offer

Creates a duplicate of an existing offer within a loyalty program.

  • Path Parameters:

    • programId: UUID of the loyalty program
  • Request Body:

    • data: JSON object containing the new offer data.
  • Returns:

    • Details of the duplicated offer as a JSON object.
post/v2/loyalty/programs/{programId}/offers/{offerId}/duplicate

Path parameters

string required
OR
string required
Example:5eb7cf5a86d9755df3a6c593
string required
OR
string required
Example:5eb7cf5a86d9755df3a6c593

Headers

authorizationstring nullable

Request body

namestring required
descriptionstring nullable
startDatestring date-time nullable
endDatestring date-time nullable
autoClaimboolean nullable
autoClaimOverwriteboolean nullable
notifyboolean nullable
notifyMessagestring nullable
pointsMininteger nullable
pointsMaxinteger nullable
pointsCostinteger nullable
limitPerCustomerinteger nullable
availabilityCountinteger nullable
valuenumber nullable
currencystring nullable
type'fixed' | 'percent' | 'other'
categoriesstring nullable
productsstring nullable
priceRule'min' | 'max' | 'none'

Response

Successful Response

{"stackTrail":"paths:/v2/loyalty/programs/{programId}/offers/{offerId}/duplicate:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}