Order items
Confirm bulk
Authorization
bearer AuthorizationBearer <token>
userToken(계정 스코프) 또는 storeToken(스토어 스코프)
In: header
Header Parameters
idempotency-key*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
orderItemIds*array<string>
Items
1 <= items <= 100Response Body
application/json
curl -X POST "https://example.com/v1/order-items/confirm" \ -H "idempotency-key: string" \ -H "Content-Type: application/json" \ -d '{ "orderItemIds": [ "string" ] }'{ "meta": { "status": 0, "code": "OK", "message": "string", "isSuccess": true }, "data": { "succeeded": [ "string" ], "failed": [ { "id": "string", "productId": "string", "orderItemId": "string", "code": "string", "message": "string" } ] }, "error": null}주문상품 변경 목록 조회 GET
마지막 변경 시각 범위(최대 24시간)로 주문상품을 변경 시각 오름차순으로 조회한다. 연동사가 변경분을 주기적으로 가져가는 용도다. 스코프 `order:r`. 테스트 결제(샌드박스 결제) 주문은 `testPayment: true`다. 실제로 돈이 오가지 않았으므로 상품을 발송하지 않도록 주의한다. `testPayment` 쿼리로 테스트 결제만(`true`)·실결제만(`false`) 볼 수 있다. 주문상품의 `testPayment`는 소속 주문의 값이다. method는 호환용이며 간편결제를 CARD로 표시한다. 실제 수단은 approvedMethod를 본다(`payment.approvedMethod` — 매출 리포트·스토어프론트·환불 원장과 같은 값).
Confirm POST
Next Page