상품 일괄 반영
상품 일괄 반영 작업 만들기
엑셀 일괄 등록·수정의 작업을 만든다(`DRAFT`). 항목을 붙인 뒤 시작한다
POST
엑셀 일괄 등록·수정의 작업을 만든다(DRAFT). 항목을 붙인 뒤 시작한다
accessTokenheader
AuthorizationBearer <JWT>Sayren 계정 토큰(로그인 토큰 또는 개인 액세스 토큰, RFC 9068 JWT)
X-Store-Id*string대상 상점 id. 토큰의 상점 범위 밖이면 403 STORE_NOT_GRANTED, 없으면 400 STORE_ID_REQUIRED다
성공
application/json- response
meta*data*error*|nullcurl -X POST 'https://api.sayren.io/v1/product-imports' \ -H 'X-Store-Id: string'Example Response
{ "meta": { "status": 201, "code": "OK", "message": "OK", "isSuccess": true }, "data": { "importId": "string", "status": "string", "itemCount": 0, "errors": [ { "key": "string", "code": "string", "message": "string", "fieldErrors": [ { "field": "string", "code": "string", "message": "string" } ] } ], "results": [ { "key": "string", "action": "string", "productId": "string" } ], "createdAt": "string", "startedAt": "string", "finishedAt": "string" }, "error": null}