상품 일괄 반영
상품 일괄 반영 시작
붙인 항목을 반영한다. 항목 하나라도 실패하면 아무것도 반영하지 않고 `FAILED`와 항목별 오류를 남긴다. 결과는 조회로 본다
POST
붙인 항목을 반영한다. 항목 하나라도 실패하면 아무것도 반영하지 않고 FAILED와 항목별 오류를 남긴다. 결과는 조회로 본다
accessTokenheader
AuthorizationBearer <JWT>Sayren 계정 토큰(로그인 토큰 또는 개인 액세스 토큰, RFC 9068 JWT)
importId*stringX-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/string/start' \
-H 'X-Store-Id: string'Example Response
{
"meta": {
"status": 202,
"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
}