클레임
교환 재배송 등록
POST
accessTokenheader
AuthorizationBearer <JWT>Sayren 계정 토큰(로그인 토큰 또는 개인 액세스 토큰, RFC 9068 JWT)
claimId*stringX-Store-Id*string대상 상점 id. 토큰의 상점 범위 밖이면 403 STORE_NOT_GRANTED, 없으면 400 STORE_ID_REQUIRED다
application/json- body
carrierCode*stringLength
1 <= lengthtrackingNumber*stringLength
1 <= lengthinventoryLocationId?string교환품을 보낼 재고 위치. 생략하면 그 상품의 기준 위치
Length
1 <= length성공
application/json- response
meta*data*error*|nullcurl -X POST 'https://api.sayren.io/v1/claims/string/redelivery' \
-H 'X-Store-Id: string' \
-H 'Content-Type: application/json' \
-d '{
"carrierCode": "string",
"trackingNumber": "string"
}'Example Response200
{
"meta": {
"status": 200,
"code": "OK",
"message": "OK",
"isSuccess": true
},
"data": {
"claimId": "string",
"claimNo": null,
"type": "CANCEL",
"status": "REQUESTED",
"orderId": "string",
"orderItemId": "string",
"productName": "string",
"quantity": 0,
"reason": "CHANGE_OF_MIND",
"reasonDetail": "string",
"responsibility": "BUYER",
"claimDeliveryFee": 0,
"expectedRefundAmount": 0,
"expectedDeliveryFeeRefundAmount": 0,
"expectedPointRefundAmount": 0,
"exchangeOption": {
"optionId": "string",
"optionName": "string"
},
"collect": {
"method": "SELLER_PICKUP",
"carrierCode": "string",
"trackingNumber": "string"
},
"fulfillmentType": "SHIPPING",
"requestedAt": "string",
"completedAt": "string",
"holdExpiresAt": "string",
"holdUsed": true,
"rejection": null,
"returnAddress": {
"name": "string",
"contactName": "string",
"phone": "string",
"zipCode": "string",
"address1": "string",
"address2": "string"
}
},
"error": null
}