Skip to Content
Sayren 유저가이드
상품 일괄 반영

상품 상세 묶음 조회

엑셀 내려받기·올린 파일 대조용 — 상품 id·상품번호(합쳐 100개)로 상품 상세를 한 번에 읽는다. 이 상점에 없는 값은 결과에서 빠진다

POST
/v1/product-imports/products

엑셀 내려받기·올린 파일 대조용 — 상품 id·상품번호(합쳐 100개)로 상품 상세를 한 번에 읽는다. 이 상점에 없는 값은 결과에서 빠진다

Authorization

accessToken
headerAuthorizationBearer <JWT>

Sayren 계정 토큰(로그인 토큰 또는 개인 액세스 토큰, RFC 9068 JWT)

Header Parameters

X-Store-Id*string

대상 상점 id. 토큰의 상점 범위 밖이면 403 STORE_NOT_GRANTED, 없으면 400 STORE_ID_REQUIRED다

Request Body

application/json
  1. body
productIds?array<>
Itemsitems <= 100
productNos?array<>
Itemsitems <= 100

Response Body

성공

application/json
  1. response
meta*
data*array<>
error*|null
Example Request
curl -X POST 'https://api.sayren.io/v1/product-imports/products' \  -H 'X-Store-Id: string' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "meta": {    "status": 200,    "code": "OK",    "message": "OK",    "isSuccess": true  },  "data": [    {      "productId": "string",      "productNo": null,      "name": "string",      "status": "SALE",      "salePrice": 0,      "discountedPrice": 0,      "stockQuantity": 0,      "categoryId": "string",      "thumbnailUrl": "http://example.com",      "hasOptions": true,      "fulfillment": {        "type": "SHIPPING",        "shipping": {          "deliveryType": "FREE",          "deliveryFee": 0,          "conditionalFreeAmount": 0,          "shippingAddressId": "string",          "returnAddressId": "string",          "prices": [            {              "currency": "string",              "deliveryFee": 0,              "conditionalFreeAmount": 0            }          ]        },        "methods": [          "string"        ]      },      "updatedAt": "string",      "sample": false,      "prices": [        {          "currency": "string",          "salePrice": 0,          "originalPrice": 0,          "discountAmount": 0        }      ],      "description": "string",      "descriptionJson": "string",      "originalPrice": 0,      "pointEarnRateBp": 0,      "images": [        "http://example.com"      ],      "attributes": [        {          "attributeId": "string",          "value": "string"        }      ],      "optionGroups": [        {          "groupId": "string",          "name": "string",          "sortOrder": 0,          "values": [            {              "valueId": "string",              "name": "string",              "sortOrder": 0            }          ]        }      ],      "variants": [        {          "variantId": "string",          "variantNo": null,          "valueIds": [            "string"          ],          "name": "string",          "additionalPrice": 0,          "prices": [            {              "currency": "string",              "additionalPrice": 0            }          ],          "stockQuantity": 0,          "sku": "string",          "barcode": "string",          "costPrice": 0,          "weightGram": 0,          "sellerCode": "string",          "usable": true,          "attributes": {            "property1": "string",            "property2": "string"          },          "hasOrders": true        }      ],      "addonGroups": [],      "customInputs": [],      "optionSort": "REGISTERED",      "inventoryMode": "string",      "flowId": "string",      "fulfillmentTypeLocked": true,      "refundPolicy": {        "preShipmentDeliveryFeeRefund": true,        "returnDeliveryFee": 0,        "exchangeDeliveryFee": 0,        "sellerFaultFreeShipping": true,        "conditionalFreeShortfallCharge": true,        "currencies": {          "property1": {            "returnDeliveryFee": 0,            "exchangeDeliveryFee": 0          },          "property2": {            "returnDeliveryFee": 0,            "exchangeDeliveryFee": 0          }        }      },      "discount": {        "productId": "string",        "discountType": "RATE",        "discountValue": 0,        "discountedPrice": 0,        "startAt": "string",        "endAt": "string"      },      "notice": {        "schemaId": "string",        "version": 0,        "values": {          "property1": "string",          "property2": "string"        }      },      "certifications": {        "subjects": [          {            "subject": "string",            "status": "string",            "exemption": "string"          }        ],        "items": [          {            "kind": "string",            "agency": "string",            "number": "string"          }        ]      },      "infoSectionIds": [],      "createdAt": "string"    }  ],  "error": null}