...
Endpoint | product environment: https://prod.ax-cloud.com/v1/channel/question/tour/<product_id>code> test environment: https://test.ax-cloud.com/v1/channel/question/tour/<product_code> |
---|---|
Method | POST |
Description | 특정 Product의 문의를 생성 합니다. |
Content-Type | application/json |
Headers > Authorization | Token {api_key} |
...
Name | Required | Type | Description |
---|---|---|---|
question_code | O | String | 답변을 식별할 수 있도록 채널에서 생성한 질문의 식별자
|
option_code | X | UUID | 질문이 옵션 관련 질문인 경우 상품 옵션 코드코드가 필요함 |
title | O | String | 문의 제목 |
body | X | String | 문의 본문. 제목이 따로 없는 경우 본문으로 전달. |
is_public | O | Bool | 공개질문/비공개질문(판매자, 문의자만 조회) 여부 |
quested_at | O | Datetime | YYYY-MM-DD hh:mm:ss
|
3) Response
...
Expand | ||
---|---|---|
| ||
|
4) Error Spec
Expand | ||
---|---|---|
| ||
|
Expand | ||
---|---|---|
| ||
|
...
Code Block curl -X 'POST' \ 'https://prod.ax-cloud.com/v1/channel/question/tour' \ -H 'accept: application/json' \ -H 'Content-Type: application/json' \ -H "Authorization: Token api_key_secret" \ -d '{ "question_code": "6ecf4685-ca60-4a7d-843c-479329ca8789", "option_code": "090a9be03975a8b34ec-1a32-4b70-a5ba-8f2c81ec4c09", "title": "투어상품 관련문의.", "body": "준비물은 없나요?", "question"is_public": true, "quested_at": "2022-01-21T1021 10:00:00.000Z", "anonymous": true }'
...