Versions Compared

Key

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

...

Endpoint

product environment: https://prod.ax-cloud.com/v1/channel/orders/day-ticket

test environment: https://test.ax-cloud.com/v1/channel/orders/day-ticket

Method

POST

Description

새 주문 등록

Content-Type

application/json

Headers > Authorization

Token {api_key}

Headers > Channel

Code {channel_code}

2) Body Parameter

(1) Parameter

...

Name

Required

Type

Description

Example

channel_product_mapping_code

O

String

  • 채널에 등록된 상품 옵션과 AX Cloud 의 상품 옵션을 매핑한 테이블의 고유 식별자

option_code

O

String

  • 팔린 상품의 옵션에 해당하는 Depth Combination의 Option의 고유 식별자

quantity

O

Integer

  • 각 옵션 판매량

inventory_at

O

Datetime

  • 팔린 상품의 사용 일자를 RFC 3339 형식의 Datetime 표기

  • Option의 특정 날짜의 인벤토리를 특정하기 위해 필요.

unit_selling_price

O

String

  • 옵션 당 판매 단가

  • 소수점 5자리

discount

X

String

  • 옵션 당 할인가

  • 소수점 5자리

discount_method

X

String

  • 옵션 당 할인 방법

amount_price

O

String

  • 옵션 당 최종가격

  • 소수점 5자리

tickets

O

List[Ticket]

  • Option > quantity 하나에 대응되는 Entity

...