Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 31 Next »


1. Latest List

1) Purpose

  • 채널에 최초 상품을 등록한 이후, 채널에서 등록한 상품들 중, Supplier에 의해 상품 정보에 변경이 발생한 상품의 간략한 정보를 확인할 수 있습니다.

2) Detail

2. API Spec

1) Request

Endpoint

product environment: https://prod.ax-cloud.com/v1/channel/products/tour/update

test environment: https://test.ax-cloud.com/v1/channel/products/tour/update

Method

GET

Description

업데이트된 상품정보 확인

Content-Type

application/json

Headers > Authorization

Token {api_key}

2) Query Parameter

Name

Required

Type

Description

page

X

Integer

default : 1

page_size

X

Integer

default : 25

3) Response

 Status Code : 201 Response: 업데이트된 정보가 있는 product info
{
  "data": [
    {
      "product_code" : <string>,
      "title": <string>,
      "version": <int>
    },
    {
      "product_code" : <string>,
      "title": <string>,
      "version": <int>
    },
    ...
  ]
}

4) Error Spec

 Status Code : 400 Cause: 유효하지 않은 요청 값
{'detail': "유효하지 않은 query입니다.")]}
 Status Code : 403 Cause: 유효하지 않은 API Key 혹은 Channel Code
{'detail': ErrorDetail(string='이 작업을 수행할 권한(permission)이 없습니다.', code='permission_denied')}

3. Request Example

1) CURL

curl --location --request GET\
 'https://prod.ax-cloud.com/v1/channel/products/tour/update' \
--header 'Authorization: Token <access_key>' \
--header 'Content-Type: application/json'

  • No labels