위치:
쿠폰 사용 API
쿠폰 사용 API를 사용하여 고객의 쿠폰 사용을 정확하게 추적합니다. 고객이 장바구니에 쿠폰을 선택하면 쿠폰 사용량 증가 API를 사용하여 쿠폰 사용 횟수를 늘립니다. 고객이 장바구니에서 선택한 쿠폰을 제거하는 경우 쿠폰 사용량 감소 API를 사용하여 쿠폰 사용 횟수를 되돌립니다.
쿠폰 사용 API를 사용하여 고객의 쿠폰 사용을 정확하게 추적합니다. 고객이 장바구니에 쿠폰을 선택하면 쿠폰 사용량 증가 API를 사용하여 쿠폰 사용 횟수를 늘립니다. 고객이 장바구니에서 선택한 쿠폰을 제거하는 경우 쿠폰 사용량 감소 API를 사용하여 쿠폰 사용 횟수를 되돌립니다.
| 지원 제품: Lightning Experience |
| 지원 제품: 실시간 프로모션 관리 기능을 갖춘 엔터프라이즈, 무제한 및 개발자 에디션 |
API는 각 쿠폰의 전체 사용량 및 고객별 사용량을 추적하여 쿠폰 상환을 관리합니다.
고객이 프로모션용 장바구니에 적용할 쿠폰을 선택하면 쿠폰 사용량 증가 API를 실행하여 고객에게 선택한 쿠폰을 사용할 수 있습니다. API는 쿠폰의 전체 사용 횟수와 고객의 쿠폰 사용 횟수를 증가시킵니다.
API 응답은 업데이트된 사용 횟수, 쿠폰의 상환 제한, 쿠폰 및 고객에 사용할 수 있는 나머지 상환 수 등 쿠폰에 대한 세부 정보를 제공합니다.
쿠폰 사용 감소 API를 사용하여 고객이 장바구니에서 쿠폰을 선택 취소할 때 쿠폰 사용 횟수를 줄입니다. 쿠폰 사용 감소 API를 사용하여 트랜잭션이 실패하거나 취소될 때 쿠폰 사용 횟수를 줄일 수도 있습니다.
API 응답은 사용 횟수가 감소한 쿠폰에 대한 자세한 정보를 제공합니다. 정보에는 쿠폰의 업데이트된 상환 제한 및 쿠폰 및 고객에 사용할 수 있는 나머지 상환 수도 포함됩니다.
[
{
"couponCode": "SNEAKER50",
"isSuccess": true,
"redemptionLimit": 15000,
"redemptionLimitPerCustomer": 5,
"remainingRedemptionCount": 13447,
"remainingRedemptionCountForCustomer": 2
}
]처음에 SNEAKER50 쿠폰이 선택되었지만 고객이 나중에 장바구니에서 제거했습니다. 쿠폰 사용 감소 API를 사용하여 수를 되돌립니다. 결과에 따르면 전체적으로 13,448건의 상환이 남아 있고 이 특정 고객에 대해 남아 있는 상환은 3건입니다.{
"couponCode": "SNEAKER50",
"isSuccess": false
"redemptionLimit": 15000,
"redemptionLimitPerCustomer": 5,
"remainingRedemptionCount": 13448,
"remainingRedemptionCountForCustomer": 3
}
]
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.