POST /vendors
新しい出品者を作成するには、/api/vendorsエンドポイントにPOSTリクエストを送信します。
リクエスト:ヘッダー
| Name | Value |
|---|---|
| Content-Type | application/json |
| Authorization | Basic <認証情報> |
リクエスト:ボディ
| Name | Type | 必須 | 説明 | デフォルト値 |
|---|---|---|---|---|
company |
string | ○ | 出品者名 | |
storefront |
string | デフォルトはapi |
api |
|
company_description |
string | |||
status |
string | N, A, P, D |
A |
|
lang_code |
string | |||
email |
string | ○ | Eメールアドレス | |
phone |
string | ○ | 電話番号 | |
url |
string | URL | ||
fax |
string | FAX番号 | ||
address |
string | ○ | 住所 | |
city |
string | ○ | 市区町村 | |
country |
string | ○ | 国 | |
state |
string | ○ | 都道府県 | |
zipcode |
string | ○ | 郵便番号 | |
pre_moderation |
string | |||
pre_moderation_edit |
string | |||
pre_moderation_edit_vendors |
string | |||
categories |
string | |||
shippings |
array | |||
commission |
string | 例)10.55 | ||
commission_type |
string | A/P |
||
terms |
string |
レスポンス
{}{}