주문
주문 일괄 생성
주문을 일괄 생성합니다. 한 번에 최대 100개까지 요청할 수 있습니다. 요청한 즉시 비동기 작업이 생성되며, 비동기 작업 상태를 조회할 수 있는 jobId가 요청한 데이터 순서대로 반환됩니다. 이 값을 일괄 생성 작업 조회 API에 사용해서 작업 상태를 조회할 수 있습니다.
Authorization
HTTPBasic AuthorizationBasic <token>
In: header
Request Body
application/json
Response Body
application/json
application/json
curl -X POST "https://api.vreview.tv/admin/v2/orders/bulk" \ -H "Content-Type: application/json" \ -d '[ { "originId": "string", "orderedAt": "2019-08-24T14:15:22Z", "items": [ { "originId": "string", "productOriginId": "string" } ] } ]'[
{
"jobId": "string",
"status": "PENDING",
"entryOriginId": "string",
"successObjectId": "string",
"failureReason": "string",
"createdAt": "2019-08-24T14:15:22Z",
"startedAt": "2019-08-24T14:15:22Z",
"endedAt": "2019-08-24T14:15:22Z"
}
]{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}