옵션ID 에 적용된 캐시백 룰을 중지한다.
Path
DELETE
/v2/providers/openapi/apis/api/v4/vendors/{vendorId}/products/items/cashback
Example Endpoint
https://api-gateway.coupang.com/v2/providers/openapi/apis/api/v4/vendors/A00012345/products/items/cashback?ruleId=3944&vendorItemId=3000001897
Request Parameters
Path Segment Parameter
Name | Required | Type | Description | ||||
---|---|---|---|---|---|---|---|
vendorId | O | String |
판매자 ID
쿠팡에서 업체에게 발급한 고유 코드
예) A00012345
|
Query String Parameter
Name | Required | Type | Description | ||||
---|---|---|---|---|---|---|---|
ruleId | O | Number |
Rule ID
캐시백 관련 계약완료 후 제공받은 룰 아이디를 입력
|
||||
vendorItemId | O | Number |
옵션 ID
|
Request Example
not require body
Response Message
Name | Type | Description | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
code | Number |
Http request status code
Example: 200, 400, 500
|
||||||||||
message | String |
성공 혹은 실패 시 해당 결과메시지가 나타남
|
Response Example
{
"code": "200",
"message": "OK"
}
Error Spec
HTTP 상태 코드(오류 유형) | 오류 메시지 | 해결 방법 |
---|---|---|
404 (요청변수확인) | Can not find promotion with given condition vendorItemId : 3376*****9 | 캐시백이 적용된 옵션 ID(vendorItemId) 인지 확인합니다. 캐시백이 적용된 옵션 ID만 캐시백 삭제가 가능합니다. |
400 (요청변수확인) |
vendor don't have the permission to use this rule, please make sure you use the correct ruleId. |
RuleId 를 올바르게 입력했는지 확인합니다. |
400 (요청변수확인) |
Invalid vendorItemId, vendorItemId doesn't exist or doesn't belong to corresponding vendorId |
옵션 ID(vendorItemId) 값을 올바로 입력했는지 확인합니다. |
URL API Name
DELETE_PRODUCT_CASHBACK