Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Endpoint

https://prod.ax-cloud.com/v1/channel/inventory/day-ticket/{product_idcode}

Method

GET

Description

특정 Product의 Inventory를 조회합니다.

Content-Type

application/json

Headers > Authorization

Token {api_key}

Headers > Channel

Code {channel_code}

...

Name

Required

Type

Description

product_idcode

O

String

Product ID(UUID)

3) Query Parameter

Name

Required

Type

Description

page

X

Integer

Page number(default : 1)

page_size

X

Integer

Size per page(default : 25)

...

Name

Type

Description

status_code

Integer

정상 처리 시 200

data

List[Object]

인벤토리 리스트

id

Integer

depth_combination_code

String

뎁스 콤비네이션 아이디

inventory_code

String

인벤토리 아이디

date

Date

날짜

max_quantity

Integer

최초 생성 재고

remain_quantity

Integer

남은 재고

ordered_quantity

Integer

주문 갯수

depth_combination_id

String

인벤토리 연관된 옵션 아이디

4) Response Example

Expand
titleStatus Code : 200 정상 처리 시
Code Block
languagejson
{
  "status_code": 200,
  "data": [
    {
      "idinventory_code": 1"d50a6594-3457-4e87-afe1-435ca13b8cdd",
      "date": "2023-03-01",
      "max_quantity": 25, 
      "remain_quantity": 15, 
      "ordered_quantity": 10,
      "depth_combination_id": 15
    },
    {
      "idinventory_code": 2"374bf54a-d7c1-4ad3-a95a-32aa3e7212ae",
      "date": "2023-03-08",
      "max_quantity": 25, 
      "remain_quantity": 5, 
      "ordered_quantity": 20,
      "depth_combination_id": 15
    },
    {
      "idinventory_code": 3"5e77bcf2-9026-4263-847b-a8a4a84b5613",
      "date": "2023-03-15",
      "max_quantity": 25, 
      "remain_quantity": 11, 
      "ordered_quantity": 14,
      "depth_combination_id": 15
    }
  ]
}

...