Skip to Content
Sayren 유저가이드
사이트맵

사이트맵 상품 목록

사이트맵(`sitemap.xml`)을 만들 판매 중 상품의 id·이름·수정 시각이다. 상품 검색과 같은 상품이 상품 id 순으로 온다. 페이지 크기는 기본 100, 최대 500이다. 주소 조립과 XML 변환은 스토어프론트가 한다(상품 상세 경로는 `productId`를 받는다).

GET
/storefront/v1/sitemap/products

사이트맵(sitemap.xml)을 만들 판매 중 상품의 id·이름·수정 시각이다. 상품 검색과 같은 상품이 상품 id 순으로 온다. 페이지 크기는 기본 100, 최대 500이다. 주소 조립과 XML 변환은 스토어프론트가 한다(상품 상세 경로는 productId를 받는다).

Authorization

headerAuthorizationBearer <JWT>

회원 accessToken

Query Parameters

page*string
size*string

Response Body

성공

application/json
  1. response
meta*
data*
error*|null
Example Request
curl -X GET 'https://api.sayren.io/storefront/v1/sitemap/products?page=string&size=string'
Example Response200
{
  "meta": {
    "status": 200,
    "code": "OK",
    "message": "OK",
    "isSuccess": true
  },
  "data": {
    "page": 0,
    "size": 0,
    "totalElements": 0,
    "totalPages": 0,
    "contents": [
      {
        "productId": "string",
        "name": "string",
        "updatedAt": "string"
      }
    ]
  },
  "error": null
}