v1

latestOpenAPI 3.0.12026-07-24210349345.4 KB
PromoCodeQuery

Get a promocode by id

get/v1/promocodes/{promocodeId}

Path parameters

promocodeIdstring required

Response

A successful response.

promocodeIdstring
promotionIdstring
state'NOT_EXIST' | 'AVAILABLE' | 'PROMOTION_ASSIGNED' | 'CAMPAIGN_LINKED' | 'HIDDEN'
versioninteger
createdAtstring date-time
updatedAtstring date-time
uniqueCodesobject
type'GENERIC' | 'PERSONALIZED' | 'NO_CODE'
fallbackConfig'UNKNOWN' | 'USE_FALLBACK_CODE' | 'REJECT_CUSTOMER'
allocationConfig'UNSET' | 'ALWAYS_NEW_CODE' | 'ONE_CODE_PER_CUSTOMER'
campaignIdsstring[]