Skip to Content
Sayren 유저가이드
내 정보

취소·반품·교환 요청

POST
/storefront/v1/me/order-items/{orderItemId}/claims

Authorization

headerAuthorizationBearer <JWT>

회원 accessToken

Path Parameters

orderItemId*string

Request Body

application/json
  1. body
type*string
Value in"CANCEL""RETURN""EXCHANGE"
reason*string
Value in"CHANGE_OF_MIND""WRONG_ORDER""DEFECTIVE""WRONG_DELIVERY""DIFFERENT_FROM_PAGE""DELAY"
reasonDetail?string
Lengthlength <= 1000
evidenceImages?array<>
Itemsitems <= 5
exchangeOptionId?string
quantity?integer

취소·반품·교환할 수량. 생략하면 남은 수량 전체다. 남은 수량보다 크면 400 INVALID_QUANTITY

Range1 <= value

Response Body

성공

application/json
  1. response
meta*
data*
error*|null
Example Request
curl -X POST 'https://api.sayren.io/storefront/v1/me/order-items/string/claims' \
  -H 'Content-Type: application/json' \
  -d '{
  "type": "CANCEL",
  "reason": "CHANGE_OF_MIND"
}'
Example Response201
{
  "meta": {
    "status": 201,
    "code": "OK",
    "message": "OK",
    "isSuccess": true
  },
  "data": {
    "claimId": "string",
    "claimNo": null,
    "status": "REQUESTED",
    "approved": false,
    "expectedRefundAmount": 0,
    "claimDeliveryFee": 0,
    "quantity": 0,
    "deliveryFeeRefundAmount": 0,
    "couponChargeAmount": 0,
    "couponChargeRefundAmount": 0,
    "pointRefundAmount": 0
  },
  "error": null
}