Skip to Content
Sayren 유저가이드
저장 옵션

저장 옵션 번역 목록 조회

언어별 옵션명·값·직접 입력 항목 이름(이슈 #134). 저장 옵션에는 id가 없어 기본 언어 이름이 키다. 상품이 불러올 때 상품 번역으로 함께 복사하고, 그 뒤로는 상품 번역이 원천이다.

GET
/v1/saved-option-sets/{optionSetId}/localizations

언어별 옵션명·값·직접 입력 항목 이름(이슈 #134). 저장 옵션에는 id가 없어 기본 언어 이름이 키다. 상품이 불러올 때 상품 번역으로 함께 복사하고, 그 뒤로는 상품 번역이 원천이다.

Authorization

accessToken
headerAuthorizationBearer <JWT>

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

Path Parameters

optionSetId*string

Header Parameters

X-Store-Id*string

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

Response Body

성공

application/json
  1. response
meta*
data*array<>
error*|null
Example Request
curl -X GET 'https://api.sayren.io/v1/saved-option-sets/string/localizations' \
  -H 'X-Store-Id: string'
Example Response
{
  "meta": {
    "status": 200,
    "code": "OK",
    "message": "OK",
    "isSuccess": true
  },
  "data": [
    {
      "locale": "string",
      "groups": [
        {
          "baseName": "string",
          "name": "string",
          "values": [
            {
              "baseName": "string",
              "name": "string"
            }
          ]
        }
      ],
      "customInputs": [
        {
          "baseLabel": "string",
          "label": "string",
          "placeholder": "string"
        }
      ],
      "updatedAt": "string"
    }
  ],
  "error": null
}