클레임
반품·교환 수거 등록
POST
accessTokenheader
AuthorizationBearer <token>Sayren 계정 토큰(로그인 토큰 또는 개인 액세스 토큰, RFC 9068 JWT)
claimId*stringX-Store-Id*string대상 상점 id. 토큰의 상점 범위 밖이면 403 STORE_NOT_GRANTED, 없으면 400 STORE_ID_REQUIRED다
application/json- body
collectMethod*stringValue in
"SELLER_PICKUP""BUYER_SEND"carrierCode?string성공
application/json- response
meta*data*error*|nullcurl -X POST 'https://api.sayren.io/v1/claims/string/collect' \ -H 'X-Store-Id: string' \ -H 'Content-Type: application/json' \ -d '{ "collectMethod": "SELLER_PICKUP"}'{ "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, "returnAddress": { "name": "string", "contactName": "string", "phone": "string", "zipCode": "string", "address1": "string", "address2": "string" } }, "error": null}