Download OpenAPI specification:Download
DEXTRE Merchant APIは、マーチャント(メーカー)向けのAPIです。マーチャント(メーカー)をお持ちの方のみ、ご利用いただけます。 ご利用をご希望の方は、マニュアルに記載の手順でご利用ください。
DEXTRE Merchant APIは、APIキーによる認証を行います。
API利用申請をいただいたのちに、機能がアンロックされ、メーカーアプリの設定画面からAPIキーを発行いただけます。
APIキーは、リクエストヘッダーの X-Merchant-API-Key に設定してください。
DEXTRE Merchant APIでは、以下のリクエスト制限があります。制限を超過した場合は、 429 Too Many Requests が返却されます。
*今後、プランごとに制限の上限を変更する場合がございます。
APIでエラーが発生した場合、下記のステータスコードが返却されます。
| ステータスコード | 原因 |
|---|---|
| 400 | 不正リクエスト |
| 401 | 認証エラー |
| 402 | 有効期限が超過しているなど、API利用料金の支払いが必要な状態 |
| 403 | 認可エラー |
| 404 | リソースが見つからない |
| 422 | 処理できないリクエスト |
| 429 | リクエスト制限超過 |
| 500 | サーバーエラー |
| 503 | メンテナンスやサーバーダウンなどにより、サービス利用不可 |
また、エラーレスポンスは下記のJSON形式で返却されます。
{
"error": {
"statusCode": 403,
"messages": [
"Forbidden"
]
}
}
Merchant object
マーチャント(Maker)設定情報を表します。
有効化する言語、通貨、取引条件などの設定を持ちます。
| object | string Default: "merchant" |
| merchantId | string |
Array of objects マーチャントの名称 | |
| countryCode | string マーチャントの所在国コード。 |
| enabledLanguageCodes | Array of strings Items Enum: "ja" "en" "zh" "es" "fr" "de" "it" "ko" "ru" "nl" "pt" マーチャントで有効化している言語コードのリスト。 |
| primaryLanguageCode | string Enum: "ja" "en" "zh" "es" "fr" "de" "it" "ko" "ru" "nl" "pt" マーチャントの主要な言語コード。 |
| enabledCurrencyCodes | Array of strings Items Enum: "AUD" "CAD" "CNY" "DKK" "HKD" "INR" "IDR" "JPY" "KRW" "MYR" "NOK" "PHP" "RUB" "SGD" "VND" "SEK" "CHF" "THB" "GBP" "USD" "TWD" "EUR" "BRL" マーチャントで有効化している通貨コードのリスト。 |
| primaryCurrencyCode | string Enum: "AUD" "CAD" "CNY" "DKK" "HKD" "INR" "IDR" "JPY" "KRW" "MYR" "NOK" "PHP" "RUB" "SGD" "VND" "SEK" "CHF" "THB" "GBP" "USD" "TWD" "EUR" "BRL" マーチャントの主要な通貨コード。 |
| enabledTransactionTermCodes | Array of strings Items Enum: "exw" "fca" "cpt" "cip" "dap" "dpu" "ddp" "fas" "fob" "cfr" "cif" "kakeritsu_transaction" "wholesale_transaction" マーチャントで有効化している取引条件コードのリスト。 |
| primaryTransactionTermCode | string Enum: "exw" "fca" "cpt" "cip" "dap" "dpu" "ddp" "fas" "fob" "cfr" "cif" "kakeritsu_transaction" "wholesale_transaction" マーチャントの主要な取引条件コード。 |
{- "object": "merchant",
- "merchantId": "string",
- "localizedNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "countryCode": "string",
- "enabledLanguageCodes": [
- "ja"
], - "primaryLanguageCode": "ja",
- "enabledCurrencyCodes": [
- "AUD"
], - "primaryCurrencyCode": "AUD",
- "enabledTransactionTermCodes": [
- "exw"
], - "primaryTransactionTermCode": "exw"
}| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
{- "data": {
- "merchant": {
- "object": "merchant",
- "merchantId": "string",
- "localizedNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "countryCode": "string",
- "enabledLanguageCodes": [
- "ja"
], - "primaryLanguageCode": "ja",
- "enabledCurrencyCodes": [
- "AUD"
], - "primaryCurrencyCode": "AUD",
- "enabledTransactionTermCodes": [
- "exw"
], - "primaryTransactionTermCode": "exw"
}
}
}Tax object
税情報を表します。
| object | string Default: "tax" |
| taxId | string 税を一意に識別するためのID。 |
| code | string 税のコード。 |
Array of objects 税の名前。 | |
| merchantId | string |
| countryCode | string 税を適用する国コード。 |
| rate | number [ 0 .. 1 ] 税率。 |
| status | string Value: "active" |
| createdAt | string <date-time> リソースの作成日時。 |
| updatedAt | string <date-time> リソースの更新日時。 |
{- "object": "tax",
- "taxId": "string",
- "code": "string",
- "localizedNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "merchantId": "string",
- "countryCode": "string",
- "rate": 1,
- "status": "active",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}| limit | integer [ 1 .. 100 ] Default: 20 Examples:
|
| cursor | string Cursor to fetch next or previous page (taxId) |
| direction | string Enum: "next" "previous" |
| taxIds | string Comma separated ids |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
curl -X GET "https://api.dextre.app/v1/merchant/taxes?limit=20" -H "X-Merchant-API-Key: YOUR_API_KEY" -H "X-Merchant-API-Version: latest"
{- "pagination": {
- "nextCursor": "string",
- "previousCursor": "string"
}, - "data": {
- "taxes": [
- {
- "object": "tax",
- "taxId": "string",
- "code": "string",
- "localizedNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "merchantId": "string",
- "countryCode": "string",
- "rate": 1,
- "status": "active",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]
}
}| taxId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
{- "data": {
- "tax": {
- "object": "tax",
- "taxId": "string",
- "code": "string",
- "localizedNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "merchantId": "string",
- "countryCode": "string",
- "rate": 1,
- "status": "active",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}
}InventoryLabel object
在庫データを構成する在庫ラベル情報を表します。
| object | string Default: "inventory_label" |
| labelId | string |
| code | string |
| merchantId | string |
| type | string Enum: "anticipated_inventory" "actual_inventory" "disposed_inventory" "sold" "production_discontinued" 在庫ラベルのタイプを表します。 |
| displayName | string 在庫ラベルの表示名を表します。 |
| isSaleable | boolean この在庫ラベルが適用された在庫が販売可能かどうかを表します。 |
| isDefault | boolean |
| isUserControlRestricted | boolean この在庫ラベルが適用された在庫がユーザーによる操作を制限されるかどうかを表します。 |
| status | string Enum: "active" "inactive" |
| sortKey | integer |
| createdAt | string <date-time> リソースの作成日時。 |
| updatedAt | string <date-time> リソースの更新日時。 |
{- "object": "inventory_label",
- "labelId": "string",
- "code": "string",
- "merchantId": "string",
- "type": "anticipated_inventory",
- "displayName": "string",
- "isSaleable": true,
- "isDefault": true,
- "isUserControlRestricted": true,
- "status": "active",
- "sortKey": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}| limit | integer [ 1 .. 100 ] Default: 20 |
| cursor | string Cursor to fetch next or previous page (labelId) |
| direction | string Enum: "next" "previous" |
| labelIds | string Comma separated ids |
| createdAtFrom | string <date-time> 作成日時での絞り込みを行う場合は、開始日時をISO 8601 format (eg. 2021-01-15T00:00:00Z)で指定してください。 |
| createdAtTo | string <date-time> 作成日時での絞り込みを行う場合は、終了日時をISO 8601 format (eg. 2021-01-15T00:00:00Z)で指定してください。 |
| updatedAtFrom | string <date-time> 更新日時での絞り込みを行う場合は、開始日時をISO 8601 format (eg. 2021-01-15T00:00:00Z)で指定してください。 |
| updatedAtTo | string <date-time> 更新日時での絞り込みを行う場合は、終了日時をISO 8601 format (eg. 2021-01-15T00:00:00Z)で指定してください。 |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
{- "pagination": {
- "nextCursor": "string",
- "previousCursor": "string"
}, - "data": {
- "labels": [
- {
- "object": "inventory_label",
- "labelId": "string",
- "code": "string",
- "merchantId": "string",
- "type": "anticipated_inventory",
- "displayName": "string",
- "isSaleable": true,
- "isDefault": true,
- "isUserControlRestricted": true,
- "status": "active",
- "sortKey": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]
}
}| labelId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
{- "data": {
- "label": {
- "object": "inventory_label",
- "labelId": "string",
- "code": "string",
- "merchantId": "string",
- "type": "anticipated_inventory",
- "displayName": "string",
- "isSaleable": true,
- "isDefault": true,
- "isUserControlRestricted": true,
- "status": "active",
- "sortKey": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}
}InventoryLocation object
在庫データを構成する在庫ロケーション情報を表します。
| object | string Default: "inventory_location" |
| locationId | string |
| code | string |
| merchantId | string |
| displayName | string 在庫ロケーションの表示名を表します。 |
object 在庫ロケーションの住所情報。 | |
| isDefault | boolean |
| isUserControlRestricted | boolean この在庫ロケーションがユーザーによる操作を制限されるかどうかを表します。 |
| status | string Enum: "active" "inactive" |
| sortKey | integer |
| createdAt | string <date-time> リソースの作成日時。 |
| updatedAt | string <date-time> リソースの更新日時。 |
{- "object": "inventory_location",
- "locationId": "string",
- "code": "string",
- "merchantId": "string",
- "displayName": "string",
- "address": {
- "object": "address",
- "code": "string",
- "name": "string",
- "countryCode": "string",
- "postalCode": "string",
- "state": "string",
- "city": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "email": "string",
- "phoneNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "taxIdentificationNumber": "string"
}, - "isDefault": true,
- "isUserControlRestricted": true,
- "status": "active",
- "sortKey": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}| limit | integer [ 1 .. 100 ] Default: 20 |
| cursor | string Cursor to fetch next or previous page (locationId) |
| direction | string Enum: "next" "previous" |
| locationIds | string Comma separated ids |
| createdAtFrom | string <date-time> 作成日時での絞り込みを行う場合は、開始日時をISO 8601 format (eg. 2021-01-15T00:00:00Z)で指定してください。 |
| createdAtTo | string <date-time> 作成日時での絞り込みを行う場合は、終了日時をISO 8601 format (eg. 2021-01-15T00:00:00Z)で指定してください。 |
| updatedAtFrom | string <date-time> 更新日時での絞り込みを行う場合は、開始日時をISO 8601 format (eg. 2021-01-15T00:00:00Z)で指定してください。 |
| updatedAtTo | string <date-time> 更新日時での絞り込みを行う場合は、終了日時をISO 8601 format (eg. 2021-01-15T00:00:00Z)で指定してください。 |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
{- "pagination": {
- "nextCursor": "string",
- "previousCursor": "string"
}, - "data": {
- "locations": [
- {
- "object": "inventory_location",
- "locationId": "string",
- "code": "string",
- "merchantId": "string",
- "displayName": "string",
- "address": {
- "object": "address",
- "code": "string",
- "name": "string",
- "countryCode": "string",
- "postalCode": "string",
- "state": "string",
- "city": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "email": "string",
- "phoneNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "taxIdentificationNumber": "string"
}, - "isDefault": true,
- "isUserControlRestricted": true,
- "status": "active",
- "sortKey": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]
}
}| locationId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
{- "data": {
- "location": {
- "object": "inventory_location",
- "locationId": "string",
- "code": "string",
- "merchantId": "string",
- "displayName": "string",
- "address": {
- "object": "address",
- "code": "string",
- "name": "string",
- "countryCode": "string",
- "postalCode": "string",
- "state": "string",
- "city": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "email": "string",
- "phoneNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "taxIdentificationNumber": "string"
}, - "isDefault": true,
- "isUserControlRestricted": true,
- "status": "active",
- "sortKey": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}
}InventoryOrderPolicy object
在庫受注ポリシー情報を表します。
カタログに紐づけるなどして、そのカタログでの受注時の在庫の引き当てルールなどを設定します。
| object | string Default: "inventory_order_policy" |
| policyId | string |
| type | string Enum: "inventory_sales" "made_to_order" 在庫受注ポリシーのタイプを表します。 |
| sourceInventoryLabelIds | Array of strings typeがinventory_salesの場合に、引き当てる在庫ラベルのIDのリストを表します。 |
| sourceInventoryLocationIds | Array of strings typeがinventory_salesの場合に、引き当てる在庫ロケーションのIDのリストを表します。 |
| destinationInventoryLabelId | string 注文内容確認書が確定した後の移動先の在庫ラベルのIDを表します。 |
| destinationInventoryLocationId | string 注文内容確認書が確定した後の移動先の在庫ロケーションのIDを表します。 |
| backorderDestinationInventoryLabelId | string or null 在庫が不足した場合のバックオーダー時の在庫ラベルのIDを表します。(移動先) |
| backorderDestinationInventoryLocationId | string or null 在庫が不足した場合のバックオーダー時の在庫ロケーションのIDを表します。(移動先) |
| status | string Value: "available" |
| createdAt | string <date-time> リソースの作成日時。 |
| updatedAt | string <date-time> リソースの更新日時。 |
{- "object": "inventory_order_policy",
- "policyId": "string",
- "type": "inventory_sales",
- "sourceInventoryLabelIds": [
- "string"
], - "sourceInventoryLocationIds": [
- "string"
], - "destinationInventoryLabelId": "string",
- "destinationInventoryLocationId": "string",
- "backorderDestinationInventoryLabelId": "string",
- "backorderDestinationInventoryLocationId": "string",
- "status": "available",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}| limit | integer [ 1 .. 100 ] Default: 20 |
| cursor | string Cursor to fetch next or previous page (policyId) |
| direction | string Enum: "next" "previous" |
| policyIds | string Comma separated ids |
| createdAtFrom | string <date-time> 作成日時での絞り込みを行う場合は、開始日時をISO 8601 format (eg. 2021-01-15T00:00:00Z)で指定してください。 |
| createdAtTo | string <date-time> 作成日時での絞り込みを行う場合は、終了日時をISO 8601 format (eg. 2021-01-15T00:00:00Z)で指定してください。 |
| updatedAtFrom | string <date-time> 更新日時での絞り込みを行う場合は、開始日時をISO 8601 format (eg. 2021-01-15T00:00:00Z)で指定してください。 |
| updatedAtTo | string <date-time> 更新日時での絞り込みを行う場合は、終了日時をISO 8601 format (eg. 2021-01-15T00:00:00Z)で指定してください。 |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
{- "pagination": {
- "nextCursor": "string",
- "previousCursor": "string"
}, - "data": {
- "policies": [
- {
- "object": "inventory_order_policy",
- "policyId": "string",
- "type": "inventory_sales",
- "sourceInventoryLabelIds": [
- "string"
], - "sourceInventoryLocationIds": [
- "string"
], - "destinationInventoryLabelId": "string",
- "destinationInventoryLocationId": "string",
- "backorderDestinationInventoryLabelId": "string",
- "backorderDestinationInventoryLocationId": "string",
- "status": "available",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]
}
}| policyId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
{- "data": {
- "policy": {
- "object": "inventory_order_policy",
- "policyId": "string",
- "type": "inventory_sales",
- "sourceInventoryLabelIds": [
- "string"
], - "sourceInventoryLocationIds": [
- "string"
], - "destinationInventoryLabelId": "string",
- "destinationInventoryLocationId": "string",
- "backorderDestinationInventoryLabelId": "string",
- "backorderDestinationInventoryLocationId": "string",
- "status": "available",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}
}Brand object
ブランド情報を表します。
| object | string Default: "brand" |
| brandId | string |
| merchantId | string |
Array of objects ブランドの名称 | |
Array of objects ブランドの説明文 | |
| status | string Enum: "active" "inactive" ブランドのステータス |
{- "object": "brand",
- "brandId": "string",
- "merchantId": "string",
- "localizedNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "localizedDescriptions": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "status": "active"
}| limit | integer [ 1 .. 100 ] Default: 20 |
| cursor | string Cursor to fetch next or previous page (brandId) |
| direction | string Enum: "next" "previous" |
| brandIds | string Comma separated ids |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
{- "data": {
- "brands": [
- {
- "object": "brand",
- "brandId": "string",
- "merchantId": "string",
- "localizedNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "localizedDescriptions": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "status": "active"
}
]
}
}| brandId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
{- "data": {
- "brand": {
- "object": "brand",
- "brandId": "string",
- "merchantId": "string",
- "localizedNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "localizedDescriptions": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "status": "active"
}
}
}| brandId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
| Content-Type required | string Default: application/json |
| status required | string Enum: "active" "inactive" ブランドのステータス |
{- "status": "active"
}{- "data": {
- "brand": {
- "object": "brand",
- "brandId": "string",
- "merchantId": "string",
- "localizedNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "localizedDescriptions": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "status": "active"
}
}
}Catalog object
カタログ情報を表します。
カタログは、展示会の単位であり、カタログごとに注文を受け付けます。
| object | string Default: "catalog" |
| catalogId | string |
| merchantId | string |
| brandId | string |
| code | string or null カタログのコードを表します。 |
Array of objects カタログの名称 | |
Array of objects カタログのサブタイトル | |
Array of objects カタログの説明文 | |
Array of objects カタログの画像 | |
Array of objects | |
| orderDeadline | string or null <date-time> カタログの注文締め切り日時 |
| inventoryOrderPolicyId | string or null カタログの在庫受注ポリシー |
Array of objects カタログに設定されたカスタム属性 | |
| sortKey | integer |
| status | string Default: "open" Enum: "open" "closed" "limited_access" "draft" |
| createdAt | string <date-time> リソースの作成日時。 |
| updatedAt | string <date-time> リソースの更新日時。 |
{- "object": "catalog",
- "catalogId": "string",
- "merchantId": "string",
- "brandId": "string",
- "code": "string",
- "localizedNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "localizedSubTitles": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "localizedDescriptions": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "images": [
- {
- "url": "string",
- "aspectRatio": "3:2",
- "localizedCaptions": [
- {
- "languageCode": "ja",
- "text": "string"
}
]
}
], - "videos": [
- {
- "url": "string",
- "aspectRatio": "3:2",
- "localizedCaptions": [
- {
- "languageCode": "ja",
- "text": "string"
}
]
}
], - "orderDeadline": "2019-08-24T14:15:22Z",
- "inventoryOrderPolicyId": "string",
- "customAttributes": [
- {
- "customAttributeId": "string",
- "value": "string"
}
], - "sortKey": 0,
- "status": "open",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}| brandId required | string |
| limit | integer [ 1 .. 100 ] Default: 20 |
| cursor | string Cursor to fetch next or previous page (catalogId) |
| direction | string Enum: "next" "previous" |
| catalogIds | string Comma separated ids |
| createdAtFrom | string <date-time> 作成日時での絞り込みを行う場合は、開始日時をISO 8601 format (eg. 2021-01-15T00:00:00Z)で指定してください。 |
| createdAtTo | string <date-time> 作成日時での絞り込みを行う場合は、終了日時をISO 8601 format (eg. 2021-01-15T00:00:00Z)で指定してください。 |
| updatedAtFrom | string <date-time> 更新日時での絞り込みを行う場合は、開始日時をISO 8601 format (eg. 2021-01-15T00:00:00Z)で指定してください。 |
| updatedAtTo | string <date-time> 更新日時での絞り込みを行う場合は、終了日時をISO 8601 format (eg. 2021-01-15T00:00:00Z)で指定してください。 |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
{- "pagination": {
- "nextCursor": "string",
- "previousCursor": "string"
}, - "data": {
- "catalogs": [
- {
- "object": "catalog",
- "catalogId": "string",
- "merchantId": "string",
- "brandId": "string",
- "code": "string",
- "localizedNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "localizedSubTitles": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "localizedDescriptions": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "images": [
- {
- "url": "string",
- "aspectRatio": "3:2",
- "localizedCaptions": [
- {
- "languageCode": "ja",
- "text": "string"
}
]
}
], - "videos": [
- {
- "url": "string",
- "aspectRatio": "3:2",
- "localizedCaptions": [
- {
- "languageCode": "ja",
- "text": "string"
}
]
}
], - "orderDeadline": "2019-08-24T14:15:22Z",
- "inventoryOrderPolicyId": "string",
- "customAttributes": [
- {
- "customAttributeId": "string",
- "value": "string"
}
], - "sortKey": 0,
- "status": "open",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]
}
}| brandId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
| Content-Type required | string Default: application/json |
カタログの情報
| code required | string |
required | Array of objects |
Array of objects | |
Array of objects | |
| orderDeadline | string or null <date-time> |
| inventoryOrderPolicyId | string or null |
Array of objects | |
| status required | string Default: "open" Enum: "open" "closed" "limited_access" |
{- "code": "string",
- "localizedNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "localizedSubTitles": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "localizedDescriptions": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "orderDeadline": "2019-08-24T14:15:22Z",
- "inventoryOrderPolicyId": "string",
- "customAttributes": [
- {
- "customAttributeId": "string",
- "value": "string"
}
], - "status": "open"
}{- "data": {
- "catalog": {
- "object": "catalog",
- "catalogId": "string",
- "merchantId": "string",
- "brandId": "string",
- "code": "string",
- "localizedNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "localizedSubTitles": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "localizedDescriptions": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "images": [
- {
- "url": "string",
- "aspectRatio": "3:2",
- "localizedCaptions": [
- {
- "languageCode": "ja",
- "text": "string"
}
]
}
], - "videos": [
- {
- "url": "string",
- "aspectRatio": "3:2",
- "localizedCaptions": [
- {
- "languageCode": "ja",
- "text": "string"
}
]
}
], - "orderDeadline": "2019-08-24T14:15:22Z",
- "inventoryOrderPolicyId": "string",
- "customAttributes": [
- {
- "customAttributeId": "string",
- "value": "string"
}
], - "sortKey": 0,
- "status": "open",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}
}| brandId required | string |
| catalogId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
{- "data": {
- "catalog": {
- "object": "catalog",
- "catalogId": "string",
- "merchantId": "string",
- "brandId": "string",
- "code": "string",
- "localizedNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "localizedSubTitles": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "localizedDescriptions": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "images": [
- {
- "url": "string",
- "aspectRatio": "3:2",
- "localizedCaptions": [
- {
- "languageCode": "ja",
- "text": "string"
}
]
}
], - "videos": [
- {
- "url": "string",
- "aspectRatio": "3:2",
- "localizedCaptions": [
- {
- "languageCode": "ja",
- "text": "string"
}
]
}
], - "orderDeadline": "2019-08-24T14:15:22Z",
- "inventoryOrderPolicyId": "string",
- "customAttributes": [
- {
- "customAttributeId": "string",
- "value": "string"
}
], - "sortKey": 0,
- "status": "open",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}
}| brandId required | string |
| catalogId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
| Content-Type required | string Default: application/json |
カタログの情報
| code | string or null |
Array of objects | |
Array of objects | |
Array of objects | |
| orderDeadline | string or null <date-time> |
| inventoryOrderPolicyId | string or null |
Array of objects | |
| status | string Default: "open" Enum: "open" "closed" "limited_access" |
{- "code": "string",
- "localizedNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "localizedSubTitles": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "localizedDescriptions": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "orderDeadline": "2019-08-24T14:15:22Z",
- "inventoryOrderPolicyId": "string",
- "customAttributes": [
- {
- "customAttributeId": "string",
- "value": "string"
}
], - "status": "open"
}{- "data": {
- "catalog": {
- "object": "catalog",
- "catalogId": "string",
- "merchantId": "string",
- "brandId": "string",
- "code": "string",
- "localizedNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "localizedSubTitles": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "localizedDescriptions": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "images": [
- {
- "url": "string",
- "aspectRatio": "3:2",
- "localizedCaptions": [
- {
- "languageCode": "ja",
- "text": "string"
}
]
}
], - "videos": [
- {
- "url": "string",
- "aspectRatio": "3:2",
- "localizedCaptions": [
- {
- "languageCode": "ja",
- "text": "string"
}
]
}
], - "orderDeadline": "2019-08-24T14:15:22Z",
- "inventoryOrderPolicyId": "string",
- "customAttributes": [
- {
- "customAttributeId": "string",
- "value": "string"
}
], - "sortKey": 0,
- "status": "open",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}
}| brandId required | string |
| catalogId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
| Content-Type required | string Default: application/json |
{- "data": { }
}| brandId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
| Content-Type required | string Default: application/json |
カタログの並び替え情報
| catalogIds | Array of strings |
{- "catalogIds": [
- "string"
]
}{- "data": {
- "catalogIds": [
- "string"
]
}
}このAPIでは、Base64エンコードされた画像をアップロードし、対象のカタログに関連付けることができます。
注意事項:
| brandId required | string |
| catalogId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
| Content-Type required | string Default: application/json |
| base64Image required | string 画像をBase64エンコードした文字列を指定します。 |
| fileName required | string 画像のファイル名を指定します。 |
Array of objects |
{- "base64Image": "string",
- "fileName": "string",
- "localizedCaptions": [
- {
- "languageCode": "ja",
- "text": "string"
}
]
}{- "data": {
- "image": {
- "url": "string",
- "aspectRatio": "3:2",
- "localizedCaptions": [
- {
- "languageCode": "ja",
- "text": "string"
}
]
}
}
}| brandId required | string |
| catalogId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
{- "data": {
- "catalogStatus": "limited_access",
- "accessibleCustomerBuyerIds": [
- "string"
]
}
}| brandId required | string |
| catalogId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
| Content-Type required | string Default: application/json |
アクセス可能にする顧客バイヤーの情報
| customerBuyerIds required | Array of strings アクセス可能にする顧客バイヤーID配列 |
{- "customerBuyerIds": [
- "string"
]
}{- "data": {
- "accessibleCustomerBuyerIds": [
- "string"
]
}
}| brandId required | string |
| catalogId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
| Content-Type required | string Default: application/json |
リセット対象の顧客バイヤーの情報
| customerBuyerIds required | Array of strings リセット対象の顧客バイヤーID配列 |
{- "customerBuyerIds": [
- "string"
]
}{- "data": {
- "accessibleCustomerBuyerIds": [
- "string"
]
}
}CatalogProduct object
カタログに登録された製品を表します。
カタログに登録された製品は、カタログ内での表示順序を表すsortKeyを持ちます。
| object | string Default: "catalog_product" |
| productId | string |
| merchantId | string |
| brandId | string |
| catalogId | string |
| sortKey | integer |
| createdAt | string <date-time> リソースの作成日時。 |
| updatedAt | string <date-time> リソースの更新日時。 |
{- "object": "catalog_product",
- "productId": "string",
- "merchantId": "string",
- "brandId": "string",
- "catalogId": "string",
- "sortKey": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}| brandId required | string |
| catalogId required | string |
| cursor | string |
| limit | integer [ 1 .. 100 ] Default: 30 |
| direction | string Enum: "next" "previous" |
| productIds | string Comma separated ids |
| createdAtFrom | string <date-time> 作成日時での絞り込みを行う場合は、開始日時をISO 8601 format (eg. 2021-01-15T00:00:00Z)で指定してください。 |
| createdAtTo | string <date-time> 作成日時での絞り込みを行う場合は、終了日時をISO 8601 format (eg. 2021-01-15T00:00:00Z)で指定してください。 |
| updatedAtFrom | string <date-time> 更新日時での絞り込みを行う場合は、開始日時をISO 8601 format (eg. 2021-01-15T00:00:00Z)で指定してください。 |
| updatedAtTo | string <date-time> 更新日時での絞り込みを行う場合は、終了日時をISO 8601 format (eg. 2021-01-15T00:00:00Z)で指定してください。 |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
{- "pagination": {
- "nextCursor": "string",
- "previousCursor": "string"
}, - "data": {
- "catalogProducts": [
- {
- "object": "catalog_product",
- "productId": "string",
- "merchantId": "string",
- "brandId": "string",
- "catalogId": "string",
- "sortKey": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]
}
}| brandId required | string |
| catalogId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
| Content-Type required | string Default: application/json |
| productId required | string |
{- "productId": "string"
}{- "data": {
- "catalogProduct": {
- "object": "catalog_product",
- "productId": "string",
- "merchantId": "string",
- "brandId": "string",
- "catalogId": "string",
- "sortKey": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}
}| brandId required | string |
| catalogId required | string |
| productId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
{- "data": {
- "catalogProduct": {
- "object": "catalog_product",
- "productId": "string",
- "merchantId": "string",
- "brandId": "string",
- "catalogId": "string",
- "sortKey": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}
}| brandId required | string |
| catalogId required | string |
| productId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
| Content-Type required | string Default: application/json |
{- "data": { }
}| brandId required | string |
| catalogId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
| Content-Type required | string Default: application/json |
| productIds | Array of strings |
{- "productIds": [
- "string"
]
}{- "data": {
- "productIds": [
- "string"
]
}
}| brandId required | string |
| cursor | string |
| limit | integer [ 1 .. 100 ] Default: 30 |
| direction | string Enum: "next" "previous" |
| updatedAtFrom | string <date-time> 更新日時での絞り込みを行う場合は、開始日時をISO 8601 format (eg. 2021-01-15T00:00:00Z)で指定してください。 |
| updatedAtTo | string <date-time> 更新日時での絞り込みを行う場合は、終了日時をISO 8601 format (eg. 2021-01-15T00:00:00Z)で指定してください。 |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
{- "pagination": {
- "nextCursor": "string",
- "previousCursor": "string"
}, - "data": {
- "catalogProducts": [
- {
- "object": "catalog_product",
- "productId": "string",
- "merchantId": "string",
- "brandId": "string",
- "catalogId": "string",
- "sortKey": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]
}
}Product object
製品情報を表します。
| object | string Default: "product" |
| productId | string 製品のID (システム側で生成されるユニークな文字列) |
| modelNumber | string 製品のモデル番号 (品番) |
| merchantId | string |
| brandId | string |
| hsCode | string 製品のHSコード |
Array of objects 製品の名称 | |
Array of objects 製品の説明文 | |
Array of objects 製品の短い説明文 | |
| renderLocalizedDescriptionsAsHtml | boolean Default: false DEXTRE上で製品の説明文をHTMLとして表示するかどうか |
Array of objects カタログPDFに記載される備考 | |
| transactionTermCodes | Array of strings Items Enum: "exw" "fca" "cpt" "cip" "dap" "dpu" "ddp" "fas" "fob" "cfr" "cif" "kakeritsu_transaction" "wholesale_transaction" 製品の取引条件コード |
| currencyCodes | Array of strings Items Enum: "AUD" "CAD" "CNY" "DKK" "HKD" "INR" "IDR" "JPY" "KRW" "MYR" "NOK" "PHP" "RUB" "SGD" "VND" "SEK" "CHF" "THB" "GBP" "USD" "TWD" "EUR" "BRL" 製品の通貨コード |
| languageCodes | Array of strings Items Enum: "ja" "en" "zh" "es" "fr" "de" "it" "ko" "ru" "nl" "pt" 製品の言語コード |
| taxIds | Array of strings 製品に適用される税のID |
| skuTemplateId | string SKUテンプレートのID |
Array of objects この製品で有効なSKUオプションと、そのSKUオプションに属する有効化するSKUオプションバリアントを表します。 | |
Array of objects 製品レベルの価格を表します。 | |
Array of objects 製品レベルの参考小売価格を表します。 | |
object or null 製品の納期の設定を表します。 | |
Array of objects 大分類・中分類・小分類のカテゴリーの組み合わせをひとつのグループとして、複数のグループを登録することができます。 | |
| countryOfOrigin | string or null 製品の原産国コード |
Array of objects 製品に設定されたカスタム属性 | |
| catalogIds | Array of strings 製品が属するカタログのID |
Array of objects | |
Array of objects | |
Array of objects 依存するSKUテンプレートのシンボルSKUプロパティに対応するSKUプロパティバリアントごとの画像 | |
| status | string Default: "public" Enum: "public" "private" "draft" "closed" 製品のステータス |
| createdAt | string <date-time> |
| updatedAt | string <date-time> |
{- "object": "product",
- "productId": "string",
- "modelNumber": "string",
- "merchantId": "string",
- "brandId": "string",
- "hsCode": "string",
- "localizedNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "localizedDescriptions": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "localizedShortDescriptions": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "renderLocalizedDescriptionsAsHtml": false,
- "localizedNotesForCatalogPdf": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "transactionTermCodes": [
- "exw"
], - "currencyCodes": [
- "AUD"
], - "languageCodes": [
- "ja"
], - "taxIds": [
- "string"
], - "skuTemplateId": "string",
- "skuOptions": [
- {
- "skuOptionId": "string",
- "availableSkuOptionVariantIds": [
- "string"
]
}
], - "prices": [
- {
- "transactionTermCode": "exw",
- "currencyCode": "AUD",
- "unitPrice": 0
}
], - "referenceRetailPrices": [
- {
- "currencyCode": "AUD",
- "unitPrice": 0
}
], - "deliverySchedule": {
- "scheduleType": "fixed_window",
- "fixedWindow": {
- "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z",
- "isDeliveryDateSelectableByBuyer": true
}
}, - "categoryGroups": [
- {
- "level1CategoryId": "string",
- "level2CategoryId": "string",
- "level3CategoryId": "string"
}
], - "countryOfOrigin": "string",
- "customAttributes": [
- {
- "customAttributeId": "string",
- "value": "string"
}
], - "catalogIds": [
- "string"
], - "images": [
- {
- "url": "string",
- "aspectRatio": "3:2",
- "localizedCaptions": [
- {
- "languageCode": "ja",
- "text": "string"
}
]
}
], - "videos": [
- {
- "url": "string",
- "aspectRatio": "3:2",
- "localizedCaptions": [
- {
- "languageCode": "ja",
- "text": "string"
}
]
}
], - "symbolSkuImages": [
- {
- "symbolSkuPropertyId": "string",
- "skuPropertyVariantId": "string",
- "image": {
- "url": "string",
- "aspectRatio": "3:2",
- "localizedCaptions": [
- {
- "languageCode": "ja",
- "text": "string"
}
]
}
}
], - "status": "public",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}| brandId required | string |
| limit | integer [ 1 .. 100 ] Default: 20 |
| cursor | string Cursor to fetch next or previous page (productId) |
| direction | string Enum: "next" "previous" |
| productIds | string Comma separated ids |
| catalogIds | string Comma separated ids |
| categoryIds | string Comma separated ids |
| productName | string |
| modelNumber | string |
| createdAtFrom | string <date-time> 作成日時での絞り込みを行う場合は、開始日時をISO 8601 format (eg. 2021-01-15T00:00:00Z)で指定してください。 |
| createdAtTo | string <date-time> 作成日時での絞り込みを行う場合は、終了日時をISO 8601 format (eg. 2021-01-15T00:00:00Z)で指定してください。 |
| updatedAtFrom | string <date-time> 更新日時での絞り込みを行う場合は、開始日時をISO 8601 format (eg. 2021-01-15T00:00:00Z)で指定してください。 |
| updatedAtTo | string <date-time> 更新日時での絞り込みを行う場合は、終了日時をISO 8601 format (eg. 2021-01-15T00:00:00Z)で指定してください。 |
| minImageCount | integer >= 0 検索したい製品に登録されている画像の最小枚数を指定します。 |
| maxImageCount | integer >= 0 検索したい製品に登録されている画像の最大枚数を指定します。 |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
{- "pagination": {
- "nextCursor": "nextCursor",
- "previousCursor": "previousCursor"
}, - "data": {
- "products": [
- {
- "object": "product",
- "productId": "lhj004x3h3zcdhqor84eoo0kowdb181n",
- "modelNumber": "品番",
- "merchantId": "YOUR MERCHANT ID",
- "brandId": "YOUR BRAND ID",
- "hsCode": "",
- "localizedNames": [
- {
- "languageCode": "ja",
- "text": "製品名"
}, - {
- "languageCode": "en",
- "text": "Product Name"
}, - {
- "languageCode": "zh",
- "text": "产品名称"
}
], - "localizedDescriptions": [ ],
- "localizedShortDescriptions": [ ],
- "renderLocalizedDescriptionsAsHtml": false,
- "transactionTermCodes": [
- "kakeritsu_transaction"
], - "currencyCodes": [
- "JPY"
], - "languageCodes": [
- "ja",
- "en",
- "zh"
], - "taxIds": [ ],
- "skuTemplateId": "YOUR SKU TEMPLATE ID",
- "skuOptions": [ ],
- "prices": [
- {
- "transactionTermCode": "kakeritsu_transaction",
- "currencyCode": "JPY",
- "unitPrice": 1000
}, - {
- "transactionTermCode": "kakeritsu_transaction",
- "currencyCode": "USD",
- "unitPrice": 0
}, - {
- "transactionTermCode": "kakeritsu_transaction",
- "currencyCode": "EUR",
- "unitPrice": 0
}, - {
- "transactionTermCode": "exw",
- "currencyCode": "JPY",
- "unitPrice": 0
}, - {
- "transactionTermCode": "exw",
- "currencyCode": "USD",
- "unitPrice": 0
}, - {
- "transactionTermCode": "exw",
- "currencyCode": "EUR",
- "unitPrice": 0
}, - {
- "transactionTermCode": "ddp",
- "currencyCode": "JPY",
- "unitPrice": 0
}, - {
- "transactionTermCode": "ddp",
- "currencyCode": "USD",
- "unitPrice": 0
}, - {
- "transactionTermCode": "ddp",
- "currencyCode": "EUR",
- "unitPrice": 0
}
], - "referenceRetailPrices": [
- {
- "currencyCode": "JPY",
- "unitPrice": 0
}, - {
- "currencyCode": "USD",
- "unitPrice": 0
}, - {
- "currencyCode": "EUR",
- "unitPrice": 0
}
], - "categoryGroups": [ ],
- "countryOfOrigin": null,
- "customAttributes": [ ],
- "catalogIds": [ ],
- "images": [ ],
- "videos": [ ],
- "symbolSkuImages": [
- {
- "symbolSkuPropertyId": "YOUR SYMBOL SKU PROPERTY ID",
- "skuPropertyVariantId": "YOUR SKU PROPERTY VARIANT ID",
- "image": null
}
], - "status": "public",
- "createdAt": "2024-10-27T23:26:32.580Z",
- "updatedAt": "2024-10-27T23:26:32.580Z"
}
]
}
}| brandId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
| Content-Type required | string Default: application/json |
| modelNumber required | string 製品のモデル番号を指定します。 |
| hsCode | string 製品のHSコードを指定します。 |
required | Array of objects 製品名を指定します。 |
Array of objects 製品説明を指定します。 | |
Array of objects 製品の短い説明を指定します。 | |
| renderLocalizedDescriptionsAsHtml | boolean localizedDescriptionsの値をHTMLとして認識させてレンダリングするかどうかを指定します。 |
Array of objects カタログPDFに記載される備考を指定します。 | |
| taxIds | Array of strings 製品に適用する税のIDを指定します。 |
| skuTemplateId required | string SKUテンプレートのIDを指定します。 |
required | Array of objects 製品レベルの価格を指定します。 |
Array of objects 製品の参考小売価格を指定します。 | |
object or null 製品の納期の設定を表します。 | |
Array of objects 大分類・中分類・小分類のカテゴリーの組み合わせをひとつのグループとして、複数のグループを登録することができます。 | |
| countryOfOrigin | string or null 製品の原産国を国コード(ISO 3166-1 alpha-2形式・大文字)で指定します。 |
Array of objects 製品に適用するカスタム属性を指定します。 | |
required | Array of objects |
{- "modelNumber": "string",
- "hsCode": "string",
- "localizedNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "localizedDescriptions": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "localizedShortDescriptions": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "renderLocalizedDescriptionsAsHtml": true,
- "localizedNotesForCatalogPdf": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "taxIds": [
- "string"
], - "skuTemplateId": "string",
- "prices": [
- {
- "transactionTermCode": "exw",
- "currencyCode": "AUD",
- "unitPrice": 0
}
], - "referenceRetailPrices": [
- {
- "currencyCode": "AUD",
- "unitPrice": 0
}
], - "deliverySchedule": {
- "scheduleType": "fixed_window",
- "fixedWindow": {
- "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z",
- "isDeliveryDateSelectableByBuyer": true
}
}, - "categoryGroups": [
- {
- "level1CategoryId": "string",
- "level2CategoryId": "string",
- "level3CategoryId": "string"
}
], - "countryOfOrigin": "string",
- "customAttributes": [
- {
- "customAttributeId": "string",
- "value": "string"
}
], - "skus": [
- {
- "skuNumber": "string",
- "barcode": "string",
- "components": [
- {
- "skuPropertyId": "string",
- "skuPropertyVariantId": "string"
}
], - "prices": [
- {
- "transactionTermCode": "exw",
- "currencyCode": "AUD",
- "unitPrice": 0
}
], - "referenceRetailPrices": [
- {
- "currencyCode": "AUD",
- "unitPrice": 0
}
], - "customAttributes": [
- {
- "customAttributeId": "string",
- "value": "string"
}
], - "cost": {
- "currencyCode": "AUD",
- "amount": 0
}, - "backorderException": null
}
]
}{- "data": {
- "product": {
- "object": "product",
- "productId": "lhj004x3h3zcdhqor84eoo0kowdb181n",
- "modelNumber": "品番",
- "merchantId": "YOUR MERCHANT ID",
- "brandId": "YOUR BRAND ID",
- "hsCode": "",
- "localizedNames": [
- {
- "languageCode": "ja",
- "text": "製品名"
}, - {
- "languageCode": "en",
- "text": "Product Name"
}, - {
- "languageCode": "zh",
- "text": "产品名称"
}
], - "localizedDescriptions": [ ],
- "localizedShortDescriptions": [ ],
- "renderLocalizedDescriptionsAsHtml": false,
- "transactionTermCodes": [
- "kakeritsu_transaction"
], - "currencyCodes": [
- "JPY"
], - "languageCodes": [
- "ja",
- "en",
- "zh"
], - "taxIds": [ ],
- "skuTemplateId": "YOUR SKU TEMPLATE ID",
- "skuOptions": [ ],
- "prices": [
- {
- "transactionTermCode": "kakeritsu_transaction",
- "currencyCode": "JPY",
- "unitPrice": 1000
}, - {
- "transactionTermCode": "kakeritsu_transaction",
- "currencyCode": "USD",
- "unitPrice": 0
}, - {
- "transactionTermCode": "kakeritsu_transaction",
- "currencyCode": "EUR",
- "unitPrice": 0
}, - {
- "transactionTermCode": "exw",
- "currencyCode": "JPY",
- "unitPrice": 0
}, - {
- "transactionTermCode": "exw",
- "currencyCode": "USD",
- "unitPrice": 0
}, - {
- "transactionTermCode": "exw",
- "currencyCode": "EUR",
- "unitPrice": 0
}, - {
- "transactionTermCode": "ddp",
- "currencyCode": "JPY",
- "unitPrice": 0
}, - {
- "transactionTermCode": "ddp",
- "currencyCode": "USD",
- "unitPrice": 0
}, - {
- "transactionTermCode": "ddp",
- "currencyCode": "EUR",
- "unitPrice": 0
}
], - "referenceRetailPrices": [
- {
- "currencyCode": "JPY",
- "unitPrice": 0
}, - {
- "currencyCode": "USD",
- "unitPrice": 0
}, - {
- "currencyCode": "EUR",
- "unitPrice": 0
}
], - "categoryGroups": [ ],
- "countryOfOrigin": null,
- "customAttributes": [ ],
- "catalogIds": [ ],
- "images": [ ],
- "videos": [ ],
- "symbolSkuImages": [
- {
- "symbolSkuPropertyId": "YOUR SYMBOL SKU PROPERTY ID",
- "skuPropertyVariantId": "YOUR SKU PROPERTY VARIANT ID",
- "image": null
}
], - "status": "public",
- "createdAt": "2024-10-27T23:26:32.580Z",
- "updatedAt": "2024-10-27T23:26:32.580Z"
}, - "skus": [
- {
- "object": "sku",
- "skuId": "cij1w9z1dker028sy978rhs59hdh27dx",
- "productId": "lhj004x3h3zcdhqor84eoo0kowdb181n",
- "skuNumber": "SKU番号",
- "barcode": "",
- "merchantId": "YOUR MERCHANT ID",
- "brandId": "YOUR BRAND ID",
- "skuTemplateId": "YOUR SKU TEMPLATE ID",
- "skuComponents": [
- {
- "skuPropertyId": "YOUR SKU PROPERTY ID",
- "skuPropertyVariantId": "YOUR SKU PROPERTY VARIANT ID"
}, - {
- "skuPropertyId": "YOUR SKU PROPERTY ID",
- "skuPropertyVariantId": "YOUR SKU PROPERTY VARIANT ID"
}
], - "prices": [
- {
- "transactionTermCode": "kakeritsu_transaction",
- "currencyCode": "JPY",
- "unitPrice": 1000
}, - {
- "transactionTermCode": "kakeritsu_transaction",
- "currencyCode": "USD",
- "unitPrice": 0
}, - {
- "transactionTermCode": "kakeritsu_transaction",
- "currencyCode": "EUR",
- "unitPrice": 0
}, - {
- "transactionTermCode": "exw",
- "currencyCode": "JPY",
- "unitPrice": 0
}, - {
- "transactionTermCode": "exw",
- "currencyCode": "USD",
- "unitPrice": 0
}, - {
- "transactionTermCode": "exw",
- "currencyCode": "EUR",
- "unitPrice": 0
}, - {
- "transactionTermCode": "ddp",
- "currencyCode": "JPY",
- "unitPrice": 0
}, - {
- "transactionTermCode": "ddp",
- "currencyCode": "USD",
- "unitPrice": 0
}, - {
- "transactionTermCode": "ddp",
- "currencyCode": "EUR",
- "unitPrice": 0
}
], - "referenceRetailPrices": [
- {
- "currencyCode": "JPY",
- "unitPrice": 0
}, - {
- "currencyCode": "USD",
- "unitPrice": 0
}, - {
- "currencyCode": "EUR",
- "unitPrice": 0
}
], - "customAttributes": [ ],
- "cost": null,
- "status": "active",
- "sortKey": 1730071594580,
- "createdAt": "2024-10-27T23:26:32.580Z",
- "updatedAt": "2024-10-27T23:26:32.580Z"
}
]
}
}| brandId required | string |
| productId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
{- "data": {
- "product": {
- "object": "product",
- "productId": "lhj004x3h3zcdhqor84eoo0kowdb181n",
- "modelNumber": "品番",
- "merchantId": "YOUR MERCHANT ID",
- "brandId": "YOUR BRAND ID",
- "hsCode": "",
- "localizedNames": [
- {
- "languageCode": "ja",
- "text": "製品名"
}, - {
- "languageCode": "en",
- "text": "Product Name"
}, - {
- "languageCode": "zh",
- "text": "产品名称"
}
], - "localizedDescriptions": [ ],
- "localizedShortDescriptions": [ ],
- "renderLocalizedDescriptionsAsHtml": false,
- "transactionTermCodes": [
- "kakeritsu_transaction"
], - "currencyCodes": [
- "JPY"
], - "languageCodes": [
- "ja",
- "en",
- "zh"
], - "taxIds": [ ],
- "skuTemplateId": "YOUR SKU TEMPLATE ID",
- "skuOptions": [ ],
- "prices": [
- {
- "transactionTermCode": "kakeritsu_transaction",
- "currencyCode": "JPY",
- "unitPrice": 1000
}, - {
- "transactionTermCode": "kakeritsu_transaction",
- "currencyCode": "USD",
- "unitPrice": 0
}, - {
- "transactionTermCode": "kakeritsu_transaction",
- "currencyCode": "EUR",
- "unitPrice": 0
}, - {
- "transactionTermCode": "exw",
- "currencyCode": "JPY",
- "unitPrice": 0
}, - {
- "transactionTermCode": "exw",
- "currencyCode": "USD",
- "unitPrice": 0
}, - {
- "transactionTermCode": "exw",
- "currencyCode": "EUR",
- "unitPrice": 0
}, - {
- "transactionTermCode": "ddp",
- "currencyCode": "JPY",
- "unitPrice": 0
}, - {
- "transactionTermCode": "ddp",
- "currencyCode": "USD",
- "unitPrice": 0
}, - {
- "transactionTermCode": "ddp",
- "currencyCode": "EUR",
- "unitPrice": 0
}
], - "referenceRetailPrices": [
- {
- "currencyCode": "JPY",
- "unitPrice": 0
}, - {
- "currencyCode": "USD",
- "unitPrice": 0
}, - {
- "currencyCode": "EUR",
- "unitPrice": 0
}
], - "categoryGroups": [ ],
- "countryOfOrigin": null,
- "customAttributes": [ ],
- "catalogIds": [ ],
- "images": [ ],
- "videos": [ ],
- "symbolSkuImages": [
- {
- "symbolSkuPropertyId": "YOUR SYMBOL SKU PROPERTY ID",
- "skuPropertyVariantId": "YOUR SKU PROPERTY VARIANT ID",
- "image": null
}
], - "status": "public",
- "createdAt": "2024-10-27T23:26:32.580Z",
- "updatedAt": "2024-10-27T23:26:32.580Z"
}, - "skus": [ ]
}
}| brandId required | string |
| productId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
| Content-Type required | string Default: application/json |
| modelNumber | string 製品のモデル番号を指定します。 |
| hsCode | string 製品のHSコードを指定します。 |
Array of objects 製品名を指定します。 | |
Array of objects 製品説明を指定します。 | |
Array of objects 製品の短い説明を指定します。 | |
| renderLocalizedDescriptionsAsHtml | boolean localizedDescriptionsの値をHTMLとして認識させてレンダリングするかどうかを指定します。 |
Array of objects カタログPDFに記載される備考を指定します。 | |
| taxIds | Array of strings 製品に適用する税のIDを指定します。 |
Array of objects 製品レベルの価格を指定します。 | |
Array of objects 製品の参考小売価格を指定します。 | |
object or null 製品の納期の設定を表します。 | |
Array of objects 大分類・中分類・小分類のカテゴリーの組み合わせをひとつのグループとして、複数のグループを登録することができます。 | |
| countryOfOrigin | string or null 製品の原産国を国コード(ISO 3166-1 alpha-2形式・大文字)で指定します。 |
Array of objects 製品に適用するカスタム属性を指定します。 | |
Array of objects skusを指定してリクエストする場合、inactiveステータスにしたくない場合は、製品に紐づく既存のSKUを全て含めてください。 |
{- "modelNumber": "string",
- "hsCode": "string",
- "localizedNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "localizedDescriptions": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "localizedShortDescriptions": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "renderLocalizedDescriptionsAsHtml": true,
- "localizedNotesForCatalogPdf": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "taxIds": [
- "string"
], - "prices": [
- {
- "transactionTermCode": "exw",
- "currencyCode": "AUD",
- "unitPrice": 0
}
], - "referenceRetailPrices": [
- {
- "currencyCode": "AUD",
- "unitPrice": 0
}
], - "deliverySchedule": {
- "scheduleType": "fixed_window",
- "fixedWindow": {
- "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z",
- "isDeliveryDateSelectableByBuyer": true
}
}, - "categoryGroups": [
- {
- "level1CategoryId": "string",
- "level2CategoryId": "string",
- "level3CategoryId": "string"
}
], - "countryOfOrigin": "string",
- "customAttributes": [
- {
- "customAttributeId": "string",
- "value": "string"
}
], - "skus": [
- {
- "skuNumber": "string",
- "barcode": "string",
- "components": [
- {
- "skuPropertyId": "string",
- "skuPropertyVariantId": "string"
}
], - "prices": [
- {
- "transactionTermCode": "exw",
- "currencyCode": "AUD",
- "unitPrice": 0
}
], - "referenceRetailPrices": [
- {
- "currencyCode": "AUD",
- "unitPrice": 0
}
], - "customAttributes": [
- {
- "customAttributeId": "string",
- "value": "string"
}
], - "cost": {
- "currencyCode": "AUD",
- "amount": 0
}, - "backorderException": null
}
]
}{- "data": {
- "product": {
- "object": "product",
- "productId": "lhj004x3h3zcdhqor84eoo0kowdb181n",
- "modelNumber": "品番",
- "merchantId": "YOUR MERCHANT ID",
- "brandId": "YOUR BRAND ID",
- "hsCode": "",
- "localizedNames": [
- {
- "languageCode": "ja",
- "text": "製品名"
}, - {
- "languageCode": "en",
- "text": "Product Name"
}, - {
- "languageCode": "zh",
- "text": "产品名称"
}
], - "localizedDescriptions": [ ],
- "localizedShortDescriptions": [ ],
- "renderLocalizedDescriptionsAsHtml": false,
- "transactionTermCodes": [
- "kakeritsu_transaction"
], - "currencyCodes": [
- "JPY"
], - "languageCodes": [
- "ja",
- "en",
- "zh"
], - "taxIds": [ ],
- "skuTemplateId": "YOUR SKU TEMPLATE ID",
- "skuOptions": [ ],
- "prices": [
- {
- "transactionTermCode": "kakeritsu_transaction",
- "currencyCode": "JPY",
- "unitPrice": 1000
}, - {
- "transactionTermCode": "kakeritsu_transaction",
- "currencyCode": "USD",
- "unitPrice": 0
}, - {
- "transactionTermCode": "kakeritsu_transaction",
- "currencyCode": "EUR",
- "unitPrice": 0
}, - {
- "transactionTermCode": "exw",
- "currencyCode": "JPY",
- "unitPrice": 0
}, - {
- "transactionTermCode": "exw",
- "currencyCode": "USD",
- "unitPrice": 0
}, - {
- "transactionTermCode": "exw",
- "currencyCode": "EUR",
- "unitPrice": 0
}, - {
- "transactionTermCode": "ddp",
- "currencyCode": "JPY",
- "unitPrice": 0
}, - {
- "transactionTermCode": "ddp",
- "currencyCode": "USD",
- "unitPrice": 0
}, - {
- "transactionTermCode": "ddp",
- "currencyCode": "EUR",
- "unitPrice": 0
}
], - "referenceRetailPrices": [
- {
- "currencyCode": "JPY",
- "unitPrice": 0
}, - {
- "currencyCode": "USD",
- "unitPrice": 0
}, - {
- "currencyCode": "EUR",
- "unitPrice": 0
}
], - "categoryGroups": [ ],
- "countryOfOrigin": null,
- "customAttributes": [ ],
- "catalogIds": [ ],
- "images": [ ],
- "videos": [ ],
- "symbolSkuImages": [
- {
- "symbolSkuPropertyId": "YOUR SYMBOL SKU PROPERTY ID",
- "skuPropertyVariantId": "YOUR SKU PROPERTY VARIANT ID",
- "image": null
}
], - "status": "public",
- "createdAt": "2024-10-27T23:26:32.580Z",
- "updatedAt": "2024-10-27T23:26:32.580Z"
}, - "skus": [
- {
- "object": "sku",
- "skuId": "cij1w9z1dker028sy978rhs59hdh27dx",
- "productId": "lhj004x3h3zcdhqor84eoo0kowdb181n",
- "skuNumber": "SKU番号",
- "barcode": "",
- "merchantId": "YOUR MERCHANT ID",
- "brandId": "YOUR BRAND ID",
- "skuTemplateId": "YOUR SKU TEMPLATE ID",
- "skuComponents": [
- {
- "skuPropertyId": "YOUR SKU PROPERTY ID",
- "skuPropertyVariantId": "YOUR SKU PROPERTY VARIANT ID"
}, - {
- "skuPropertyId": "YOUR SKU PROPERTY ID",
- "skuPropertyVariantId": "YOUR SKU PROPERTY VARIANT ID"
}
], - "prices": [
- {
- "transactionTermCode": "kakeritsu_transaction",
- "currencyCode": "JPY",
- "unitPrice": 1000
}, - {
- "transactionTermCode": "kakeritsu_transaction",
- "currencyCode": "USD",
- "unitPrice": 0
}, - {
- "transactionTermCode": "kakeritsu_transaction",
- "currencyCode": "EUR",
- "unitPrice": 0
}, - {
- "transactionTermCode": "exw",
- "currencyCode": "JPY",
- "unitPrice": 0
}, - {
- "transactionTermCode": "exw",
- "currencyCode": "USD",
- "unitPrice": 0
}, - {
- "transactionTermCode": "exw",
- "currencyCode": "EUR",
- "unitPrice": 0
}, - {
- "transactionTermCode": "ddp",
- "currencyCode": "JPY",
- "unitPrice": 0
}, - {
- "transactionTermCode": "ddp",
- "currencyCode": "USD",
- "unitPrice": 0
}, - {
- "transactionTermCode": "ddp",
- "currencyCode": "EUR",
- "unitPrice": 0
}
], - "referenceRetailPrices": [
- {
- "currencyCode": "JPY",
- "unitPrice": 0
}, - {
- "currencyCode": "USD",
- "unitPrice": 0
}, - {
- "currencyCode": "EUR",
- "unitPrice": 0
}
], - "customAttributes": [ ],
- "cost": null,
- "status": "active",
- "sortKey": 1730071594580,
- "createdAt": "2024-10-27T23:26:32.580Z",
- "updatedAt": "2024-10-27T23:26:32.580Z"
}
]
}
}| brandId required | string |
| productId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
| Content-Type required | string Default: application/json |
{- "data": { }
}このAPIでは、Base64エンコードされた画像をアップロードし、対象の製品に関連付けることができます。
注意事項:
| brandId required | string |
| productId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
| Content-Type required | string Default: application/json |
| base64Image required | string 画像をBase64エンコードした文字列を指定します。 |
| fileName required | string 画像のファイル名を指定します。 |
| orientation required | string Enum: "landscape" "portrait" 画像の向きを指定します。 |
| position | integer 画像の表示順序を指定します。 |
| positionStrategy | string Enum: "insert" "replace" 画像の表示順序を指定します。 |
Array of objects |
{- "base64Image": "string",
- "fileName": "string",
- "orientation": "landscape",
- "position": 0,
- "positionStrategy": "insert",
- "localizedCaptions": [
- {
- "languageCode": "ja",
- "text": "string"
}
]
}{- "data": {
- "image": {
- "url": "string",
- "aspectRatio": "3:2",
- "localizedCaptions": [
- {
- "languageCode": "ja",
- "text": "string"
}
]
}
}
}このAPIでは、Base64エンコードされた画像をアップロードし、対象の製品のシンボルSKU画像として設定することができます。 対象のシンボルSKUに対して既に画像が設定されていた場合、新しい画像で上書きされます。
注意事項:
| brandId required | string |
| productId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
| Content-Type required | string Default: application/json |
| symbolSkuPropertyId required | string 製品で設定されているSKUテンプレートの、シンボル設定されているSKUプロパティIDを指定してください。 |
| skuPropertyVariantId required | string シンボルとなっているSKUプロパティのバリアントIDを指定してください。 |
| base64Image required | string 画像をBase64エンコードした文字列を指定します。 |
| fileName required | string 画像のファイル名を指定します。 |
| orientation required | string Enum: "landscape" "portrait" 画像の向きを指定します。 |
Array of objects |
{- "symbolSkuPropertyId": "string",
- "skuPropertyVariantId": "string",
- "base64Image": "string",
- "fileName": "string",
- "orientation": "landscape",
- "localizedCaptions": [
- {
- "languageCode": "ja",
- "text": "string"
}
]
}{- "data": {
- "image": {
- "url": "string",
- "aspectRatio": "3:2",
- "localizedCaptions": [
- {
- "languageCode": "ja",
- "text": "string"
}
]
}
}
}SKU object
SKU情報を表します。
| object | string Default: "sku" |
| skuId | string |
| productId | string |
| skuNumber | string SKU番号 |
| barcode | string |
| merchantId | string |
| brandId | string |
| skuTemplateId | string このSKUの組成情報を表すSKUテンプレートのID |
Array of objects SKUテンプレートに設定されたSKUプロパティと、そのSKUプロパティに属するSKUプロパティバリアントの組み合わせで組成を表します。 | |
Array of objects SKUレベルの価格を表します。 | |
Array of objects SKUレベルの参考小売価格を表します。 | |
Array of objects SKUに設定されたカスタム属性 | |
object or null SKUの製造原価 | |
| backorderException | string or null Enum: null "backorder_disallowed" 本フィールドでは、バックオーダーの例外設定を行います。 |
| status | string Default: "active" Enum: "active" "inactive" |
| sortKey | integer |
| createdAt | string <date-time> リソースの作成日時。 |
| updatedAt | string <date-time> リソースの更新日時。 |
{- "object": "sku",
- "skuId": "string",
- "productId": "string",
- "skuNumber": "string",
- "barcode": "string",
- "merchantId": "string",
- "brandId": "string",
- "skuTemplateId": "string",
- "skuComponents": [
- {
- "skuPropertyId": "string",
- "skuPropertyVariantId": "string"
}
], - "prices": [
- {
- "transactionTermCode": "exw",
- "currencyCode": "AUD",
- "unitPrice": 0
}
], - "referenceRetailPrices": [
- {
- "currencyCode": "AUD",
- "unitPrice": 0
}
], - "customAttributes": [
- {
- "customAttributeId": "string",
- "value": "string"
}
], - "cost": {
- "currencyCode": "AUD",
- "amount": 0
}, - "backorderException": null,
- "status": "active",
- "sortKey": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}| brandId required | string |
| limit | integer [ 1 .. 100 ] Default: 20 |
| cursor | string Cursor to fetch next or previous page (skuId) |
| direction | string Enum: "next" "previous" |
| skuIds | string Comma separated ids |
| skuNumber | string |
| barcode | string |
| productIds | string Comma separated ids |
| skuTemplateIds | string Comma separated ids |
| skuPropertyIds | string Comma separated ids |
| skuPropertyVariantIds | string Comma separated ids |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
{- "pagination": {
- "nextCursor": "string",
- "previousCursor": "string"
}, - "data": {
- "skus": [
- {
- "object": "sku",
- "skuId": "string",
- "productId": "string",
- "skuNumber": "string",
- "barcode": "string",
- "merchantId": "string",
- "brandId": "string",
- "skuTemplateId": "string",
- "skuComponents": [
- {
- "skuPropertyId": "string",
- "skuPropertyVariantId": "string"
}
], - "prices": [
- {
- "transactionTermCode": "exw",
- "currencyCode": "AUD",
- "unitPrice": 0
}
], - "referenceRetailPrices": [
- {
- "currencyCode": "AUD",
- "unitPrice": 0
}
], - "customAttributes": [
- {
- "customAttributeId": "string",
- "value": "string"
}
], - "cost": {
- "currencyCode": "AUD",
- "amount": 0
}, - "backorderException": null,
- "status": "active",
- "sortKey": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]
}
}SKUを作成するには、製品(Product)が必ず事前登録されている必要があります。
製品作成APIで、SKUを同時に登録することが可能なため、必要に応じて製品作成APIをご利用ください。
| brandId required | string |
| productId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
| Content-Type required | string Default: application/json |
| skuNumber required | string |
| barcode | string |
required | Array of objects or objects |
required | Array of objects |
Array of objects | |
Array of objects | |
object or null SKUの製造原価 | |
| backorderException | string or null Enum: null "backorder_disallowed" 本フィールドでは、バックオーダーの例外設定を行います。 |
{- "skuNumber": "string",
- "barcode": "string",
- "components": [
- {
- "skuPropertyId": "string",
- "skuPropertyVariantId": "string"
}
], - "prices": [
- {
- "transactionTermCode": "exw",
- "currencyCode": "AUD",
- "unitPrice": 0
}
], - "referenceRetailPrices": [
- {
- "currencyCode": "AUD",
- "unitPrice": 0
}
], - "customAttributes": [
- {
- "customAttributeId": "string",
- "value": "string"
}
], - "cost": {
- "currencyCode": "AUD",
- "amount": 0
}, - "backorderException": null
}{- "data": {
- "sku": {
- "object": "sku",
- "skuId": "string",
- "productId": "string",
- "skuNumber": "string",
- "barcode": "string",
- "merchantId": "string",
- "brandId": "string",
- "skuTemplateId": "string",
- "skuComponents": [
- {
- "skuPropertyId": "string",
- "skuPropertyVariantId": "string"
}
], - "prices": [
- {
- "transactionTermCode": "exw",
- "currencyCode": "AUD",
- "unitPrice": 0
}
], - "referenceRetailPrices": [
- {
- "currencyCode": "AUD",
- "unitPrice": 0
}
], - "customAttributes": [
- {
- "customAttributeId": "string",
- "value": "string"
}
], - "cost": {
- "currencyCode": "AUD",
- "amount": 0
}, - "backorderException": null,
- "status": "active",
- "sortKey": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}
}| brandId required | string |
| productId required | string |
| skuId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
{- "data": {
- "sku": {
- "object": "sku",
- "skuId": "string",
- "productId": "string",
- "skuNumber": "string",
- "barcode": "string",
- "merchantId": "string",
- "brandId": "string",
- "skuTemplateId": "string",
- "skuComponents": [
- {
- "skuPropertyId": "string",
- "skuPropertyVariantId": "string"
}
], - "prices": [
- {
- "transactionTermCode": "exw",
- "currencyCode": "AUD",
- "unitPrice": 0
}
], - "referenceRetailPrices": [
- {
- "currencyCode": "AUD",
- "unitPrice": 0
}
], - "customAttributes": [
- {
- "customAttributeId": "string",
- "value": "string"
}
], - "cost": {
- "currencyCode": "AUD",
- "amount": 0
}, - "backorderException": null,
- "status": "active",
- "sortKey": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}
}| brandId required | string |
| productId required | string |
| skuId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
| Content-Type required | string Default: application/json |
| skuNumber | string |
| barcode | string |
Array of objects | |
Array of objects | |
Array of objects | |
object or null SKUの製造原価 |
{- "skuNumber": "string",
- "barcode": "string",
- "prices": [
- {
- "transactionTermCode": "exw",
- "currencyCode": "AUD",
- "unitPrice": 0
}
], - "referenceRetailPrices": [
- {
- "currencyCode": "AUD",
- "unitPrice": 0
}
], - "customAttributes": [
- {
- "customAttributeId": "string",
- "value": "string"
}
], - "cost": {
- "currencyCode": "AUD",
- "amount": 0
}
}{- "data": {
- "sku": {
- "object": "sku",
- "skuId": "string",
- "productId": "string",
- "skuNumber": "string",
- "barcode": "string",
- "merchantId": "string",
- "brandId": "string",
- "skuTemplateId": "string",
- "skuComponents": [
- {
- "skuPropertyId": "string",
- "skuPropertyVariantId": "string"
}
], - "prices": [
- {
- "transactionTermCode": "exw",
- "currencyCode": "AUD",
- "unitPrice": 0
}
], - "referenceRetailPrices": [
- {
- "currencyCode": "AUD",
- "unitPrice": 0
}
], - "customAttributes": [
- {
- "customAttributeId": "string",
- "value": "string"
}
], - "cost": {
- "currencyCode": "AUD",
- "amount": 0
}, - "backorderException": null,
- "status": "active",
- "sortKey": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}
}| brandId required | string |
| productId required | string |
| skuId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
| Content-Type required | string Default: application/json |
{- "data": { }
}SkuProperty object
SKUプロパティ情報を表します。
SKUプロパティは、SKUを構成するための部品データに当たります。
「カラー」や「サイズ」などの情報がSKUプロパティに該当します。
| object | string Default: "sku_property" |
| skuPropertyId | string |
| code | string SKUプロパティのコード |
| merchantId | string |
| brandId | string |
Array of objects SKUプロパティの名称 | |
Array of objects SKUプロパティに属するSKUプロパティバリアント | |
| status | string Default: "active" Enum: "active" "draft" |
| createdAt | string <date-time> リソースの作成日時。 |
| updatedAt | string <date-time> リソースの更新日時。 |
{- "object": "sku_property",
- "skuPropertyId": "string",
- "code": "string",
- "merchantId": "string",
- "brandId": "string",
- "localizedNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "variants": [
- {
- "object": "sku_property_variant",
- "skuPropertyVariantId": "string",
- "code": "string",
- "localizedNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "status": "active"
}
], - "status": "active",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}| brandId required | string |
| limit | integer [ 1 .. 100 ] Default: 20 |
| cursor | string Cursor to fetch next or previous page (skuPropertyId) |
| direction | string Enum: "next" "previous" |
| skuPropertyIds | string Comma separated ids |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
{- "pagination": {
- "nextCursor": "string",
- "previousCursor": "string"
}, - "data": {
- "skuProperties": [
- {
- "object": "sku_property",
- "skuPropertyId": "string",
- "code": "string",
- "merchantId": "string",
- "brandId": "string",
- "localizedNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "variants": [
- {
- "object": "sku_property_variant",
- "skuPropertyVariantId": "string",
- "code": "string",
- "localizedNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "status": "active"
}
], - "status": "active",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]
}
}| brandId required | string |
| skuPropertyId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
{- "data": {
- "skuProperty": {
- "object": "sku_property",
- "skuPropertyId": "string",
- "code": "string",
- "merchantId": "string",
- "brandId": "string",
- "localizedNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "variants": [
- {
- "object": "sku_property_variant",
- "skuPropertyVariantId": "string",
- "code": "string",
- "localizedNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "status": "active"
}
], - "status": "active",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}
}SkuTemplate object
SKUテンプレート情報を表します。
SKUテンプレートは製品のSKUを構成するためのSKUプロパティの階層構造を定義します。
| object | string Default: "sku_template" |
| skuTemplateId | string |
| code | string SKUテンプレートのコード |
| merchantId | string |
| brandId | string |
| skuPropertyIds | Array of strings SKUテンプレートに設定されるSKUプロパティのID。 |
| symbolSkuPropertyId | string or null シンボルSKUプロパティのID |
| status | string Enum: "active" "draft" |
| sortKey | integer |
| createdAt | string <date-time> リソースの作成日時。 |
| updatedAt | string <date-time> リソースの更新日時。 |
{- "object": "sku_template",
- "skuTemplateId": "string",
- "code": "string",
- "merchantId": "string",
- "brandId": "string",
- "skuPropertyIds": [
- "string"
], - "symbolSkuPropertyId": "string",
- "status": "active",
- "sortKey": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}| brandId required | string |
| limit | integer [ 1 .. 100 ] Default: 20 |
| cursor | string Cursor to fetch next or previous page (skuTemplateId) |
| direction | string Enum: "next" "previous" |
| skuTemplateIds | string Comma separated ids |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
{- "pagination": {
- "nextCursor": "string",
- "previousCursor": "string"
}, - "data": {
- "skuTemplates": [
- {
- "object": "sku_template",
- "skuTemplateId": "string",
- "code": "string",
- "merchantId": "string",
- "brandId": "string",
- "skuPropertyIds": [
- "string"
], - "symbolSkuPropertyId": "string",
- "status": "active",
- "sortKey": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]
}
}| brandId required | string |
| skuTemplateId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
{- "data": {
- "skuTemplate": {
- "object": "sku_template",
- "skuTemplateId": "string",
- "code": "string",
- "merchantId": "string",
- "brandId": "string",
- "skuPropertyIds": [
- "string"
], - "symbolSkuPropertyId": "string",
- "status": "active",
- "sortKey": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}
}SkuOption object
SKUオプション情報を表します。
SKUオプションはSKU管理(在庫管理)はしたくないが、オプションに応じて価格を上乗せ・割引したい場合などに使用します。
メガネを例にあげると、フレームをSKU管理して、レンズの色などがSKUオプションとして管理される事例が多々ございます。
| object | string Default: "sku_option" |
| skuOptionId | string |
| code | string SKUオプションのコード |
| merchantId | string |
| brandId | string |
Array of objects SKUオプションの名称 | |
Array of objects SKUオプションに属するSKUオプションバリアント | |
| defaultVariantId | string |
| applyTransactionTermRateToPrice | boolean 取引条件レートを価格に適用するかどうか |
| status | string Enum: "active" "inactive" |
| createdAt | string <date-time> リソースの作成日時。 |
| updatedAt | string <date-time> リソースの更新日時。 |
{- "object": "sku_option",
- "skuOptionId": "string",
- "code": "string",
- "merchantId": "string",
- "brandId": "string",
- "localizedNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "variants": [
- {
- "object": "sku_option_variant",
- "skuOptionVariantId": "string",
- "code": "string",
- "localizedNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "prices": [
- {
- "transactionTermCode": "exw",
- "currencyCode": "AUD",
- "unitPrice": 0
}
], - "status": "active"
}
], - "defaultVariantId": "string",
- "applyTransactionTermRateToPrice": true,
- "status": "active",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}| brandId required | string |
| limit | integer [ 1 .. 100 ] Default: 20 |
| cursor | string Cursor to fetch next or previous page (skuOptionId) |
| direction | string Enum: "next" "previous" |
| skuOptionIds | string Comma separated ids |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
{- "pagination": {
- "nextCursor": "string",
- "previousCursor": "string"
}, - "data": {
- "skuOptions": [
- {
- "object": "sku_option",
- "skuOptionId": "string",
- "code": "string",
- "merchantId": "string",
- "brandId": "string",
- "localizedNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "variants": [
- {
- "object": "sku_option_variant",
- "skuOptionVariantId": "string",
- "code": "string",
- "localizedNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "prices": [
- {
- "transactionTermCode": "exw",
- "currencyCode": "AUD",
- "unitPrice": 0
}
], - "status": "active"
}
], - "defaultVariantId": "string",
- "applyTransactionTermRateToPrice": true,
- "status": "active",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]
}
}| brandId required | string |
| skuOptionId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
{- "data": {
- "skuOption": {
- "object": "sku_option",
- "skuOptionId": "string",
- "code": "string",
- "merchantId": "string",
- "brandId": "string",
- "localizedNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "variants": [
- {
- "object": "sku_option_variant",
- "skuOptionVariantId": "string",
- "code": "string",
- "localizedNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "prices": [
- {
- "transactionTermCode": "exw",
- "currencyCode": "AUD",
- "unitPrice": 0
}
], - "status": "active"
}
], - "defaultVariantId": "string",
- "applyTransactionTermRateToPrice": true,
- "status": "active",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}
}InventoryItem object
在庫アイテムを表します。
在庫アイテムは、製品のSKUに対して、在庫ラベルと在庫ロケーションを紐付けた情報で構成されます。
| object | string Default: "inventory_item" |
| inventoryItemId | string |
| skuId | string |
| productId | string |
| merchantId | string |
| brandId | string |
| inventoryLabelId | string |
| inventoryLocationId | string |
object or null SKUの製造原価 | |
| quantity | integer |
| createdAt | string <date-time> リソースの作成日時。 |
| updatedAt | string <date-time> リソースの更新日時。 |
{- "object": "inventory_item",
- "inventoryItemId": "string",
- "skuId": "string",
- "productId": "string",
- "merchantId": "string",
- "brandId": "string",
- "inventoryLabelId": "string",
- "inventoryLocationId": "string",
- "cost": {
- "currencyCode": "AUD",
- "amount": 0
}, - "quantity": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}| brandId required | string |
| limit | integer [ 1 .. 100 ] Default: 20 |
| cursor | string 次のページまたは前のページを取得するためのカーソルです。(inventoryItemId) |
| direction | string Enum: "next" "previous" |
| updatedAtFrom | string <date-time> 更新日時での絞り込みを行う場合は、開始日時をISO 8601 format (eg. 2021-01-15T00:00:00Z)で指定してください。 |
| updatedAtTo | string <date-time> 更新日時での絞り込みを行う場合は、終了日時をISO 8601 format (eg. 2021-01-15T00:00:00Z)で指定してください。 |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
{- "pagination": {
- "nextCursor": "string",
- "previousCursor": "string"
}, - "data": {
- "inventoryItems": [
- {
- "object": "inventory_item",
- "inventoryItemId": "string",
- "skuId": "string",
- "productId": "string",
- "merchantId": "string",
- "brandId": "string",
- "inventoryLabelId": "string",
- "inventoryLocationId": "string",
- "cost": {
- "currencyCode": "AUD",
- "amount": 0
}, - "quantity": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]
}
}複数のSKU IDを指定して、在庫アイテムを取得します。
SKU IDは最大100件まで指定可能です。
このAPIは、将来的により柔軟な検索APIに置き換えられる可能性があります。
廃止する場合は、十分な移行期間を設けた上でご案内いたします。
| brandId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
| Content-Type required | string Default: application/json |
| skuIds required | Array of strings [ 1 .. 100 ] items SKU IDのリストです。 |
| inventoryLabelId required | string 在庫ラベルのIDです。 |
| inventoryLocationId required | string 在庫ロケーションのIDです。 |
{- "skuIds": [
- "n62y1phm9ct6rwab05ioin6xx05cu29z"
], - "inventoryLabelId": "string",
- "inventoryLocationId": "string"
}{- "data": {
- "inventoryItems": [
- {
- "object": "inventory_item",
- "inventoryItemId": "string",
- "skuId": "string",
- "productId": "string",
- "merchantId": "string",
- "brandId": "string",
- "inventoryLabelId": "string",
- "inventoryLocationId": "string",
- "cost": {
- "currencyCode": "AUD",
- "amount": 0
}, - "quantity": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]
}
}在庫アイテムを一括でセット(上書き)します。
現時点では、最大100件まで指定可能です。
| brandId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
| Content-Type required | string Default: application/json |
required | Array of objects[ items [ 1 .. 100 ] items ] 上書き登録する在庫アイテムのリストです。 |
{- "items": [
- {
- "productId": "string",
- "skuId": "string",
- "inventoryLabelId": "string",
- "inventoryLocationId": "string",
- "quantity": 0
}
]
}{- "data": {
- "inventoryItems": [
- {
- "object": "inventory_item",
- "inventoryItemId": "string",
- "skuId": "string",
- "productId": "string",
- "merchantId": "string",
- "brandId": "string",
- "inventoryLabelId": "string",
- "inventoryLocationId": "string",
- "cost": {
- "currencyCode": "AUD",
- "amount": 0
}, - "quantity": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]
}
}| brandId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
| Content-Type required | string Default: application/json |
| skuNumber | string 登録済みの有効な |
| inventoryLabelId | string |
| inventoryLocationId | string |
| quantity | integer |
{- "skuNumber": "string",
- "inventoryLabelId": "string",
- "inventoryLocationId": "string",
- "quantity": 0
}{- "data": {
- "inventoryItem": {
- "object": "inventory_item",
- "inventoryItemId": "string",
- "skuId": "string",
- "productId": "string",
- "merchantId": "string",
- "brandId": "string",
- "inventoryLabelId": "string",
- "inventoryLocationId": "string",
- "cost": {
- "currencyCode": "AUD",
- "amount": 0
}, - "quantity": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}
}| brandId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
| Content-Type required | string Default: application/json |
| skuNumber | string 登録済みの有効な |
| inventoryLabelId | string |
| inventoryLocationId | string |
| adjustmentQuantity | integer 調整する数量。 正の値で増加、負の値で減少。 |
{- "skuNumber": "string",
- "inventoryLabelId": "string",
- "inventoryLocationId": "string",
- "adjustmentQuantity": 0
}{- "data": {
- "inventoryItem": {
- "object": "inventory_item",
- "inventoryItemId": "string",
- "skuId": "string",
- "productId": "string",
- "merchantId": "string",
- "brandId": "string",
- "inventoryLabelId": "string",
- "inventoryLocationId": "string",
- "cost": {
- "currencyCode": "AUD",
- "amount": 0
}, - "quantity": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}
}| brandId required | string |
| productId required | string |
| skuId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
{- "data": {
- "inventoryItems": [
- {
- "object": "inventory_item",
- "inventoryItemId": "string",
- "skuId": "string",
- "productId": "string",
- "merchantId": "string",
- "brandId": "string",
- "inventoryLabelId": "string",
- "inventoryLocationId": "string",
- "cost": {
- "currencyCode": "AUD",
- "amount": 0
}, - "quantity": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]
}
}| brandId required | string |
| productId required | string |
| skuId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
| Content-Type required | string Default: application/json |
| inventoryLabelId | string |
| inventoryLocationId | string |
| quantity | integer |
{- "inventoryLabelId": "string",
- "inventoryLocationId": "string",
- "quantity": 0
}{- "data": {
- "inventoryItem": {
- "object": "inventory_item",
- "inventoryItemId": "string",
- "skuId": "string",
- "productId": "string",
- "merchantId": "string",
- "brandId": "string",
- "inventoryLabelId": "string",
- "inventoryLocationId": "string",
- "cost": {
- "currencyCode": "AUD",
- "amount": 0
}, - "quantity": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}
}| brandId required | string |
| productId required | string |
| skuId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
| Content-Type required | string Default: application/json |
| inventoryLabelId | string |
| inventoryLocationId | string |
| adjustmentQuantity | integer 調整する数量。 正の値で増加、負の値で減少。 |
{- "inventoryLabelId": "string",
- "inventoryLocationId": "string",
- "adjustmentQuantity": 0
}{- "data": {
- "inventoryItem": {
- "object": "inventory_item",
- "inventoryItemId": "string",
- "skuId": "string",
- "productId": "string",
- "merchantId": "string",
- "brandId": "string",
- "inventoryLabelId": "string",
- "inventoryLocationId": "string",
- "cost": {
- "currencyCode": "AUD",
- "amount": 0
}, - "quantity": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}
}ProductCategory object
| object | string Default: "product_category" |
| categoryId | string |
| merchantId | string |
| brandId | string |
| type | string Enum: "category_level_1" "category_level_2" "category_level_3" カテゴリーの階層レベル |
Array of objects カテゴリーの名称 | |
| parentCategoryId | string or null 親カテゴリーのID |
| status | string Default: "active" Value: "active" |
| sortKey | integer |
| createdAt | string <date-time> リソースの作成日時。 |
| updatedAt | string <date-time> リソースの更新日時。 |
{- "object": "product_category",
- "categoryId": "string",
- "merchantId": "string",
- "brandId": "string",
- "type": "category_level_1",
- "localizedNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "parentCategoryId": "string",
- "status": "active",
- "sortKey": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}| brandId required | string |
| limit | integer [ 1 .. 100 ] Default: 20 |
| cursor | string Cursor to fetch next or previous page (categoryId) |
| direction | string Enum: "next" "previous" |
| categoryIds | string Comma separated ids |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
{- "pagination": {
- "nextCursor": "string",
- "previousCursor": "string"
}, - "data": {
- "categories": [
- {
- "object": "product_category",
- "categoryId": "string",
- "merchantId": "string",
- "brandId": "string",
- "type": "category_level_1",
- "localizedNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "parentCategoryId": "string",
- "status": "active",
- "sortKey": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]
}
}| brandId required | string |
| categoryId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
{- "data": {
- "category": {
- "object": "product_category",
- "categoryId": "string",
- "merchantId": "string",
- "brandId": "string",
- "type": "category_level_1",
- "localizedNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "parentCategoryId": "string",
- "status": "active",
- "sortKey": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}
}CustomerBuyer object
顧客バイヤー情報を表します。
| object | string Default: "customer_buyer" |
| customerBuyerId | string |
| merchantId | string |
| brandId | string |
| sourceBuyerObjectType | string Enum: "buyer" "offline_buyer" バイヤーのソースオブジェクトタイプ |
| businessType | string Enum: "company" "individual" 顧客バイヤーの事業形態 |
| code | string or null 顧客バイヤーのユニークコードを表します。 |
| customerCode | string 顧客コードを表します。 |
Array of objects バイヤーの名称 | |
| customDisplayName | string 顧客バイヤーのカスタム表示名を表します。 |
| countryCode | string 顧客バイヤーの所在国コード。 |
| transactionTermCode | string Enum: "exw" "fca" "cpt" "cip" "dap" "dpu" "ddp" "fas" "fob" "cfr" "cif" "kakeritsu_transaction" "wholesale_transaction" この顧客との取引で使用する取引条件コードを表します。 |
object or object 取引条件レート | |
| currencyCode | string Enum: "AUD" "CAD" "CNY" "DKK" "HKD" "INR" "IDR" "JPY" "KRW" "MYR" "NOK" "PHP" "RUB" "SGD" "VND" "SEK" "CHF" "THB" "GBP" "USD" "TWD" "EUR" "BRL" この顧客との取引で使用する通貨コードを表します。 |
| languageCode | string Enum: "ja" "en" "zh" "es" "fr" "de" "it" "ko" "ru" "nl" "pt" DEXTREでサポートされている言語コード。 |
Array of objects | |
Array of objects | |
Array of objects 顧客バイヤーに紐づけるカスタム属性データを表します。 | |
| tagIds | Array of strings 顧客バイヤーに紐づいているタグのIDを表します。 |
| status | string Enum: "active" "closed" |
| createdAt | string <date-time> リソースの作成日時。 |
| updatedAt | string <date-time> リソースの更新日時。 |
{- "object": "customer_buyer",
- "customerBuyerId": "string",
- "merchantId": "string",
- "brandId": "string",
- "sourceBuyerObjectType": "buyer",
- "businessType": "company",
- "code": "string",
- "customerCode": "string",
- "sourceBuyerLocalizedNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "customDisplayName": "string",
- "countryCode": "string",
- "transactionTermCode": "exw",
- "transactionTermRate": {
- "transactionTermCode": "exw",
- "rateApplicationMethod": "discount",
- "rate": 1
}, - "currencyCode": "AUD",
- "languageCode": "ja",
- "billingAddresses": [
- {
- "object": "address",
- "code": "string",
- "name": "string",
- "countryCode": "string",
- "postalCode": "string",
- "state": "string",
- "city": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "email": "string",
- "phoneNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "taxIdentificationNumber": "string"
}
], - "deliveryAddresses": [
- {
- "object": "address",
- "code": "string",
- "name": "string",
- "countryCode": "string",
- "postalCode": "string",
- "state": "string",
- "city": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "email": "string",
- "phoneNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "taxIdentificationNumber": "string"
}
], - "customAttributes": [
- {
- "customAttributeId": "string",
- "value": "string"
}
], - "tagIds": [
- "string"
], - "status": "active",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}| brandId required | string |
| limit | integer [ 1 .. 100 ] Default: 20 |
| cursor | string Cursor to fetch next or previous page (customerBuyerId) |
| direction | string Enum: "next" "previous" |
| customerBuyerIds | string カンマ区切りされた顧客バイヤーIDを指定することで、該当顧客バイヤーを絞り込みます。 |
| tagIds | string カンマ区切りされたタグIDを指定することで、該当タグが紐づいている顧客バイヤーを絞り込みます。 |
| createdAtFrom | string <date-time> 作成日時での絞り込みを行う場合は、開始日時をISO 8601 format (eg. 2021-01-15T00:00:00Z)で指定してください。 |
| createdAtTo | string <date-time> 作成日時での絞り込みを行う場合は、終了日時をISO 8601 format (eg. 2021-01-15T00:00:00Z)で指定してください。 |
| updatedAtFrom | string <date-time> 更新日時での絞り込みを行う場合は、開始日時をISO 8601 format (eg. 2021-01-15T00:00:00Z)で指定してください。 |
| updatedAtTo | string <date-time> 更新日時での絞り込みを行う場合は、終了日時をISO 8601 format (eg. 2021-01-15T00:00:00Z)で指定してください。 |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
{- "pagination": {
- "nextCursor": "string",
- "previousCursor": "string"
}, - "data": {
- "customerBuyers": [
- {
- "object": "customer_buyer",
- "customerBuyerId": "string",
- "merchantId": "string",
- "brandId": "string",
- "sourceBuyerObjectType": "buyer",
- "businessType": "company",
- "code": "string",
- "customerCode": "string",
- "sourceBuyerLocalizedNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "customDisplayName": "string",
- "countryCode": "string",
- "transactionTermCode": "exw",
- "transactionTermRate": {
- "transactionTermCode": "exw",
- "rateApplicationMethod": "discount",
- "rate": 1
}, - "currencyCode": "AUD",
- "languageCode": "ja",
- "billingAddresses": [
- {
- "object": "address",
- "code": "string",
- "name": "string",
- "countryCode": "string",
- "postalCode": "string",
- "state": "string",
- "city": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "email": "string",
- "phoneNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "taxIdentificationNumber": "string"
}
], - "deliveryAddresses": [
- {
- "object": "address",
- "code": "string",
- "name": "string",
- "countryCode": "string",
- "postalCode": "string",
- "state": "string",
- "city": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "email": "string",
- "phoneNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "taxIdentificationNumber": "string"
}
], - "customAttributes": [
- {
- "customAttributeId": "string",
- "value": "string"
}
], - "tagIds": [
- "string"
], - "status": "active",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]
}
}| brandId required | string |
| customerBuyerId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
{- "data": {
- "customerBuyer": {
- "object": "customer_buyer",
- "customerBuyerId": "string",
- "merchantId": "string",
- "brandId": "string",
- "sourceBuyerObjectType": "buyer",
- "businessType": "company",
- "code": "string",
- "customerCode": "string",
- "sourceBuyerLocalizedNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "customDisplayName": "string",
- "countryCode": "string",
- "transactionTermCode": "exw",
- "transactionTermRate": {
- "transactionTermCode": "exw",
- "rateApplicationMethod": "discount",
- "rate": 1
}, - "currencyCode": "AUD",
- "languageCode": "ja",
- "billingAddresses": [
- {
- "object": "address",
- "code": "string",
- "name": "string",
- "countryCode": "string",
- "postalCode": "string",
- "state": "string",
- "city": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "email": "string",
- "phoneNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "taxIdentificationNumber": "string"
}
], - "deliveryAddresses": [
- {
- "object": "address",
- "code": "string",
- "name": "string",
- "countryCode": "string",
- "postalCode": "string",
- "state": "string",
- "city": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "email": "string",
- "phoneNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "taxIdentificationNumber": "string"
}
], - "customAttributes": [
- {
- "customAttributeId": "string",
- "value": "string"
}
], - "tagIds": [
- "string"
], - "status": "active",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}
}| brandId required | string |
| customerBuyerId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
| Content-Type required | string Default: application/json |
顧客バイヤーの更新情報
| code | string |
| customDisplayName | string |
object or object | |
| currencyCode | string Enum: "AUD" "CAD" "CNY" "DKK" "HKD" "INR" "IDR" "JPY" "KRW" "MYR" "NOK" "PHP" "RUB" "SGD" "VND" "SEK" "CHF" "THB" "GBP" "USD" "TWD" "EUR" "BRL" DEXTREでサポートされている通貨コード。 |
| languageCode | string Enum: "ja" "en" "zh" "es" "fr" "de" "it" "ko" "ru" "nl" "pt" DEXTREでサポートされている言語コード。 |
Array of objects | |
Array of objects | |
Array of objects | |
| tagIds | Array of strings 該当顧客バイヤーに紐づけたいタグのIDをご指定ください。 |
{- "code": "string",
- "customDisplayName": "string",
- "transactionTermRate": {
- "transactionTermCode": "exw",
- "rateApplicationMethod": "discount",
- "rate": 1
}, - "currencyCode": "AUD",
- "languageCode": "ja",
- "billingAddresses": [
- {
- "object": "address",
- "code": "string",
- "name": "string",
- "countryCode": "string",
- "postalCode": "string",
- "state": "string",
- "city": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "email": "string",
- "phoneNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "taxIdentificationNumber": "string"
}
], - "deliveryAddresses": [
- {
- "object": "address",
- "code": "string",
- "name": "string",
- "countryCode": "string",
- "postalCode": "string",
- "state": "string",
- "city": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "email": "string",
- "phoneNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "taxIdentificationNumber": "string"
}
], - "customAttributes": [
- {
- "customAttributeId": "string",
- "value": "string"
}
], - "tagIds": [
- "string"
]
}{- "data": {
- "customerBuyer": {
- "object": "customer_buyer",
- "customerBuyerId": "string",
- "merchantId": "string",
- "brandId": "string",
- "sourceBuyerObjectType": "buyer",
- "businessType": "company",
- "code": "string",
- "customerCode": "string",
- "sourceBuyerLocalizedNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "customDisplayName": "string",
- "countryCode": "string",
- "transactionTermCode": "exw",
- "transactionTermRate": {
- "transactionTermCode": "exw",
- "rateApplicationMethod": "discount",
- "rate": 1
}, - "currencyCode": "AUD",
- "languageCode": "ja",
- "billingAddresses": [
- {
- "object": "address",
- "code": "string",
- "name": "string",
- "countryCode": "string",
- "postalCode": "string",
- "state": "string",
- "city": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "email": "string",
- "phoneNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "taxIdentificationNumber": "string"
}
], - "deliveryAddresses": [
- {
- "object": "address",
- "code": "string",
- "name": "string",
- "countryCode": "string",
- "postalCode": "string",
- "state": "string",
- "city": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "email": "string",
- "phoneNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "taxIdentificationNumber": "string"
}
], - "customAttributes": [
- {
- "customAttributeId": "string",
- "value": "string"
}
], - "tagIds": [
- "string"
], - "status": "active",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}
}OfflineBuyer object
オフラインバイヤー情報を表します。
| object | string Default: "offline_buyer" |
| offlineBuyerId | string |
| businessType | string Enum: "company" "individual" |
| merchantId | string |
| brandId | string |
Array of objects オフラインバイヤーの名称 | |
| countryCode | string オフラインバイヤーの所在国コード。 |
| emails | Array of strings |
| phoneNumber | string |
Array of objects | |
Array of objects | |
| primaryLanguageCode | string |
| status | string Enum: "active" "closed" "merged_into_buyer" |
| createdAt | string <date-time> リソースの作成日時。 |
| updatedAt | string <date-time> リソースの更新日時。 |
{- "object": "offline_buyer",
- "offlineBuyerId": "string",
- "businessType": "company",
- "merchantId": "string",
- "brandId": "string",
- "localizedNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "countryCode": "string",
- "emails": [
- "string"
], - "phoneNumber": "string",
- "billingAddresses": [
- {
- "object": "address",
- "code": "string",
- "name": "string",
- "countryCode": "string",
- "postalCode": "string",
- "state": "string",
- "city": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "email": "string",
- "phoneNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "taxIdentificationNumber": "string"
}
], - "deliveryAddresses": [
- {
- "object": "address",
- "code": "string",
- "name": "string",
- "countryCode": "string",
- "postalCode": "string",
- "state": "string",
- "city": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "email": "string",
- "phoneNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "taxIdentificationNumber": "string"
}
], - "primaryLanguageCode": "string",
- "status": "active",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}| brandId required | string |
| limit | integer [ 1 .. 100 ] Default: 20 |
| cursor | string Cursor to fetch next or previous page (offlineBuyerId) |
| direction | string Enum: "next" "previous" |
| offlineBuyerIds | string Comma separated ids |
| createdAtFrom | string <date-time> 作成日時での絞り込みを行う場合は、開始日時をISO 8601 format (eg. 2021-01-15T00:00:00Z)で指定してください。 |
| createdAtTo | string <date-time> 作成日時での絞り込みを行う場合は、終了日時をISO 8601 format (eg. 2021-01-15T00:00:00Z)で指定してください。 |
| updatedAtFrom | string <date-time> 更新日時での絞り込みを行う場合は、開始日時をISO 8601 format (eg. 2021-01-15T00:00:00Z)で指定してください。 |
| updatedAtTo | string <date-time> 更新日時での絞り込みを行う場合は、終了日時をISO 8601 format (eg. 2021-01-15T00:00:00Z)で指定してください。 |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
{- "pagination": {
- "nextCursor": "string",
- "previousCursor": "string"
}, - "data": {
- "offlineBuyers": [
- {
- "object": "offline_buyer",
- "offlineBuyerId": "string",
- "businessType": "company",
- "merchantId": "string",
- "brandId": "string",
- "localizedNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "countryCode": "string",
- "emails": [
- "string"
], - "phoneNumber": "string",
- "billingAddresses": [
- {
- "object": "address",
- "code": "string",
- "name": "string",
- "countryCode": "string",
- "postalCode": "string",
- "state": "string",
- "city": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "email": "string",
- "phoneNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "taxIdentificationNumber": "string"
}
], - "deliveryAddresses": [
- {
- "object": "address",
- "code": "string",
- "name": "string",
- "countryCode": "string",
- "postalCode": "string",
- "state": "string",
- "city": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "email": "string",
- "phoneNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "taxIdentificationNumber": "string"
}
], - "primaryLanguageCode": "string",
- "status": "active",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]
}
}| brandId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
| Content-Type required | string Default: application/json |
オフラインバイヤーの作成情報 (顧客バイヤーも合わせて作成されるため、顧客バイヤーデータも含む)
| code required | string 顧客バイヤーのユニークコードを指定してください。 |
| customerCode | string 顧客バイヤーのカスタマーコードを指定してください。 |
required | Array of objects オフラインバイヤーの表示名を指定してください。 |
| customDisplayName | string 顧客バイヤーのカスタム表示名を指定してください。 |
| countryCode required | string DEXTREでサポートされている国コード。
|
required | object or object |
| currencyCode required | string Enum: "AUD" "CAD" "CNY" "DKK" "HKD" "INR" "IDR" "JPY" "KRW" "MYR" "NOK" "PHP" "RUB" "SGD" "VND" "SEK" "CHF" "THB" "GBP" "USD" "TWD" "EUR" "BRL" DEXTREでサポートされている通貨コード。 |
| languageCode required | string Enum: "ja" "en" "zh" "es" "fr" "de" "it" "ko" "ru" "nl" "pt" DEXTREでサポートされている言語コード。 |
| emails required | Array of strings オフラインバイヤーのメールアドレスを指定してください。 |
| phoneNumber | string |
Array of objects | |
Array of objects | |
Array of objects | |
| tagIds | Array of strings 該当顧客バイヤーに紐づけたいタグのIDをご指定ください。 |
{- "code": "string",
- "customerCode": "string",
- "localizedNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "customDisplayName": "string",
- "countryCode": "string",
- "transactionTermRate": {
- "transactionTermCode": "exw",
- "rateApplicationMethod": "discount",
- "rate": 1
}, - "currencyCode": "AUD",
- "languageCode": "ja",
- "emails": [
- "string"
], - "phoneNumber": "string",
- "billingAddresses": [
- {
- "object": "address",
- "code": "string",
- "name": "string",
- "countryCode": "string",
- "postalCode": "string",
- "state": "string",
- "city": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "email": "string",
- "phoneNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "taxIdentificationNumber": "string"
}
], - "deliveryAddresses": [
- {
- "object": "address",
- "code": "string",
- "name": "string",
- "countryCode": "string",
- "postalCode": "string",
- "state": "string",
- "city": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "email": "string",
- "phoneNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "taxIdentificationNumber": "string"
}
], - "customAttributes": [
- {
- "customAttributeId": "string",
- "value": "string"
}
], - "tagIds": [
- "string"
]
}{- "data": {
- "customerBuyer": {
- "object": "customer_buyer",
- "customerBuyerId": "string",
- "merchantId": "string",
- "brandId": "string",
- "sourceBuyerObjectType": "buyer",
- "businessType": "company",
- "code": "string",
- "customerCode": "string",
- "sourceBuyerLocalizedNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "customDisplayName": "string",
- "countryCode": "string",
- "transactionTermCode": "exw",
- "transactionTermRate": {
- "transactionTermCode": "exw",
- "rateApplicationMethod": "discount",
- "rate": 1
}, - "currencyCode": "AUD",
- "languageCode": "ja",
- "billingAddresses": [
- {
- "object": "address",
- "code": "string",
- "name": "string",
- "countryCode": "string",
- "postalCode": "string",
- "state": "string",
- "city": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "email": "string",
- "phoneNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "taxIdentificationNumber": "string"
}
], - "deliveryAddresses": [
- {
- "object": "address",
- "code": "string",
- "name": "string",
- "countryCode": "string",
- "postalCode": "string",
- "state": "string",
- "city": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "email": "string",
- "phoneNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "taxIdentificationNumber": "string"
}
], - "customAttributes": [
- {
- "customAttributeId": "string",
- "value": "string"
}
], - "tagIds": [
- "string"
], - "status": "active",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "offlineBuyer": {
- "object": "offline_buyer",
- "offlineBuyerId": "string",
- "businessType": "company",
- "merchantId": "string",
- "brandId": "string",
- "localizedNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "countryCode": "string",
- "emails": [
- "string"
], - "phoneNumber": "string",
- "billingAddresses": [
- {
- "object": "address",
- "code": "string",
- "name": "string",
- "countryCode": "string",
- "postalCode": "string",
- "state": "string",
- "city": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "email": "string",
- "phoneNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "taxIdentificationNumber": "string"
}
], - "deliveryAddresses": [
- {
- "object": "address",
- "code": "string",
- "name": "string",
- "countryCode": "string",
- "postalCode": "string",
- "state": "string",
- "city": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "email": "string",
- "phoneNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "taxIdentificationNumber": "string"
}
], - "primaryLanguageCode": "string",
- "status": "active",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}
}| brandId required | string |
| offlineBuyerId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
{- "data": {
- "offlineBuyer": {
- "object": "offline_buyer",
- "offlineBuyerId": "string",
- "businessType": "company",
- "merchantId": "string",
- "brandId": "string",
- "localizedNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "countryCode": "string",
- "emails": [
- "string"
], - "phoneNumber": "string",
- "billingAddresses": [
- {
- "object": "address",
- "code": "string",
- "name": "string",
- "countryCode": "string",
- "postalCode": "string",
- "state": "string",
- "city": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "email": "string",
- "phoneNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "taxIdentificationNumber": "string"
}
], - "deliveryAddresses": [
- {
- "object": "address",
- "code": "string",
- "name": "string",
- "countryCode": "string",
- "postalCode": "string",
- "state": "string",
- "city": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "email": "string",
- "phoneNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "taxIdentificationNumber": "string"
}
], - "primaryLanguageCode": "string",
- "status": "active",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}
}CustomAttribute object
カスタム属性情報を表します。
カスタム属性は、製品やSKU、バイヤーなどに対して、カスタムな情報を追加するための機能です。
外部システムのデータとの名寄せや、その他検索条件などに使用します。
| object | string Default: "custom_attribute" |
| customAttributeId | string |
| merchantId | string |
| brandId | string |
| applicableTo | string Enum: "customer_buyer" "product_and_sku" "catalog" カスタム属性の適用対象 |
| visibility | string Default: "public" Enum: "public" "private" "public_on_detail_page_only" カスタム属性の表示設定 |
| name | string カスタム属性の名称 |
| status | string Value: "active" |
| sortKey | integer |
| createdAt | string <date-time> リソースの作成日時。 |
| updatedAt | string <date-time> リソースの更新日時。 |
{- "object": "custom_attribute",
- "customAttributeId": "string",
- "merchantId": "string",
- "brandId": "string",
- "applicableTo": "customer_buyer",
- "visibility": "public",
- "name": "string",
- "status": "active",
- "sortKey": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}| brandId required | string |
| limit | integer [ 1 .. 100 ] Default: 20 |
| cursor | string Cursor to fetch next or previous page (customAttributeId) |
| direction | string Enum: "next" "previous" |
| customAttributeIds | string Comma separated ids |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
{- "pagination": {
- "nextCursor": "string",
- "previousCursor": "string"
}, - "data": {
- "customAttributes": [
- {
- "object": "custom_attribute",
- "customAttributeId": "string",
- "merchantId": "string",
- "brandId": "string",
- "applicableTo": "customer_buyer",
- "visibility": "public",
- "name": "string",
- "status": "active",
- "sortKey": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]
}
}| brandId required | string |
| customAttributeId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
{- "data": {
- "customAttribute": {
- "object": "custom_attribute",
- "customAttributeId": "string",
- "merchantId": "string",
- "brandId": "string",
- "applicableTo": "customer_buyer",
- "visibility": "public",
- "name": "string",
- "status": "active",
- "sortKey": 0,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}
}Tag object
タグ情報を表します。
| object | string Value: "tag" オブジェクトタイプ |
| tagId | string タグID |
| code | string タグコード |
| merchantId | string マーチャントID |
| brandId | string ブランドID |
| applicableEntityType | string Enum: "customer_buyer" "order" "product" "catalog" "delivery_note" "goods_return_note" "invoice" "credit_note" "payment_confirmation" タグが適用可能なエンティティタイプ |
| displayName | string プライマリ表示名 |
Array of objects 多言語表示名 | |
| description | string タグの説明・用途 |
| colorCode | string or null UIでの表示色 (e.g., "#FF0000") |
| status | string Enum: "active" "archived" タグの状態 |
| visibleToBuyer | boolean Buyerに表示するか |
| systemProtected | boolean システムにより作成された保護されたタグであることを示す(削除不可) |
| createdAt | string <date-time> 作成日時 |
| updatedAt | string <date-time> 更新日時 |
{- "object": "tag",
- "tagId": "string",
- "code": "string",
- "merchantId": "string",
- "brandId": "string",
- "applicableEntityType": "customer_buyer",
- "displayName": "string",
- "localizedDisplayNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "description": "string",
- "colorCode": "string",
- "status": "active",
- "visibleToBuyer": true,
- "systemProtected": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}| brandId required | string |
| limit | integer [ 1 .. 100 ] Default: 20 |
| cursor | string Cursor to fetch next or previous page (tagId) |
| direction | string Enum: "next" "previous" |
| tagIds | string Comma separated ids |
| applicableEntityType | string Enum: "customer_buyer" "order" "product" "catalog" "delivery_note" "goods_return_note" "invoice" "credit_note" "payment_confirmation" タグが適用可能なエンティティタイプでの絞り込み |
| createdAtFrom | string <date-time> 作成日時での絞り込みを行う場合は、開始日時をISO 8601 format (eg. 2021-01-15T00:00:00Z)で指定してください。 |
| createdAtTo | string <date-time> 作成日時での絞り込みを行う場合は、終了日時をISO 8601 format (eg. 2021-01-15T00:00:00Z)で指定してください。 |
| updatedAtFrom | string <date-time> 更新日時での絞り込みを行う場合は、開始日時をISO 8601 format (eg. 2021-01-15T00:00:00Z)で指定してください。 |
| updatedAtTo | string <date-time> 更新日時での絞り込みを行う場合は、終了日時をISO 8601 format (eg. 2021-01-15T00:00:00Z)で指定してください。 |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
{- "pagination": {
- "nextCursor": "string",
- "previousCursor": "string"
}, - "data": {
- "tags": [
- {
- "object": "tag",
- "tagId": "string",
- "code": "string",
- "merchantId": "string",
- "brandId": "string",
- "applicableEntityType": "customer_buyer",
- "displayName": "string",
- "localizedDisplayNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "description": "string",
- "colorCode": "string",
- "status": "active",
- "visibleToBuyer": true,
- "systemProtected": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]
}
}| brandId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
| Content-Type required | string Default: application/json |
| code required | string タグコードはブランド内で一意である必要があります。 |
| applicableEntityType required | string Enum: "customer_buyer" "order" "product" "catalog" "delivery_note" "goods_return_note" "invoice" "credit_note" "payment_confirmation" タグが適用可能なエンティティタイプ |
| name required | string タグのプライマリ表示名 |
| description | string タグの説明・用途 |
| colorCode | string UIでの表示色 (e.g., "#FF0000") |
{- "code": "string",
- "applicableEntityType": "customer_buyer",
- "name": "string",
- "description": "string",
- "colorCode": "string"
}{- "data": {
- "tag": {
- "object": "tag",
- "tagId": "string",
- "code": "string",
- "merchantId": "string",
- "brandId": "string",
- "applicableEntityType": "customer_buyer",
- "displayName": "string",
- "localizedDisplayNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "description": "string",
- "colorCode": "string",
- "status": "active",
- "visibleToBuyer": true,
- "systemProtected": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}
}| brandId required | string |
| tagId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
{- "data": {
- "tag": {
- "object": "tag",
- "tagId": "string",
- "code": "string",
- "merchantId": "string",
- "brandId": "string",
- "applicableEntityType": "customer_buyer",
- "displayName": "string",
- "localizedDisplayNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "description": "string",
- "colorCode": "string",
- "status": "active",
- "visibleToBuyer": true,
- "systemProtected": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}
}| brandId required | string |
| tagId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
| Content-Type required | string Default: application/json |
| code | string |
| name | string |
| description | string |
| colorCode | string |
{- "code": "string",
- "name": "string",
- "description": "string",
- "colorCode": "string"
}{- "data": {
- "tag": {
- "object": "tag",
- "tagId": "string",
- "code": "string",
- "merchantId": "string",
- "brandId": "string",
- "applicableEntityType": "customer_buyer",
- "displayName": "string",
- "localizedDisplayNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "description": "string",
- "colorCode": "string",
- "status": "active",
- "visibleToBuyer": true,
- "systemProtected": true,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}
}| brandId required | string |
| tagId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
| Content-Type required | string Default: application/json |
{- "data": { }
}Order object
注文情報を表します。
注文は「元の受注データ」と「注文内容確認書データ」とそれぞれ一対一の関係になります。
| object | string Default: "order" |
| orderId | string |
| code | string |
| merchantId | string |
| brandId | string |
| customerBuyerId | string 顧客バイヤーのID |
object | |
object or null 請求先住所情報 | |
object or null 納品先住所情報 | |
| transactionTermCodes | Array of strings Items Enum: "exw" "fca" "cpt" "cip" "dap" "dpu" "ddp" "fas" "fob" "cfr" "cif" "kakeritsu_transaction" "wholesale_transaction" |
Array of objects or objects | |
| currencyCode | string Enum: "AUD" "CAD" "CNY" "DKK" "HKD" "INR" "IDR" "JPY" "KRW" "MYR" "NOK" "PHP" "RUB" "SGD" "VND" "SEK" "CHF" "THB" "GBP" "USD" "TWD" "EUR" "BRL" DEXTREでサポートされている通貨コード。 |
| catalogId | string |
object 元の受注の金額サマリーを表します。 | |
object or null 注文内容確認書の金額サマリーを表します。 | |
| brandComment | string ブランド側からのコメント |
| buyerComment | string バイヤー側からのコメント |
| internalNote | string 社内メモ |
Array of objects | |
| status | string Enum: "order_confirmation_required" "order_confirmation_created" "order_confirmation_approved_by_buyer" "order_confirmation_confirmed" "order_confirmation_rejected_by_buyer" "order_canceled_by_brand" "order_canceled_by_buyer" "order_voided_and_items_returned_to_cart" 注文のステータス |
| inventoryStatus | string or null Enum: "made_to_order" "allocated" "partially_backordered" "backordered" 在庫割り当てステータス |
| createdAt | string <date-time> リソースの作成日時。 |
| updatedAt | string <date-time> リソースの更新日時。 |
{- "object": "order",
- "orderId": "string",
- "code": "string",
- "merchantId": "string",
- "brandId": "string",
- "customerBuyerId": "string",
- "customerBuyer": {
- "code": "string",
- "customerCode": "string"
}, - "buyerBillingAddress": {
- "object": "address",
- "code": "string",
- "name": "string",
- "countryCode": "string",
- "postalCode": "string",
- "state": "string",
- "city": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "email": "string",
- "phoneNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "taxIdentificationNumber": "string"
}, - "buyerDeliveryAddress": {
- "object": "address",
- "code": "string",
- "name": "string",
- "countryCode": "string",
- "postalCode": "string",
- "state": "string",
- "city": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "email": "string",
- "phoneNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "taxIdentificationNumber": "string"
}, - "transactionTermCodes": [
- "exw"
], - "transactionTermRates": [
- {
- "transactionTermCode": "exw",
- "rateApplicationMethod": "discount",
- "rate": 1
}
], - "currencyCode": "AUD",
- "catalogId": "string",
- "originalOrderSummary": {
- "itemsSubtotalAmount": 0,
- "shippingFeesSubtotalAmount": 0,
- "otherChargesSubtotalAmount": 0,
- "orderSubtotalAmount": 0,
- "orderTaxAmount": 0,
- "orderTotalAmount": 0
}, - "orderConfirmationSummary": {
- "itemsSubtotalAmount": 0,
- "shippingFeesSubtotalAmount": 0,
- "otherChargesSubtotalAmount": 0,
- "orderSubtotalAmount": 0,
- "orderTaxAmount": 0,
- "orderTotalAmount": 0
}, - "brandComment": "string",
- "buyerComment": "string",
- "internalNote": "string",
- "tags": [
- {
- "tagId": "string",
- "code": "string",
- "name": "string",
- "description": "string"
}
], - "status": "order_confirmation_required",
- "inventoryStatus": "made_to_order",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}| brandId required | string |
| limit | integer [ 1 .. 100 ] Default: 20 |
| cursor | string Cursor to fetch next or previous page (orderId) |
| direction | string Enum: "next" "previous" |
| orderIds | string Comma separated ids |
| catalogIds | string Comma separated ids |
| customerBuyerIds | string Comma separated ids |
| status | string Enum: "order_confirmation_required" "order_confirmation_created" "order_confirmation_approved_by_buyer" "order_confirmation_confirmed" "order_confirmation_rejected_by_buyer" "order_canceled_by_brand" "order_canceled_by_buyer" "order_voided_and_items_returned_to_cart" 注文のステータス |
| includeArchived | boolean Default: false アーカイブされた注文を含めるかどうかを指定します。 |
| createdAtFrom | string <date-time> 作成日時での絞り込みを行う場合は、開始日時をISO 8601 format (eg. 2021-01-15T00:00:00Z)で指定してください。 |
| createdAtTo | string <date-time> 作成日時での絞り込みを行う場合は、終了日時をISO 8601 format (eg. 2021-01-15T00:00:00Z)で指定してください。 |
| updatedAtFrom | string <date-time> 更新日時での絞り込みを行う場合は、開始日時をISO 8601 format (eg. 2021-01-15T00:00:00Z)で指定してください。 |
| updatedAtTo | string <date-time> 更新日時での絞り込みを行う場合は、終了日時をISO 8601 format (eg. 2021-01-15T00:00:00Z)で指定してください。 |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
{- "pagination": {
- "nextCursor": "string",
- "previousCursor": "string"
}, - "data": {
- "orders": [
- {
- "object": "order",
- "orderId": "string",
- "code": "string",
- "merchantId": "string",
- "brandId": "string",
- "customerBuyerId": "string",
- "customerBuyer": {
- "code": "string",
- "customerCode": "string"
}, - "buyerBillingAddress": {
- "object": "address",
- "code": "string",
- "name": "string",
- "countryCode": "string",
- "postalCode": "string",
- "state": "string",
- "city": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "email": "string",
- "phoneNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "taxIdentificationNumber": "string"
}, - "buyerDeliveryAddress": {
- "object": "address",
- "code": "string",
- "name": "string",
- "countryCode": "string",
- "postalCode": "string",
- "state": "string",
- "city": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "email": "string",
- "phoneNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "taxIdentificationNumber": "string"
}, - "transactionTermCodes": [
- "exw"
], - "transactionTermRates": [
- {
- "transactionTermCode": "exw",
- "rateApplicationMethod": "discount",
- "rate": 1
}
], - "currencyCode": "AUD",
- "catalogId": "string",
- "originalOrderSummary": {
- "itemsSubtotalAmount": 0,
- "shippingFeesSubtotalAmount": 0,
- "otherChargesSubtotalAmount": 0,
- "orderSubtotalAmount": 0,
- "orderTaxAmount": 0,
- "orderTotalAmount": 0
}, - "orderConfirmationSummary": {
- "itemsSubtotalAmount": 0,
- "shippingFeesSubtotalAmount": 0,
- "otherChargesSubtotalAmount": 0,
- "orderSubtotalAmount": 0,
- "orderTaxAmount": 0,
- "orderTotalAmount": 0
}, - "brandComment": "string",
- "buyerComment": "string",
- "internalNote": "string",
- "tags": [
- {
- "tagId": "string",
- "code": "string",
- "name": "string",
- "description": "string"
}
], - "status": "order_confirmation_required",
- "inventoryStatus": "made_to_order",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]
}
}| brandId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
| Content-Type required | string Default: application/json |
| code | string 注文コードは、ブランド内で一意である必要があります。 このフィールドは省略可能です。省略した場合は、自動的に生成されます。 |
| customerBuyerId required | string |
| catalogId required | string |
| currencyCode required | string Enum: "AUD" "CAD" "CNY" "DKK" "HKD" "INR" "IDR" "JPY" "KRW" "MYR" "NOK" "PHP" "RUB" "SGD" "VND" "SEK" "CHF" "THB" "GBP" "USD" "TWD" "EUR" "BRL" DEXTREでサポートされている通貨コード。 |
object or null | |
object or null | |
required | Array of objects |
| tagIds | Array of strings 注文に関連付けるタグのIDを指定します。 |
| tagCodes | Array of strings 注文に関連付けるタグのコードを指定します。 |
{- "code": "string",
- "customerBuyerId": "string",
- "catalogId": "string",
- "currencyCode": "AUD",
- "buyerBillingAddress": {
- "object": "address",
- "code": "string",
- "name": "string",
- "countryCode": "string",
- "postalCode": "string",
- "state": "string",
- "city": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "email": "string",
- "phoneNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "taxIdentificationNumber": "string"
}, - "buyerDeliveryAddress": {
- "object": "address",
- "code": "string",
- "name": "string",
- "countryCode": "string",
- "postalCode": "string",
- "state": "string",
- "city": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "email": "string",
- "phoneNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "taxIdentificationNumber": "string"
}, - "items": [
- {
- "productId": "string",
- "transactionTermCode": "exw",
- "transactionTermRate": {
- "transactionTermCode": "exw",
- "rateApplicationMethod": "discount",
- "rate": 1
}, - "priceType": "manual_price",
- "skuItems": [
- {
- "skuId": "string",
- "appliedSkuOptions": [
- {
- "skuOptionId": "string",
- "appliedVariants": [
- {
- "skuOptionVariantId": "string",
- "originalPrice": 0,
- "price": 0
}
]
}
], - "originalSkuPrice": 0,
- "skuPrice": 0,
- "originalSkuOptionTotalPrice": 0,
- "skuOptionTotalPrice": 0,
- "quantity": 0
}
]
}
], - "tagIds": [
- "string"
], - "tagCodes": [
- "string"
]
}{- "data": {
- "order": {
- "object": "order",
- "orderId": "string",
- "code": "string",
- "merchantId": "string",
- "brandId": "string",
- "customerBuyerId": "string",
- "customerBuyer": {
- "code": "string",
- "customerCode": "string"
}, - "buyerBillingAddress": {
- "object": "address",
- "code": "string",
- "name": "string",
- "countryCode": "string",
- "postalCode": "string",
- "state": "string",
- "city": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "email": "string",
- "phoneNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "taxIdentificationNumber": "string"
}, - "buyerDeliveryAddress": {
- "object": "address",
- "code": "string",
- "name": "string",
- "countryCode": "string",
- "postalCode": "string",
- "state": "string",
- "city": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "email": "string",
- "phoneNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "taxIdentificationNumber": "string"
}, - "transactionTermCodes": [
- "exw"
], - "transactionTermRates": [
- {
- "transactionTermCode": "exw",
- "rateApplicationMethod": "discount",
- "rate": 1
}
], - "currencyCode": "AUD",
- "catalogId": "string",
- "originalOrderSummary": {
- "itemsSubtotalAmount": 0,
- "shippingFeesSubtotalAmount": 0,
- "otherChargesSubtotalAmount": 0,
- "orderSubtotalAmount": 0,
- "orderTaxAmount": 0,
- "orderTotalAmount": 0
}, - "orderConfirmationSummary": {
- "itemsSubtotalAmount": 0,
- "shippingFeesSubtotalAmount": 0,
- "otherChargesSubtotalAmount": 0,
- "orderSubtotalAmount": 0,
- "orderTaxAmount": 0,
- "orderTotalAmount": 0
}, - "brandComment": "string",
- "buyerComment": "string",
- "internalNote": "string",
- "tags": [
- {
- "tagId": "string",
- "code": "string",
- "name": "string",
- "description": "string"
}
], - "status": "order_confirmation_required",
- "inventoryStatus": "made_to_order",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}
}| brandId required | string |
| orderId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
{- "data": {
- "order": {
- "object": "order",
- "orderId": "string",
- "code": "string",
- "merchantId": "string",
- "brandId": "string",
- "customerBuyerId": "string",
- "customerBuyer": {
- "code": "string",
- "customerCode": "string"
}, - "buyerBillingAddress": {
- "object": "address",
- "code": "string",
- "name": "string",
- "countryCode": "string",
- "postalCode": "string",
- "state": "string",
- "city": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "email": "string",
- "phoneNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "taxIdentificationNumber": "string"
}, - "buyerDeliveryAddress": {
- "object": "address",
- "code": "string",
- "name": "string",
- "countryCode": "string",
- "postalCode": "string",
- "state": "string",
- "city": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "email": "string",
- "phoneNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "taxIdentificationNumber": "string"
}, - "transactionTermCodes": [
- "exw"
], - "transactionTermRates": [
- {
- "transactionTermCode": "exw",
- "rateApplicationMethod": "discount",
- "rate": 1
}
], - "currencyCode": "AUD",
- "catalogId": "string",
- "originalOrderSummary": {
- "itemsSubtotalAmount": 0,
- "shippingFeesSubtotalAmount": 0,
- "otherChargesSubtotalAmount": 0,
- "orderSubtotalAmount": 0,
- "orderTaxAmount": 0,
- "orderTotalAmount": 0
}, - "orderConfirmationSummary": {
- "itemsSubtotalAmount": 0,
- "shippingFeesSubtotalAmount": 0,
- "otherChargesSubtotalAmount": 0,
- "orderSubtotalAmount": 0,
- "orderTaxAmount": 0,
- "orderTotalAmount": 0
}, - "brandComment": "string",
- "buyerComment": "string",
- "internalNote": "string",
- "tags": [
- {
- "tagId": "string",
- "code": "string",
- "name": "string",
- "description": "string"
}
], - "status": "order_confirmation_required",
- "inventoryStatus": "made_to_order",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}
}| brandId required | string |
| orderId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
| Content-Type required | string Default: application/json |
| code | string |
object or null | |
object or null | |
| tagIds | Array of strings 注文に関連付けるタグのIDを指定します。 |
| tagCodes | Array of strings 注文に関連付けるタグのコードを指定します。 |
{- "code": "string",
- "buyerBillingAddress": {
- "object": "address",
- "code": "string",
- "name": "string",
- "countryCode": "string",
- "postalCode": "string",
- "state": "string",
- "city": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "email": "string",
- "phoneNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "taxIdentificationNumber": "string"
}, - "buyerDeliveryAddress": {
- "object": "address",
- "code": "string",
- "name": "string",
- "countryCode": "string",
- "postalCode": "string",
- "state": "string",
- "city": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "email": "string",
- "phoneNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "taxIdentificationNumber": "string"
}, - "tagIds": [
- "string"
], - "tagCodes": [
- "string"
]
}{- "data": {
- "order": {
- "object": "order",
- "orderId": "string",
- "code": "string",
- "merchantId": "string",
- "brandId": "string",
- "customerBuyerId": "string",
- "customerBuyer": {
- "code": "string",
- "customerCode": "string"
}, - "buyerBillingAddress": {
- "object": "address",
- "code": "string",
- "name": "string",
- "countryCode": "string",
- "postalCode": "string",
- "state": "string",
- "city": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "email": "string",
- "phoneNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "taxIdentificationNumber": "string"
}, - "buyerDeliveryAddress": {
- "object": "address",
- "code": "string",
- "name": "string",
- "countryCode": "string",
- "postalCode": "string",
- "state": "string",
- "city": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "email": "string",
- "phoneNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "taxIdentificationNumber": "string"
}, - "transactionTermCodes": [
- "exw"
], - "transactionTermRates": [
- {
- "transactionTermCode": "exw",
- "rateApplicationMethod": "discount",
- "rate": 1
}
], - "currencyCode": "AUD",
- "catalogId": "string",
- "originalOrderSummary": {
- "itemsSubtotalAmount": 0,
- "shippingFeesSubtotalAmount": 0,
- "otherChargesSubtotalAmount": 0,
- "orderSubtotalAmount": 0,
- "orderTaxAmount": 0,
- "orderTotalAmount": 0
}, - "orderConfirmationSummary": {
- "itemsSubtotalAmount": 0,
- "shippingFeesSubtotalAmount": 0,
- "otherChargesSubtotalAmount": 0,
- "orderSubtotalAmount": 0,
- "orderTaxAmount": 0,
- "orderTotalAmount": 0
}, - "brandComment": "string",
- "buyerComment": "string",
- "internalNote": "string",
- "tags": [
- {
- "tagId": "string",
- "code": "string",
- "name": "string",
- "description": "string"
}
], - "status": "order_confirmation_required",
- "inventoryStatus": "made_to_order",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}
}| brandId required | string |
| orderId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
| Content-Type required | string Default: application/json |
| tagIds | Array of strings 注文に関連付けるタグのIDを指定します。 |
| tagCodes | Array of strings 注文に関連付けるタグのコードを指定します。 |
{- "tagIds": [
- "string"
], - "tagCodes": [
- "string"
]
}{- "data": { }
}| brandId required | string |
| orderId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
| Content-Type required | string Default: application/json |
{- "data": { }
}OriginalOrder object
バイヤーが発注した通りのオリジナルの受注データを表します。
| object | string Default: "original_order" |
| orderId | string |
| merchantId | string |
| brandId | string |
| customerBuyerId | string 顧客バイヤーのID |
object | |
| catalogId | string |
| transactionTermCodes | Array of strings Items Enum: "exw" "fca" "cpt" "cip" "dap" "dpu" "ddp" "fas" "fob" "cfr" "cif" "kakeritsu_transaction" "wholesale_transaction" |
Array of objects or objects | |
| currencyCode | string Enum: "AUD" "CAD" "CNY" "DKK" "HKD" "INR" "IDR" "JPY" "KRW" "MYR" "NOK" "PHP" "RUB" "SGD" "VND" "SEK" "CHF" "THB" "GBP" "USD" "TWD" "EUR" "BRL" DEXTREでサポートされている通貨コード。 |
object | |
Array of objects | |
Array of objects 在庫割り当て情報です。 | |
| status | string Enum: "pending" "finalized" "canceled" "voided" |
| createdAt | string <date-time> リソースの作成日時。 |
| updatedAt | string <date-time> リソースの更新日時。 |
{- "object": "original_order",
- "orderId": "string",
- "merchantId": "string",
- "brandId": "string",
- "customerBuyerId": "string",
- "customerBuyer": {
- "code": "string",
- "customerCode": "string"
}, - "catalogId": "string",
- "transactionTermCodes": [
- "exw"
], - "transactionTermRates": [
- {
- "transactionTermCode": "exw",
- "rateApplicationMethod": "discount",
- "rate": 1
}
], - "currencyCode": "AUD",
- "summary": {
- "itemsSubtotalAmount": 0,
- "shippingFeesSubtotalAmount": 0,
- "otherChargesSubtotalAmount": 0,
- "orderSubtotalAmount": 0,
- "orderTaxAmount": 0,
- "orderTotalAmount": 0
}, - "items": [
- {
- "object": "order_product_item",
- "productId": "string",
- "modelNumber": "string",
- "localizedNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "subtotalAmount": 0,
- "estimatedTaxAmount": 0,
- "estimatedTotalAmount": 0,
- "totalSkuItemsQuantity": 0,
- "transactionTermCode": "exw",
- "transactionTermRate": {
- "transactionTermCode": "exw",
- "rateApplicationMethod": "discount",
- "rate": 1
}, - "priceType": "manual_price",
- "skuItems": [
- {
- "object": "order_product_sku_item",
- "skuItemId": "string",
- "skuId": "string",
- "skuNumber": "string",
- "appliedSkuOptions": [
- {
- "skuOptionId": "string",
- "appliedVariants": [
- {
- "skuOptionVariantId": "string",
- "originalPrice": 0,
- "price": 0
}
]
}
], - "originalSkuPrice": 0,
- "skuPrice": 0,
- "originalSkuOptionTotalPrice": 0,
- "skuOptionTotalPrice": 0,
- "totalItemPriceBeforeTax": 0,
- "taxes": [
- {
- "taxId": "string",
- "rate": 0,
- "amount": 0
}
], - "estimatedTaxInclusiveTotalItemPrice": 0,
- "quantity": 0,
- "subtotalAmount": 0,
- "estimatedTaxAmount": 0,
- "estimatedTotalAmount": 0
}
], - "buyerComment": "string"
}
], - "inventoryAllocations": [
- {
- "productId": "string",
- "skuId": "string",
- "status": "made_to_order",
- "quantity": 0,
- "sourceInventoryItemId": "string"
}
], - "status": "pending",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}| brandId required | string |
| limit | integer [ 1 .. 100 ] Default: 20 |
| cursor | string Cursor to fetch next or previous page (orderId) |
| direction | string Enum: "next" "previous" |
| orderIds | string Comma separated ids |
| catalogIds | string Comma separated ids |
| customerBuyerIds | string Comma separated ids |
| status | string Enum: "pending" "finalized" "canceled" "voided" |
| createdAtFrom | string <date-time> 作成日時での絞り込みを行う場合は、開始日時をISO 8601 format (eg. 2021-01-15T00:00:00Z)で指定してください。 |
| createdAtTo | string <date-time> 作成日時での絞り込みを行う場合は、終了日時をISO 8601 format (eg. 2021-01-15T00:00:00Z)で指定してください。 |
| updatedAtFrom | string <date-time> 更新日時での絞り込みを行う場合は、開始日時をISO 8601 format (eg. 2021-01-15T00:00:00Z)で指定してください。 |
| updatedAtTo | string <date-time> 更新日時での絞り込みを行う場合は、終了日時をISO 8601 format (eg. 2021-01-15T00:00:00Z)で指定してください。 |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
{- "pagination": {
- "nextCursor": "string",
- "previousCursor": "string"
}, - "data": {
- "originalOrders": [
- {
- "object": "original_order",
- "orderId": "string",
- "merchantId": "string",
- "brandId": "string",
- "customerBuyerId": "string",
- "customerBuyer": {
- "code": "string",
- "customerCode": "string"
}, - "catalogId": "string",
- "transactionTermCodes": [
- "exw"
], - "transactionTermRates": [
- {
- "transactionTermCode": "exw",
- "rateApplicationMethod": "discount",
- "rate": 1
}
], - "currencyCode": "AUD",
- "summary": {
- "itemsSubtotalAmount": 0,
- "shippingFeesSubtotalAmount": 0,
- "otherChargesSubtotalAmount": 0,
- "orderSubtotalAmount": 0,
- "orderTaxAmount": 0,
- "orderTotalAmount": 0
}, - "items": [
- {
- "object": "order_product_item",
- "productId": "string",
- "modelNumber": "string",
- "localizedNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "subtotalAmount": 0,
- "estimatedTaxAmount": 0,
- "estimatedTotalAmount": 0,
- "totalSkuItemsQuantity": 0,
- "transactionTermCode": "exw",
- "transactionTermRate": {
- "transactionTermCode": "exw",
- "rateApplicationMethod": "discount",
- "rate": 1
}, - "priceType": "manual_price",
- "skuItems": [
- {
- "object": "order_product_sku_item",
- "skuItemId": "string",
- "skuId": "string",
- "skuNumber": "string",
- "appliedSkuOptions": [
- {
- "skuOptionId": null,
- "appliedVariants": [ ]
}
], - "originalSkuPrice": 0,
- "skuPrice": 0,
- "originalSkuOptionTotalPrice": 0,
- "skuOptionTotalPrice": 0,
- "totalItemPriceBeforeTax": 0,
- "taxes": [
- {
- "taxId": null,
- "rate": null,
- "amount": null
}
], - "estimatedTaxInclusiveTotalItemPrice": 0,
- "quantity": 0,
- "subtotalAmount": 0,
- "estimatedTaxAmount": 0,
- "estimatedTotalAmount": 0
}
], - "buyerComment": "string"
}
], - "inventoryAllocations": [
- {
- "productId": "string",
- "skuId": "string",
- "status": "made_to_order",
- "quantity": 0,
- "sourceInventoryItemId": "string"
}
], - "status": "pending",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]
}
}| brandId required | string |
| orderId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
{- "data": {
- "originalOrder": {
- "object": "original_order",
- "orderId": "string",
- "merchantId": "string",
- "brandId": "string",
- "customerBuyerId": "string",
- "customerBuyer": {
- "code": "string",
- "customerCode": "string"
}, - "catalogId": "string",
- "transactionTermCodes": [
- "exw"
], - "transactionTermRates": [
- {
- "transactionTermCode": "exw",
- "rateApplicationMethod": "discount",
- "rate": 1
}
], - "currencyCode": "AUD",
- "summary": {
- "itemsSubtotalAmount": 0,
- "shippingFeesSubtotalAmount": 0,
- "otherChargesSubtotalAmount": 0,
- "orderSubtotalAmount": 0,
- "orderTaxAmount": 0,
- "orderTotalAmount": 0
}, - "items": [
- {
- "object": "order_product_item",
- "productId": "string",
- "modelNumber": "string",
- "localizedNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "subtotalAmount": 0,
- "estimatedTaxAmount": 0,
- "estimatedTotalAmount": 0,
- "totalSkuItemsQuantity": 0,
- "transactionTermCode": "exw",
- "transactionTermRate": {
- "transactionTermCode": "exw",
- "rateApplicationMethod": "discount",
- "rate": 1
}, - "priceType": "manual_price",
- "skuItems": [
- {
- "object": "order_product_sku_item",
- "skuItemId": "string",
- "skuId": "string",
- "skuNumber": "string",
- "appliedSkuOptions": [
- {
- "skuOptionId": "string",
- "appliedVariants": [
- { }
]
}
], - "originalSkuPrice": 0,
- "skuPrice": 0,
- "originalSkuOptionTotalPrice": 0,
- "skuOptionTotalPrice": 0,
- "totalItemPriceBeforeTax": 0,
- "taxes": [
- {
- "taxId": "string",
- "rate": 0,
- "amount": 0
}
], - "estimatedTaxInclusiveTotalItemPrice": 0,
- "quantity": 0,
- "subtotalAmount": 0,
- "estimatedTaxAmount": 0,
- "estimatedTotalAmount": 0
}
], - "buyerComment": "string"
}
], - "inventoryAllocations": [
- {
- "productId": "string",
- "skuId": "string",
- "status": "made_to_order",
- "quantity": 0,
- "sourceInventoryItemId": "string"
}
], - "status": "pending",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}
}OrderConfirmation object
注文内容確認書データを表します。
| object | string Default: "order_confirmation" |
| orderId | string |
| merchantId | string |
| brandId | string |
| customerBuyerId | string 顧客バイヤーのID |
object | |
| catalogId | string |
| transactionTermCodes | Array of strings Items Enum: "exw" "fca" "cpt" "cip" "dap" "dpu" "ddp" "fas" "fob" "cfr" "cif" "kakeritsu_transaction" "wholesale_transaction" |
Array of objects or objects | |
| currencyCode | string Enum: "AUD" "CAD" "CNY" "DKK" "HKD" "INR" "IDR" "JPY" "KRW" "MYR" "NOK" "PHP" "RUB" "SGD" "VND" "SEK" "CHF" "THB" "GBP" "USD" "TWD" "EUR" "BRL" DEXTREでサポートされている通貨コード。 |
object | |
Array of objects | |
Array of objects 在庫割り当て情報です。 | |
| status | string Enum: "pending" "approved" "confirmed" "rejected" "canceled" "voided" 注文内容確認書のステータス |
| createdAt | string <date-time> リソースの作成日時。 |
| updatedAt | string <date-time> リソースの更新日時。 |
{- "object": "order_confirmation",
- "orderId": "string",
- "merchantId": "string",
- "brandId": "string",
- "customerBuyerId": "string",
- "customerBuyer": {
- "code": "string",
- "customerCode": "string"
}, - "catalogId": "string",
- "transactionTermCodes": [
- "exw"
], - "transactionTermRates": [
- {
- "transactionTermCode": "exw",
- "rateApplicationMethod": "discount",
- "rate": 1
}
], - "currencyCode": "AUD",
- "summary": {
- "itemsSubtotalAmount": 0,
- "shippingFeesSubtotalAmount": 0,
- "otherChargesSubtotalAmount": 0,
- "orderSubtotalAmount": 0,
- "orderTaxAmount": 0,
- "orderTotalAmount": 0
}, - "items": [
- {
- "object": "order_product_item",
- "productId": "string",
- "modelNumber": "string",
- "localizedNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "subtotalAmount": 0,
- "estimatedTaxAmount": 0,
- "estimatedTotalAmount": 0,
- "totalSkuItemsQuantity": 0,
- "transactionTermCode": "exw",
- "transactionTermRate": {
- "transactionTermCode": "exw",
- "rateApplicationMethod": "discount",
- "rate": 1
}, - "priceType": "manual_price",
- "skuItems": [
- {
- "object": "order_product_sku_item",
- "skuItemId": "string",
- "skuId": "string",
- "skuNumber": "string",
- "appliedSkuOptions": [
- {
- "skuOptionId": "string",
- "appliedVariants": [
- {
- "skuOptionVariantId": "string",
- "originalPrice": 0,
- "price": 0
}
]
}
], - "originalSkuPrice": 0,
- "skuPrice": 0,
- "originalSkuOptionTotalPrice": 0,
- "skuOptionTotalPrice": 0,
- "totalItemPriceBeforeTax": 0,
- "taxes": [
- {
- "taxId": "string",
- "rate": 0,
- "amount": 0
}
], - "estimatedTaxInclusiveTotalItemPrice": 0,
- "quantity": 0,
- "subtotalAmount": 0,
- "estimatedTaxAmount": 0,
- "estimatedTotalAmount": 0
}
], - "buyerComment": "string"
}
], - "inventoryAllocations": [
- {
- "productId": "string",
- "skuId": "string",
- "status": "made_to_order",
- "quantity": 0,
- "sourceInventoryItemId": "string"
}
], - "status": "pending",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}| brandId required | string |
| limit | integer [ 1 .. 100 ] Default: 20 |
| cursor | string Cursor to fetch next or previous page (orderId) |
| direction | string Enum: "next" "previous" |
| orderIds | string Comma separated ids |
| catalogIds | string Comma separated ids |
| customerBuyerIds | string Comma separated ids |
| status | string Enum: "pending" "approved" "confirmed" "rejected" "canceled" "voided" 注文内容確認書のステータス |
| createdAtFrom | string <date-time> 作成日時での絞り込みを行う場合は、開始日時をISO 8601 format (eg. 2021-01-15T00:00:00Z)で指定してください。 |
| createdAtTo | string <date-time> 作成日時での絞り込みを行う場合は、終了日時をISO 8601 format (eg. 2021-01-15T00:00:00Z)で指定してください。 |
| updatedAtFrom | string <date-time> 更新日時での絞り込みを行う場合は、開始日時をISO 8601 format (eg. 2021-01-15T00:00:00Z)で指定してください。 |
| updatedAtTo | string <date-time> 更新日時での絞り込みを行う場合は、終了日時をISO 8601 format (eg. 2021-01-15T00:00:00Z)で指定してください。 |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
{- "pagination": {
- "nextCursor": "string",
- "previousCursor": "string"
}, - "data": {
- "orderConfirmations": [
- {
- "object": "order_confirmation",
- "orderId": "string",
- "merchantId": "string",
- "brandId": "string",
- "customerBuyerId": "string",
- "customerBuyer": {
- "code": "string",
- "customerCode": "string"
}, - "catalogId": "string",
- "transactionTermCodes": [
- "exw"
], - "transactionTermRates": [
- {
- "transactionTermCode": "exw",
- "rateApplicationMethod": "discount",
- "rate": 1
}
], - "currencyCode": "AUD",
- "summary": {
- "itemsSubtotalAmount": 0,
- "shippingFeesSubtotalAmount": 0,
- "otherChargesSubtotalAmount": 0,
- "orderSubtotalAmount": 0,
- "orderTaxAmount": 0,
- "orderTotalAmount": 0
}, - "items": [
- {
- "object": "order_product_item",
- "productId": "string",
- "modelNumber": "string",
- "localizedNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "subtotalAmount": 0,
- "estimatedTaxAmount": 0,
- "estimatedTotalAmount": 0,
- "totalSkuItemsQuantity": 0,
- "transactionTermCode": "exw",
- "transactionTermRate": {
- "transactionTermCode": "exw",
- "rateApplicationMethod": "discount",
- "rate": 1
}, - "priceType": "manual_price",
- "skuItems": [
- {
- "object": "order_product_sku_item",
- "skuItemId": "string",
- "skuId": "string",
- "skuNumber": "string",
- "appliedSkuOptions": [
- {
- "skuOptionId": null,
- "appliedVariants": [ ]
}
], - "originalSkuPrice": 0,
- "skuPrice": 0,
- "originalSkuOptionTotalPrice": 0,
- "skuOptionTotalPrice": 0,
- "totalItemPriceBeforeTax": 0,
- "taxes": [
- {
- "taxId": null,
- "rate": null,
- "amount": null
}
], - "estimatedTaxInclusiveTotalItemPrice": 0,
- "quantity": 0,
- "subtotalAmount": 0,
- "estimatedTaxAmount": 0,
- "estimatedTotalAmount": 0
}
], - "buyerComment": "string"
}
], - "inventoryAllocations": [
- {
- "productId": "string",
- "skuId": "string",
- "status": "made_to_order",
- "quantity": 0,
- "sourceInventoryItemId": "string"
}
], - "status": "pending",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]
}
}| brandId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
| Content-Type required | string Default: application/json |
| orderId required | string 注文内容確認書を作成する注文のIDを指定します。 |
required | Array of objects |
| sendBuyerNotificationEmail | boolean 注文内容確認書を作成する際に、対象バイヤーに通知メールを送信するかどうかを指定します。 |
| tagIds | Array of strings 注文に関連付けるタグのIDを指定します。 |
| tagCodes | Array of strings 注文に関連付けるタグのコードを指定します。 |
{- "orderId": "string",
- "items": [
- {
- "productId": "string",
- "transactionTermCode": "exw",
- "transactionTermRate": {
- "transactionTermCode": "exw",
- "rateApplicationMethod": "discount",
- "rate": 1
}, - "priceType": "manual_price",
- "skuItems": [
- {
- "skuId": "string",
- "appliedSkuOptions": [
- {
- "skuOptionId": "string",
- "appliedVariants": [
- {
- "skuOptionVariantId": "string",
- "originalPrice": 0,
- "price": 0
}
]
}
], - "originalSkuPrice": 0,
- "skuPrice": 0,
- "originalSkuOptionTotalPrice": 0,
- "skuOptionTotalPrice": 0,
- "quantity": 0
}
]
}
], - "sendBuyerNotificationEmail": true,
- "tagIds": [
- "string"
], - "tagCodes": [
- "string"
]
}{- "data": {
- "order": {
- "object": "order",
- "orderId": "string",
- "code": "string",
- "merchantId": "string",
- "brandId": "string",
- "customerBuyerId": "string",
- "customerBuyer": {
- "code": "string",
- "customerCode": "string"
}, - "buyerBillingAddress": {
- "object": "address",
- "code": "string",
- "name": "string",
- "countryCode": "string",
- "postalCode": "string",
- "state": "string",
- "city": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "email": "string",
- "phoneNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "taxIdentificationNumber": "string"
}, - "buyerDeliveryAddress": {
- "object": "address",
- "code": "string",
- "name": "string",
- "countryCode": "string",
- "postalCode": "string",
- "state": "string",
- "city": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "email": "string",
- "phoneNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "taxIdentificationNumber": "string"
}, - "transactionTermCodes": [
- "exw"
], - "transactionTermRates": [
- {
- "transactionTermCode": "exw",
- "rateApplicationMethod": "discount",
- "rate": 1
}
], - "currencyCode": "AUD",
- "catalogId": "string",
- "originalOrderSummary": {
- "itemsSubtotalAmount": 0,
- "shippingFeesSubtotalAmount": 0,
- "otherChargesSubtotalAmount": 0,
- "orderSubtotalAmount": 0,
- "orderTaxAmount": 0,
- "orderTotalAmount": 0
}, - "orderConfirmationSummary": {
- "itemsSubtotalAmount": 0,
- "shippingFeesSubtotalAmount": 0,
- "otherChargesSubtotalAmount": 0,
- "orderSubtotalAmount": 0,
- "orderTaxAmount": 0,
- "orderTotalAmount": 0
}, - "brandComment": "string",
- "buyerComment": "string",
- "internalNote": "string",
- "tags": [
- {
- "tagId": "string",
- "code": "string",
- "name": "string",
- "description": "string"
}
], - "status": "order_confirmation_required",
- "inventoryStatus": "made_to_order",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "orderConfirmation": {
- "object": "order_confirmation",
- "orderId": "string",
- "merchantId": "string",
- "brandId": "string",
- "customerBuyerId": "string",
- "customerBuyer": {
- "code": "string",
- "customerCode": "string"
}, - "catalogId": "string",
- "transactionTermCodes": [
- "exw"
], - "transactionTermRates": [
- {
- "transactionTermCode": "exw",
- "rateApplicationMethod": "discount",
- "rate": 1
}
], - "currencyCode": "AUD",
- "summary": {
- "itemsSubtotalAmount": 0,
- "shippingFeesSubtotalAmount": 0,
- "otherChargesSubtotalAmount": 0,
- "orderSubtotalAmount": 0,
- "orderTaxAmount": 0,
- "orderTotalAmount": 0
}, - "items": [
- {
- "object": "order_product_item",
- "productId": "string",
- "modelNumber": "string",
- "localizedNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "subtotalAmount": 0,
- "estimatedTaxAmount": 0,
- "estimatedTotalAmount": 0,
- "totalSkuItemsQuantity": 0,
- "transactionTermCode": "exw",
- "transactionTermRate": {
- "transactionTermCode": "exw",
- "rateApplicationMethod": "discount",
- "rate": 1
}, - "priceType": "manual_price",
- "skuItems": [
- {
- "object": "order_product_sku_item",
- "skuItemId": "string",
- "skuId": "string",
- "skuNumber": "string",
- "appliedSkuOptions": [
- {
- "skuOptionId": "string",
- "appliedVariants": [
- { }
]
}
], - "originalSkuPrice": 0,
- "skuPrice": 0,
- "originalSkuOptionTotalPrice": 0,
- "skuOptionTotalPrice": 0,
- "totalItemPriceBeforeTax": 0,
- "taxes": [
- {
- "taxId": "string",
- "rate": 0,
- "amount": 0
}
], - "estimatedTaxInclusiveTotalItemPrice": 0,
- "quantity": 0,
- "subtotalAmount": 0,
- "estimatedTaxAmount": 0,
- "estimatedTotalAmount": 0
}
], - "buyerComment": "string"
}
], - "inventoryAllocations": [
- {
- "productId": "string",
- "skuId": "string",
- "status": "made_to_order",
- "quantity": 0,
- "sourceInventoryItemId": "string"
}
], - "status": "pending",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}
}| brandId required | string |
| orderId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
{- "data": {
- "orderConfirmation": {
- "object": "order_confirmation",
- "orderId": "string",
- "merchantId": "string",
- "brandId": "string",
- "customerBuyerId": "string",
- "customerBuyer": {
- "code": "string",
- "customerCode": "string"
}, - "catalogId": "string",
- "transactionTermCodes": [
- "exw"
], - "transactionTermRates": [
- {
- "transactionTermCode": "exw",
- "rateApplicationMethod": "discount",
- "rate": 1
}
], - "currencyCode": "AUD",
- "summary": {
- "itemsSubtotalAmount": 0,
- "shippingFeesSubtotalAmount": 0,
- "otherChargesSubtotalAmount": 0,
- "orderSubtotalAmount": 0,
- "orderTaxAmount": 0,
- "orderTotalAmount": 0
}, - "items": [
- {
- "object": "order_product_item",
- "productId": "string",
- "modelNumber": "string",
- "localizedNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "subtotalAmount": 0,
- "estimatedTaxAmount": 0,
- "estimatedTotalAmount": 0,
- "totalSkuItemsQuantity": 0,
- "transactionTermCode": "exw",
- "transactionTermRate": {
- "transactionTermCode": "exw",
- "rateApplicationMethod": "discount",
- "rate": 1
}, - "priceType": "manual_price",
- "skuItems": [
- {
- "object": "order_product_sku_item",
- "skuItemId": "string",
- "skuId": "string",
- "skuNumber": "string",
- "appliedSkuOptions": [
- {
- "skuOptionId": "string",
- "appliedVariants": [
- { }
]
}
], - "originalSkuPrice": 0,
- "skuPrice": 0,
- "originalSkuOptionTotalPrice": 0,
- "skuOptionTotalPrice": 0,
- "totalItemPriceBeforeTax": 0,
- "taxes": [
- {
- "taxId": "string",
- "rate": 0,
- "amount": 0
}
], - "estimatedTaxInclusiveTotalItemPrice": 0,
- "quantity": 0,
- "subtotalAmount": 0,
- "estimatedTaxAmount": 0,
- "estimatedTotalAmount": 0
}
], - "buyerComment": "string"
}
], - "inventoryAllocations": [
- {
- "productId": "string",
- "skuId": "string",
- "status": "made_to_order",
- "quantity": 0,
- "sourceInventoryItemId": "string"
}
], - "status": "pending",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}
}| brandId required | string |
| orderId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
| Content-Type required | string Default: application/json |
required | Array of objects |
| sendBuyerNotificationEmail | boolean 注文内容確認書を更新する際に、対象バイヤーに通知メールを送信するかどうかを指定します。 |
| tagIds | Array of strings 注文に関連付けるタグのIDを指定します。 |
| tagCodes | Array of strings 注文に関連付けるタグのコードを指定します。 |
{- "items": [
- {
- "productId": "string",
- "transactionTermCode": "exw",
- "transactionTermRate": {
- "transactionTermCode": "exw",
- "rateApplicationMethod": "discount",
- "rate": 1
}, - "priceType": "manual_price",
- "skuItems": [
- {
- "skuId": "string",
- "appliedSkuOptions": [
- {
- "skuOptionId": "string",
- "appliedVariants": [
- {
- "skuOptionVariantId": "string",
- "originalPrice": 0,
- "price": 0
}
]
}
], - "originalSkuPrice": 0,
- "skuPrice": 0,
- "originalSkuOptionTotalPrice": 0,
- "skuOptionTotalPrice": 0,
- "quantity": 0
}
]
}
], - "sendBuyerNotificationEmail": true,
- "tagIds": [
- "string"
], - "tagCodes": [
- "string"
]
}{- "data": {
- "order": {
- "object": "order",
- "orderId": "string",
- "code": "string",
- "merchantId": "string",
- "brandId": "string",
- "customerBuyerId": "string",
- "customerBuyer": {
- "code": "string",
- "customerCode": "string"
}, - "buyerBillingAddress": {
- "object": "address",
- "code": "string",
- "name": "string",
- "countryCode": "string",
- "postalCode": "string",
- "state": "string",
- "city": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "email": "string",
- "phoneNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "taxIdentificationNumber": "string"
}, - "buyerDeliveryAddress": {
- "object": "address",
- "code": "string",
- "name": "string",
- "countryCode": "string",
- "postalCode": "string",
- "state": "string",
- "city": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "email": "string",
- "phoneNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "taxIdentificationNumber": "string"
}, - "transactionTermCodes": [
- "exw"
], - "transactionTermRates": [
- {
- "transactionTermCode": "exw",
- "rateApplicationMethod": "discount",
- "rate": 1
}
], - "currencyCode": "AUD",
- "catalogId": "string",
- "originalOrderSummary": {
- "itemsSubtotalAmount": 0,
- "shippingFeesSubtotalAmount": 0,
- "otherChargesSubtotalAmount": 0,
- "orderSubtotalAmount": 0,
- "orderTaxAmount": 0,
- "orderTotalAmount": 0
}, - "orderConfirmationSummary": {
- "itemsSubtotalAmount": 0,
- "shippingFeesSubtotalAmount": 0,
- "otherChargesSubtotalAmount": 0,
- "orderSubtotalAmount": 0,
- "orderTaxAmount": 0,
- "orderTotalAmount": 0
}, - "brandComment": "string",
- "buyerComment": "string",
- "internalNote": "string",
- "tags": [
- {
- "tagId": "string",
- "code": "string",
- "name": "string",
- "description": "string"
}
], - "status": "order_confirmation_required",
- "inventoryStatus": "made_to_order",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "orderConfirmation": {
- "object": "order_confirmation",
- "orderId": "string",
- "merchantId": "string",
- "brandId": "string",
- "customerBuyerId": "string",
- "customerBuyer": {
- "code": "string",
- "customerCode": "string"
}, - "catalogId": "string",
- "transactionTermCodes": [
- "exw"
], - "transactionTermRates": [
- {
- "transactionTermCode": "exw",
- "rateApplicationMethod": "discount",
- "rate": 1
}
], - "currencyCode": "AUD",
- "summary": {
- "itemsSubtotalAmount": 0,
- "shippingFeesSubtotalAmount": 0,
- "otherChargesSubtotalAmount": 0,
- "orderSubtotalAmount": 0,
- "orderTaxAmount": 0,
- "orderTotalAmount": 0
}, - "items": [
- {
- "object": "order_product_item",
- "productId": "string",
- "modelNumber": "string",
- "localizedNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "subtotalAmount": 0,
- "estimatedTaxAmount": 0,
- "estimatedTotalAmount": 0,
- "totalSkuItemsQuantity": 0,
- "transactionTermCode": "exw",
- "transactionTermRate": {
- "transactionTermCode": "exw",
- "rateApplicationMethod": "discount",
- "rate": 1
}, - "priceType": "manual_price",
- "skuItems": [
- {
- "object": "order_product_sku_item",
- "skuItemId": "string",
- "skuId": "string",
- "skuNumber": "string",
- "appliedSkuOptions": [
- {
- "skuOptionId": "string",
- "appliedVariants": [
- { }
]
}
], - "originalSkuPrice": 0,
- "skuPrice": 0,
- "originalSkuOptionTotalPrice": 0,
- "skuOptionTotalPrice": 0,
- "totalItemPriceBeforeTax": 0,
- "taxes": [
- {
- "taxId": "string",
- "rate": 0,
- "amount": 0
}
], - "estimatedTaxInclusiveTotalItemPrice": 0,
- "quantity": 0,
- "subtotalAmount": 0,
- "estimatedTaxAmount": 0,
- "estimatedTotalAmount": 0
}
], - "buyerComment": "string"
}
], - "inventoryAllocations": [
- {
- "productId": "string",
- "skuId": "string",
- "status": "made_to_order",
- "quantity": 0,
- "sourceInventoryItemId": "string"
}
], - "status": "pending",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}
}| brandId required | string |
| orderId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
| Content-Type required | string Default: application/json |
{- "data": { }
}| brandId required | string |
| orderId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
| Content-Type required | string Default: application/json |
| notifyBuyerByEmail | boolean 注文内容確認書を確定する際に、対象バイヤーに通知メールを送信するかどうかを指定します。 trueの場合は、対象バイヤーに通知メールを送信します。 falseの場合は、対象バイヤーに通知メールを送信しません。 未指定の場合は、対象バイヤーに通知メールを送信しません。 |
| tagIds | Array of strings 注文に関連付けるタグのIDを指定します。 |
| tagCodes | Array of strings 注文に関連付けるタグのコードを指定します。 |
{- "notifyBuyerByEmail": true,
- "tagIds": [
- "string"
], - "tagCodes": [
- "string"
]
}{- "data": {
- "order": {
- "object": "order",
- "orderId": "string",
- "code": "string",
- "merchantId": "string",
- "brandId": "string",
- "customerBuyerId": "string",
- "customerBuyer": {
- "code": "string",
- "customerCode": "string"
}, - "buyerBillingAddress": {
- "object": "address",
- "code": "string",
- "name": "string",
- "countryCode": "string",
- "postalCode": "string",
- "state": "string",
- "city": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "email": "string",
- "phoneNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "taxIdentificationNumber": "string"
}, - "buyerDeliveryAddress": {
- "object": "address",
- "code": "string",
- "name": "string",
- "countryCode": "string",
- "postalCode": "string",
- "state": "string",
- "city": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "email": "string",
- "phoneNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "taxIdentificationNumber": "string"
}, - "transactionTermCodes": [
- "exw"
], - "transactionTermRates": [
- {
- "transactionTermCode": "exw",
- "rateApplicationMethod": "discount",
- "rate": 1
}
], - "currencyCode": "AUD",
- "catalogId": "string",
- "originalOrderSummary": {
- "itemsSubtotalAmount": 0,
- "shippingFeesSubtotalAmount": 0,
- "otherChargesSubtotalAmount": 0,
- "orderSubtotalAmount": 0,
- "orderTaxAmount": 0,
- "orderTotalAmount": 0
}, - "orderConfirmationSummary": {
- "itemsSubtotalAmount": 0,
- "shippingFeesSubtotalAmount": 0,
- "otherChargesSubtotalAmount": 0,
- "orderSubtotalAmount": 0,
- "orderTaxAmount": 0,
- "orderTotalAmount": 0
}, - "brandComment": "string",
- "buyerComment": "string",
- "internalNote": "string",
- "tags": [
- {
- "tagId": "string",
- "code": "string",
- "name": "string",
- "description": "string"
}
], - "status": "order_confirmation_required",
- "inventoryStatus": "made_to_order",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "orderConfirmation": {
- "object": "order_confirmation",
- "orderId": "string",
- "merchantId": "string",
- "brandId": "string",
- "customerBuyerId": "string",
- "customerBuyer": {
- "code": "string",
- "customerCode": "string"
}, - "catalogId": "string",
- "transactionTermCodes": [
- "exw"
], - "transactionTermRates": [
- {
- "transactionTermCode": "exw",
- "rateApplicationMethod": "discount",
- "rate": 1
}
], - "currencyCode": "AUD",
- "summary": {
- "itemsSubtotalAmount": 0,
- "shippingFeesSubtotalAmount": 0,
- "otherChargesSubtotalAmount": 0,
- "orderSubtotalAmount": 0,
- "orderTaxAmount": 0,
- "orderTotalAmount": 0
}, - "items": [
- {
- "object": "order_product_item",
- "productId": "string",
- "modelNumber": "string",
- "localizedNames": [
- {
- "languageCode": "ja",
- "text": "string"
}
], - "subtotalAmount": 0,
- "estimatedTaxAmount": 0,
- "estimatedTotalAmount": 0,
- "totalSkuItemsQuantity": 0,
- "transactionTermCode": "exw",
- "transactionTermRate": {
- "transactionTermCode": "exw",
- "rateApplicationMethod": "discount",
- "rate": 1
}, - "priceType": "manual_price",
- "skuItems": [
- {
- "object": "order_product_sku_item",
- "skuItemId": "string",
- "skuId": "string",
- "skuNumber": "string",
- "appliedSkuOptions": [
- {
- "skuOptionId": "string",
- "appliedVariants": [
- { }
]
}
], - "originalSkuPrice": 0,
- "skuPrice": 0,
- "originalSkuOptionTotalPrice": 0,
- "skuOptionTotalPrice": 0,
- "totalItemPriceBeforeTax": 0,
- "taxes": [
- {
- "taxId": "string",
- "rate": 0,
- "amount": 0
}
], - "estimatedTaxInclusiveTotalItemPrice": 0,
- "quantity": 0,
- "subtotalAmount": 0,
- "estimatedTaxAmount": 0,
- "estimatedTotalAmount": 0
}
], - "buyerComment": "string"
}
], - "inventoryAllocations": [
- {
- "productId": "string",
- "skuId": "string",
- "status": "made_to_order",
- "quantity": 0,
- "sourceInventoryItemId": "string"
}
], - "status": "pending",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}
}DeliveryNote object
| object | string Default: "delivery_note" |
| deliveryNoteId | string |
| code | string |
| merchantId | string |
| brandId | string |
| customerBuyerId | string |
| dataSource | string Enum: "unfulfilled_sku_item" "paid_unfulfilled_sku_item" "order_confirmation" "partner_inventory_item" "direct_entry" |
| pdfLongText | string |
| pdfShortText | string |
| brandNote | string |
| currencyCode | string Enum: "AUD" "CAD" "CNY" "DKK" "HKD" "INR" "IDR" "JPY" "KRW" "MYR" "NOK" "PHP" "RUB" "SGD" "VND" "SEK" "CHF" "THB" "GBP" "USD" "TWD" "EUR" "BRL" DEXTREでサポートされている通貨コード。 |
| transactionTermCodes | Array of strings Items Enum: "exw" "fca" "cpt" "cip" "dap" "dpu" "ddp" "fas" "fob" "cfr" "cif" "kakeritsu_transaction" "wholesale_transaction" |
Array of objects or objects | |
Array of objects | |
Array of objects | |
Array of objects | |
Array of objects | |
| subtotalAmount | number |
| totalTaxAmount | number |
| totalAmount | number subtotalAmount + totalTaxAmount |
object or null | |
| isEligibleForInvoicing | boolean 請求書作成可能対象かどうか (請求書のデータソースとして使用できるかどうか) |
| invoiceStatus | string Enum: "not_invoiced" "invoiced" |
| invoiceIds | Array of strings |
Array of objects | |
| deliveryDate | string or null <date-time> |
| status | string Default: "open" Enum: "open" "completed" |
| createdAt | string <date-time> リソースの作成日時。 |
| updatedAt | string <date-time> リソースの更新日時。 |
{- "object": "delivery_note",
- "deliveryNoteId": "string",
- "code": "string",
- "merchantId": "string",
- "brandId": "string",
- "customerBuyerId": "string",
- "dataSource": "unfulfilled_sku_item",
- "pdfLongText": "string",
- "pdfShortText": "string",
- "brandNote": "string",
- "currencyCode": "AUD",
- "transactionTermCodes": [
- "exw"
], - "transactionTermRates": [
- {
- "transactionTermCode": "exw",
- "rateApplicationMethod": "discount",
- "rate": 1
}
], - "skuLineItems": [
- {
- "lineItemId": "string",
- "contextualSkuItemId": "string",
- "skuId": "string",
- "productId": "string",
- "skuNumber": "string",
- "modelNumber": "string",
- "deliveryDate": {
- "type": "date_range",
- "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z"
}, - "transactionTermCode": "exw",
- "transactionTermRate": {
- "transactionTermCode": "exw",
- "rateApplicationMethod": "discount",
- "rate": 1
}, - "priceType": "manual_price",
- "appliedSkuOptions": [
- {
- "skuOptionId": "string",
- "appliedVariants": [
- {
- "skuOptionVariantId": "string",
- "unitOriginalPrice": 0,
- "unitPrice": 0
}
]
}
], - "unitBaseOriginalPrice": 0,
- "unitBasePrice": 0,
- "unitSkuOptionsOriginalPrice": 0,
- "unitSkuOptionsPrice": 0,
- "unitFinalPrice": 0,
- "taxes": [
- {
- "taxId": "string",
- "taxRate": 0,
- "estimatedTaxableAmount": 0,
- "estimatedTaxAmount": 0
}
], - "quantity": 0,
- "lineSubtotalAmount": 0,
- "estimatedLineTaxAmount": 0
}
], - "customLineItems": [
- {
- "lineItemId": "string",
- "name": "string",
- "description": "string",
- "unitPrice": 0,
- "taxes": [
- {
- "taxId": "string",
- "taxRate": 0,
- "estimatedTaxableAmount": 0,
- "estimatedTaxAmount": 0
}
], - "quantity": 0,
- "lineSubtotalAmount": 0,
- "estimatedLineTaxAmount": 0
}
], - "shippingFeeLineItems": [
- {
- "lineItemId": "string",
- "name": "string",
- "description": "string",
- "taxes": [
- {
- "taxId": "string",
- "taxRate": 0,
- "estimatedTaxableAmount": 0,
- "estimatedTaxAmount": 0
}
], - "lineSubtotalAmount": 0,
- "estimatedLineTaxAmount": 0
}
], - "otherChargeLineItems": [
- {
- "lineItemId": "string",
- "name": "string",
- "description": "string",
- "taxes": [
- {
- "taxId": "string",
- "taxRate": 0,
- "estimatedTaxableAmount": 0,
- "estimatedTaxAmount": 0
}
], - "lineSubtotalAmount": 0,
- "estimatedLineTaxAmount": 0
}
], - "subtotalAmount": 0,
- "totalTaxAmount": 0,
- "totalAmount": 0,
- "buyerDeliveryAddress": {
- "object": "address",
- "code": "string",
- "name": "string",
- "countryCode": "string",
- "postalCode": "string",
- "state": "string",
- "city": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "email": "string",
- "phoneNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "taxIdentificationNumber": "string"
}, - "isEligibleForInvoicing": true,
- "invoiceStatus": "not_invoiced",
- "invoiceIds": [
- "string"
], - "tags": [
- {
- "tagId": "string",
- "code": "string",
- "name": "string",
- "description": "string"
}
], - "deliveryDate": "2019-08-24T14:15:22Z",
- "status": "open",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}| brandId required | string |
| limit | integer [ 1 .. 100 ] Default: 20 |
| cursor | string Cursor to fetch next or previous page (deliveryNoteId) |
| direction | string Enum: "next" "previous" |
| deliveryNoteIds | string Comma separated ids |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
{- "pagination": {
- "nextCursor": "string",
- "previousCursor": "string"
}, - "data": {
- "deliveryNotes": [
- {
- "object": "delivery_note",
- "deliveryNoteId": "string",
- "code": "string",
- "merchantId": "string",
- "brandId": "string",
- "customerBuyerId": "string",
- "dataSource": "unfulfilled_sku_item",
- "pdfLongText": "string",
- "pdfShortText": "string",
- "brandNote": "string",
- "currencyCode": "AUD",
- "transactionTermCodes": [
- "exw"
], - "transactionTermRates": [
- {
- "transactionTermCode": "exw",
- "rateApplicationMethod": "discount",
- "rate": 1
}
], - "skuLineItems": [
- {
- "lineItemId": "string",
- "contextualSkuItemId": "string",
- "skuId": "string",
- "productId": "string",
- "skuNumber": "string",
- "modelNumber": "string",
- "deliveryDate": {
- "type": "date_range",
- "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z"
}, - "transactionTermCode": "exw",
- "transactionTermRate": {
- "transactionTermCode": "exw",
- "rateApplicationMethod": "discount",
- "rate": 1
}, - "priceType": "manual_price",
- "appliedSkuOptions": [
- {
- "skuOptionId": "string",
- "appliedVariants": [
- {
- "skuOptionVariantId": null,
- "unitOriginalPrice": null,
- "unitPrice": null
}
]
}
], - "unitBaseOriginalPrice": 0,
- "unitBasePrice": 0,
- "unitSkuOptionsOriginalPrice": 0,
- "unitSkuOptionsPrice": 0,
- "unitFinalPrice": 0,
- "taxes": [
- {
- "taxId": "string",
- "taxRate": 0,
- "estimatedTaxableAmount": 0,
- "estimatedTaxAmount": 0
}
], - "quantity": 0,
- "lineSubtotalAmount": 0,
- "estimatedLineTaxAmount": 0
}
], - "customLineItems": [
- {
- "lineItemId": "string",
- "name": "string",
- "description": "string",
- "unitPrice": 0,
- "taxes": [
- {
- "taxId": "string",
- "taxRate": 0,
- "estimatedTaxableAmount": 0,
- "estimatedTaxAmount": 0
}
], - "quantity": 0,
- "lineSubtotalAmount": 0,
- "estimatedLineTaxAmount": 0
}
], - "shippingFeeLineItems": [
- {
- "lineItemId": "string",
- "name": "string",
- "description": "string",
- "taxes": [
- {
- "taxId": "string",
- "taxRate": 0,
- "estimatedTaxableAmount": 0,
- "estimatedTaxAmount": 0
}
], - "lineSubtotalAmount": 0,
- "estimatedLineTaxAmount": 0
}
], - "otherChargeLineItems": [
- {
- "lineItemId": "string",
- "name": "string",
- "description": "string",
- "taxes": [
- {
- "taxId": "string",
- "taxRate": 0,
- "estimatedTaxableAmount": 0,
- "estimatedTaxAmount": 0
}
], - "lineSubtotalAmount": 0,
- "estimatedLineTaxAmount": 0
}
], - "subtotalAmount": 0,
- "totalTaxAmount": 0,
- "totalAmount": 0,
- "buyerDeliveryAddress": {
- "object": "address",
- "code": "string",
- "name": "string",
- "countryCode": "string",
- "postalCode": "string",
- "state": "string",
- "city": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "email": "string",
- "phoneNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "taxIdentificationNumber": "string"
}, - "isEligibleForInvoicing": true,
- "invoiceStatus": "not_invoiced",
- "invoiceIds": [
- "string"
], - "tags": [
- {
- "tagId": "string",
- "code": "string",
- "name": "string",
- "description": "string"
}
], - "deliveryDate": "2019-08-24T14:15:22Z",
- "status": "open",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]
}
}| brandId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
| Content-Type required | string Default: application/json |
| code | string 伝票番号 |
| customerBuyerId required | string 顧客バイヤーID |
| dataSource required | string Value: "direct_entry" |
| pdfLongText | string |
| pdfShortText | string |
| brandNote | string |
| currencyCode required | string Enum: "AUD" "CAD" "CNY" "DKK" "HKD" "INR" "IDR" "JPY" "KRW" "MYR" "NOK" "PHP" "RUB" "SGD" "VND" "SEK" "CHF" "THB" "GBP" "USD" "TWD" "EUR" "BRL" DEXTREでサポートされている通貨コード。 |
object or null | |
Array of objects | |
Array of objects | |
Array of objects | |
Array of objects | |
| isInvoicingAllowed | boolean この納品書を請求可能にするかどうか (省略した場合は true) |
| deliveryDate | string or null <date-time> |
| tagIds | Array of strings 納品書に関連付けるタグのIDを指定します。 |
| tagCodes | Array of strings 納品書に関連付けるタグのコードを指定します。 |
{- "code": "string",
- "customerBuyerId": "string",
- "dataSource": "direct_entry",
- "pdfLongText": "string",
- "pdfShortText": "string",
- "brandNote": "string",
- "currencyCode": "AUD",
- "buyerDeliveryAddress": {
- "object": "address",
- "code": "string",
- "name": "string",
- "countryCode": "string",
- "postalCode": "string",
- "state": "string",
- "city": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "email": "string",
- "phoneNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "taxIdentificationNumber": "string"
}, - "skuLineItems": [
- {
- "productId": "string",
- "skuId": "string",
- "transactionTermRate": {
- "transactionTermCode": "exw",
- "rateApplicationMethod": "discount",
- "rate": 1
}, - "priceType": "manual_price",
- "unitBaseOriginalPrice": 0,
- "unitBasePrice": 0,
- "quantity": 0
}
], - "customLineItems": [
- {
- "name": "string",
- "description": "string",
- "unitPrice": 0,
- "quantity": 0,
- "taxes": [
- {
- "taxId": "string"
}
]
}
], - "shippingFeeLineItems": [
- {
- "name": "string",
- "description": "string",
- "unitPrice": 0,
- "taxes": [
- {
- "taxId": "string"
}
]
}
], - "otherChargeLineItems": [
- {
- "name": "string",
- "description": "string",
- "unitPrice": 0,
- "taxes": [
- {
- "taxId": "string"
}
]
}
], - "isInvoicingAllowed": true,
- "deliveryDate": "2019-08-24T14:15:22Z",
- "tagIds": [
- "string"
], - "tagCodes": [
- "string"
]
}{- "data": {
- "deliveryNote": {
- "object": "delivery_note",
- "deliveryNoteId": "string",
- "code": "string",
- "merchantId": "string",
- "brandId": "string",
- "customerBuyerId": "string",
- "dataSource": "unfulfilled_sku_item",
- "pdfLongText": "string",
- "pdfShortText": "string",
- "brandNote": "string",
- "currencyCode": "AUD",
- "transactionTermCodes": [
- "exw"
], - "transactionTermRates": [
- {
- "transactionTermCode": "exw",
- "rateApplicationMethod": "discount",
- "rate": 1
}
], - "skuLineItems": [
- {
- "lineItemId": "string",
- "contextualSkuItemId": "string",
- "skuId": "string",
- "productId": "string",
- "skuNumber": "string",
- "modelNumber": "string",
- "deliveryDate": {
- "type": "date_range",
- "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z"
}, - "transactionTermCode": "exw",
- "transactionTermRate": {
- "transactionTermCode": "exw",
- "rateApplicationMethod": "discount",
- "rate": 1
}, - "priceType": "manual_price",
- "appliedSkuOptions": [
- {
- "skuOptionId": "string",
- "appliedVariants": [
- {
- "skuOptionVariantId": "string",
- "unitOriginalPrice": 0,
- "unitPrice": 0
}
]
}
], - "unitBaseOriginalPrice": 0,
- "unitBasePrice": 0,
- "unitSkuOptionsOriginalPrice": 0,
- "unitSkuOptionsPrice": 0,
- "unitFinalPrice": 0,
- "taxes": [
- {
- "taxId": "string",
- "taxRate": 0,
- "estimatedTaxableAmount": 0,
- "estimatedTaxAmount": 0
}
], - "quantity": 0,
- "lineSubtotalAmount": 0,
- "estimatedLineTaxAmount": 0
}
], - "customLineItems": [
- {
- "lineItemId": "string",
- "name": "string",
- "description": "string",
- "unitPrice": 0,
- "taxes": [
- {
- "taxId": "string",
- "taxRate": 0,
- "estimatedTaxableAmount": 0,
- "estimatedTaxAmount": 0
}
], - "quantity": 0,
- "lineSubtotalAmount": 0,
- "estimatedLineTaxAmount": 0
}
], - "shippingFeeLineItems": [
- {
- "lineItemId": "string",
- "name": "string",
- "description": "string",
- "taxes": [
- {
- "taxId": "string",
- "taxRate": 0,
- "estimatedTaxableAmount": 0,
- "estimatedTaxAmount": 0
}
], - "lineSubtotalAmount": 0,
- "estimatedLineTaxAmount": 0
}
], - "otherChargeLineItems": [
- {
- "lineItemId": "string",
- "name": "string",
- "description": "string",
- "taxes": [
- {
- "taxId": "string",
- "taxRate": 0,
- "estimatedTaxableAmount": 0,
- "estimatedTaxAmount": 0
}
], - "lineSubtotalAmount": 0,
- "estimatedLineTaxAmount": 0
}
], - "subtotalAmount": 0,
- "totalTaxAmount": 0,
- "totalAmount": 0,
- "buyerDeliveryAddress": {
- "object": "address",
- "code": "string",
- "name": "string",
- "countryCode": "string",
- "postalCode": "string",
- "state": "string",
- "city": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "email": "string",
- "phoneNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "taxIdentificationNumber": "string"
}, - "isEligibleForInvoicing": true,
- "invoiceStatus": "not_invoiced",
- "invoiceIds": [
- "string"
], - "tags": [
- {
- "tagId": "string",
- "code": "string",
- "name": "string",
- "description": "string"
}
], - "deliveryDate": "2019-08-24T14:15:22Z",
- "status": "open",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}
}| brandId required | string |
| deliveryNoteId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
{- "data": {
- "deliveryNote": {
- "object": "delivery_note",
- "deliveryNoteId": "string",
- "code": "string",
- "merchantId": "string",
- "brandId": "string",
- "customerBuyerId": "string",
- "dataSource": "unfulfilled_sku_item",
- "pdfLongText": "string",
- "pdfShortText": "string",
- "brandNote": "string",
- "currencyCode": "AUD",
- "transactionTermCodes": [
- "exw"
], - "transactionTermRates": [
- {
- "transactionTermCode": "exw",
- "rateApplicationMethod": "discount",
- "rate": 1
}
], - "skuLineItems": [
- {
- "lineItemId": "string",
- "contextualSkuItemId": "string",
- "skuId": "string",
- "productId": "string",
- "skuNumber": "string",
- "modelNumber": "string",
- "deliveryDate": {
- "type": "date_range",
- "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z"
}, - "transactionTermCode": "exw",
- "transactionTermRate": {
- "transactionTermCode": "exw",
- "rateApplicationMethod": "discount",
- "rate": 1
}, - "priceType": "manual_price",
- "appliedSkuOptions": [
- {
- "skuOptionId": "string",
- "appliedVariants": [
- {
- "skuOptionVariantId": "string",
- "unitOriginalPrice": 0,
- "unitPrice": 0
}
]
}
], - "unitBaseOriginalPrice": 0,
- "unitBasePrice": 0,
- "unitSkuOptionsOriginalPrice": 0,
- "unitSkuOptionsPrice": 0,
- "unitFinalPrice": 0,
- "taxes": [
- {
- "taxId": "string",
- "taxRate": 0,
- "estimatedTaxableAmount": 0,
- "estimatedTaxAmount": 0
}
], - "quantity": 0,
- "lineSubtotalAmount": 0,
- "estimatedLineTaxAmount": 0
}
], - "customLineItems": [
- {
- "lineItemId": "string",
- "name": "string",
- "description": "string",
- "unitPrice": 0,
- "taxes": [
- {
- "taxId": "string",
- "taxRate": 0,
- "estimatedTaxableAmount": 0,
- "estimatedTaxAmount": 0
}
], - "quantity": 0,
- "lineSubtotalAmount": 0,
- "estimatedLineTaxAmount": 0
}
], - "shippingFeeLineItems": [
- {
- "lineItemId": "string",
- "name": "string",
- "description": "string",
- "taxes": [
- {
- "taxId": "string",
- "taxRate": 0,
- "estimatedTaxableAmount": 0,
- "estimatedTaxAmount": 0
}
], - "lineSubtotalAmount": 0,
- "estimatedLineTaxAmount": 0
}
], - "otherChargeLineItems": [
- {
- "lineItemId": "string",
- "name": "string",
- "description": "string",
- "taxes": [
- {
- "taxId": "string",
- "taxRate": 0,
- "estimatedTaxableAmount": 0,
- "estimatedTaxAmount": 0
}
], - "lineSubtotalAmount": 0,
- "estimatedLineTaxAmount": 0
}
], - "subtotalAmount": 0,
- "totalTaxAmount": 0,
- "totalAmount": 0,
- "buyerDeliveryAddress": {
- "object": "address",
- "code": "string",
- "name": "string",
- "countryCode": "string",
- "postalCode": "string",
- "state": "string",
- "city": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "email": "string",
- "phoneNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "taxIdentificationNumber": "string"
}, - "isEligibleForInvoicing": true,
- "invoiceStatus": "not_invoiced",
- "invoiceIds": [
- "string"
], - "tags": [
- {
- "tagId": "string",
- "code": "string",
- "name": "string",
- "description": "string"
}
], - "deliveryDate": "2019-08-24T14:15:22Z",
- "status": "open",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}
}| brandId required | string |
| deliveryNoteId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
{- "data": { }
}GoodsReturnNote object
| object | string Default: "goods_return_note" |
| goodsReturnNoteId | string |
| code | string |
| merchantId | string |
| brandId | string |
| customerBuyerId | string |
| dataSource | string Enum: "delivery_note" "custom_entry" |
| sourceDeliveryNoteId | string or null |
| reason | string |
| currencyCode | string Enum: "AUD" "CAD" "CNY" "DKK" "HKD" "INR" "IDR" "JPY" "KRW" "MYR" "NOK" "PHP" "RUB" "SGD" "VND" "SEK" "CHF" "THB" "GBP" "USD" "TWD" "EUR" "BRL" DEXTREでサポートされている通貨コード。 |
| skuItemsSubtotalAmount | number |
| customItemsSubtotalAmount | number |
| shippingFeesSubtotalAmount | number |
| otherChargesSubtotalAmount | number |
| subtotalAmount | number |
| taxAmount | number |
| totalAmount | number |
| pdfShortText | string |
| documentDate | string or null <date-time> |
| createdAt | string <date-time> リソースの作成日時。 |
| updatedAt | string <date-time> リソースの更新日時。 |
{- "object": "goods_return_note",
- "goodsReturnNoteId": "string",
- "code": "string",
- "merchantId": "string",
- "brandId": "string",
- "customerBuyerId": "string",
- "dataSource": "delivery_note",
- "sourceDeliveryNoteId": "string",
- "reason": "string",
- "currencyCode": "AUD",
- "skuItemsSubtotalAmount": 0,
- "customItemsSubtotalAmount": 0,
- "shippingFeesSubtotalAmount": 0,
- "otherChargesSubtotalAmount": 0,
- "subtotalAmount": 0,
- "taxAmount": 0,
- "totalAmount": 0,
- "pdfShortText": "string",
- "documentDate": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}| brandId required | string |
| limit | integer [ 1 .. 100 ] Default: 20 |
| cursor | string Cursor to fetch next or previous page (goodsReturnNoteId) |
| direction | string Enum: "next" "previous" |
| goodsReturnNoteIds | string Comma separated ids |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
{- "pagination": {
- "nextCursor": "string",
- "previousCursor": "string"
}, - "data": {
- "goodsReturnNotes": [
- {
- "object": "goods_return_note",
- "goodsReturnNoteId": "string",
- "code": "string",
- "merchantId": "string",
- "brandId": "string",
- "customerBuyerId": "string",
- "dataSource": "delivery_note",
- "sourceDeliveryNoteId": "string",
- "reason": "string",
- "currencyCode": "AUD",
- "skuItemsSubtotalAmount": 0,
- "customItemsSubtotalAmount": 0,
- "shippingFeesSubtotalAmount": 0,
- "otherChargesSubtotalAmount": 0,
- "subtotalAmount": 0,
- "taxAmount": 0,
- "totalAmount": 0,
- "pdfShortText": "string",
- "documentDate": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]
}
}Invoice object
請求書情報を表します。
| object | string Default: "invoice" |
| invoiceId | string |
| code | string |
| merchantId | string |
| brandId | string |
| customerBuyerId | string |
| dataSource | string Enum: "delivery_note" "order_confirmation" "deposit_invoice" "direct_entry" |
| pdfLongText | string |
| pdfShortText | string |
| brandNote | string |
| currencyCode | string Enum: "AUD" "CAD" "CNY" "DKK" "HKD" "INR" "IDR" "JPY" "KRW" "MYR" "NOK" "PHP" "RUB" "SGD" "VND" "SEK" "CHF" "THB" "GBP" "USD" "TWD" "EUR" "BRL" DEXTREでサポートされている通貨コード。 |
| transactionTermCodes | Array of strings Items Enum: "exw" "fca" "cpt" "cip" "dap" "dpu" "ddp" "fas" "fob" "cfr" "cif" "kakeritsu_transaction" "wholesale_transaction" |
Array of objects or objects | |
| sourceOrderIds | Array of strings |
| sourceDeliveryNoteIds | Array of strings |
| depositInvoiceId | string or null |
Array of objects | |
Array of objects | |
Array of objects | |
Array of objects | |
Array of objects | |
Array of objects | |
object or null | |
object or null | |
| invoiceTotalAmount | number |
object or null | |
Array of objects | |
| status | string Enum: "draft" "issued" |
| invoiceDueAt | string or null <date-time> |
| invoiceDate | string or null <date-time> |
| createdAt | string <date-time> |
| updatedAt | string <date-time> |
{- "object": "invoice",
- "invoiceId": "string",
- "code": "string",
- "merchantId": "string",
- "brandId": "string",
- "customerBuyerId": "string",
- "dataSource": "delivery_note",
- "pdfLongText": "string",
- "pdfShortText": "string",
- "brandNote": "string",
- "currencyCode": "AUD",
- "transactionTermCodes": [
- "exw"
], - "transactionTermRates": [
- {
- "transactionTermCode": "exw",
- "rateApplicationMethod": "discount",
- "rate": 1
}
], - "sourceOrderIds": [
- "string"
], - "sourceDeliveryNoteIds": [
- "string"
], - "depositInvoiceId": "string",
- "skuLineItems": [
- {
- "lineItemId": "string",
- "contextualSkuItemId": "string",
- "skuId": "string",
- "productId": "string",
- "skuNumber": "string",
- "modelNumber": "string",
- "deliveryDate": {
- "type": "date_range",
- "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z"
}, - "transactionTermCode": "exw",
- "transactionTermRate": {
- "transactionTermCode": "exw",
- "rateApplicationMethod": "discount",
- "rate": 1
}, - "priceType": "manual_price",
- "appliedSkuOptions": [
- {
- "skuOptionId": "string",
- "appliedVariants": [
- {
- "skuOptionVariantId": "string",
- "unitOriginalPrice": 0,
- "unitPrice": 0
}
]
}
], - "unitBaseOriginalPrice": 0,
- "unitBasePrice": 0,
- "unitSkuOptionsOriginalPrice": 0,
- "unitSkuOptionsPrice": 0,
- "unitFinalPrice": 0,
- "taxes": [
- {
- "taxId": "string",
- "taxRate": 0,
- "estimatedTaxableAmount": 0,
- "estimatedTaxAmount": 0
}
], - "quantity": 0,
- "lineSubtotalAmount": 0,
- "estimatedLineTaxAmount": 0
}
], - "customLineItems": [
- {
- "lineItemId": "string",
- "name": "string",
- "description": "string",
- "unitPrice": 0,
- "taxes": [
- {
- "taxId": "string",
- "taxRate": 0,
- "estimatedTaxableAmount": 0,
- "estimatedTaxAmount": 0
}
], - "quantity": 0,
- "lineSubtotalAmount": 0,
- "estimatedLineTaxAmount": 0
}
], - "shippingFeeLineItems": [
- {
- "lineItemId": "string",
- "name": "string",
- "description": "string",
- "taxes": [
- {
- "taxId": "string",
- "taxRate": 0,
- "estimatedTaxableAmount": 0,
- "estimatedTaxAmount": 0
}
], - "lineSubtotalAmount": 0,
- "estimatedLineTaxAmount": 0
}
], - "otherChargeLineItems": [
- {
- "lineItemId": "string",
- "name": "string",
- "description": "string",
- "taxes": [
- {
- "taxId": "string",
- "taxRate": 0,
- "estimatedTaxableAmount": 0,
- "estimatedTaxAmount": 0
}
], - "lineSubtotalAmount": 0,
- "estimatedLineTaxAmount": 0
}
], - "appliedCreditNotes": [
- {
- "creditNoteId": "string",
- "totalAmount": 0
}
], - "appliedGoodsReturnNotes": [
- {
- "goodsReturnNoteId": "string",
- "totalAmount": 0
}
], - "appliedBillingBalance": {
- "billingBalanceId": "string",
- "appliedAmount": 0
}, - "sellerBorne": {
- "bankTransferFeeAmount": 0,
- "taxes": [
- {
- "taxId": "string",
- "taxableAmount": 0,
- "taxAmount": 0
}
], - "totalTaxAmount": 0,
- "totalBorneAmount": 0
}, - "invoiceTotalAmount": 0,
- "buyerBillingAddress": {
- "object": "address",
- "code": "string",
- "name": "string",
- "countryCode": "string",
- "postalCode": "string",
- "state": "string",
- "city": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "email": "string",
- "phoneNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "taxIdentificationNumber": "string"
}, - "tags": [
- {
- "tagId": "string",
- "code": "string",
- "name": "string",
- "description": "string"
}
], - "status": "draft",
- "invoiceDueAt": "2019-08-24T14:15:22Z",
- "invoiceDate": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}| brandId required | string |
| limit | integer [ 1 .. 100 ] Default: 20 |
| cursor | string Cursor to fetch next or previous page (invoiceId) |
| direction | string Enum: "next" "previous" |
| invoiceIds | string Comma separated ids |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
{- "pagination": {
- "nextCursor": "string",
- "previousCursor": "string"
}, - "data": {
- "invoices": [
- {
- "object": "invoice",
- "invoiceId": "string",
- "code": "string",
- "merchantId": "string",
- "brandId": "string",
- "customerBuyerId": "string",
- "dataSource": "delivery_note",
- "pdfLongText": "string",
- "pdfShortText": "string",
- "brandNote": "string",
- "currencyCode": "AUD",
- "transactionTermCodes": [
- "exw"
], - "transactionTermRates": [
- {
- "transactionTermCode": "exw",
- "rateApplicationMethod": "discount",
- "rate": 1
}
], - "sourceOrderIds": [
- "string"
], - "sourceDeliveryNoteIds": [
- "string"
], - "depositInvoiceId": "string",
- "skuLineItems": [
- {
- "lineItemId": "string",
- "contextualSkuItemId": "string",
- "skuId": "string",
- "productId": "string",
- "skuNumber": "string",
- "modelNumber": "string",
- "deliveryDate": {
- "type": "date_range",
- "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z"
}, - "transactionTermCode": "exw",
- "transactionTermRate": {
- "transactionTermCode": "exw",
- "rateApplicationMethod": "discount",
- "rate": 1
}, - "priceType": "manual_price",
- "appliedSkuOptions": [
- {
- "skuOptionId": "string",
- "appliedVariants": [
- {
- "skuOptionVariantId": null,
- "unitOriginalPrice": null,
- "unitPrice": null
}
]
}
], - "unitBaseOriginalPrice": 0,
- "unitBasePrice": 0,
- "unitSkuOptionsOriginalPrice": 0,
- "unitSkuOptionsPrice": 0,
- "unitFinalPrice": 0,
- "taxes": [
- {
- "taxId": "string",
- "taxRate": 0,
- "estimatedTaxableAmount": 0,
- "estimatedTaxAmount": 0
}
], - "quantity": 0,
- "lineSubtotalAmount": 0,
- "estimatedLineTaxAmount": 0
}
], - "customLineItems": [
- {
- "lineItemId": "string",
- "name": "string",
- "description": "string",
- "unitPrice": 0,
- "taxes": [
- {
- "taxId": "string",
- "taxRate": 0,
- "estimatedTaxableAmount": 0,
- "estimatedTaxAmount": 0
}
], - "quantity": 0,
- "lineSubtotalAmount": 0,
- "estimatedLineTaxAmount": 0
}
], - "shippingFeeLineItems": [
- {
- "lineItemId": "string",
- "name": "string",
- "description": "string",
- "taxes": [
- {
- "taxId": "string",
- "taxRate": 0,
- "estimatedTaxableAmount": 0,
- "estimatedTaxAmount": 0
}
], - "lineSubtotalAmount": 0,
- "estimatedLineTaxAmount": 0
}
], - "otherChargeLineItems": [
- {
- "lineItemId": "string",
- "name": "string",
- "description": "string",
- "taxes": [
- {
- "taxId": "string",
- "taxRate": 0,
- "estimatedTaxableAmount": 0,
- "estimatedTaxAmount": 0
}
], - "lineSubtotalAmount": 0,
- "estimatedLineTaxAmount": 0
}
], - "appliedCreditNotes": [
- {
- "creditNoteId": "string",
- "totalAmount": 0
}
], - "appliedGoodsReturnNotes": [
- {
- "goodsReturnNoteId": "string",
- "totalAmount": 0
}
], - "appliedBillingBalance": {
- "billingBalanceId": "string",
- "appliedAmount": 0
}, - "sellerBorne": {
- "bankTransferFeeAmount": 0,
- "taxes": [
- {
- "taxId": "string",
- "taxableAmount": 0,
- "taxAmount": 0
}
], - "totalTaxAmount": 0,
- "totalBorneAmount": 0
}, - "invoiceTotalAmount": 0,
- "buyerBillingAddress": {
- "object": "address",
- "code": "string",
- "name": "string",
- "countryCode": "string",
- "postalCode": "string",
- "state": "string",
- "city": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "email": "string",
- "phoneNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "taxIdentificationNumber": "string"
}, - "tags": [
- {
- "tagId": "string",
- "code": "string",
- "name": "string",
- "description": "string"
}
], - "status": "draft",
- "invoiceDueAt": "2019-08-24T14:15:22Z",
- "invoiceDate": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]
}
}| brandId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
| Content-Type required | string Default: application/json |
| code | string 伝票番号 |
| customerBuyerId required | string 顧客バイヤーID |
| dataSource required | string Value: "direct_entry" |
| pdfLongText | string |
| pdfShortText | string |
| brandNote | string |
| currencyCode required | string Enum: "AUD" "CAD" "CNY" "DKK" "HKD" "INR" "IDR" "JPY" "KRW" "MYR" "NOK" "PHP" "RUB" "SGD" "VND" "SEK" "CHF" "THB" "GBP" "USD" "TWD" "EUR" "BRL" DEXTREでサポートされている通貨コード。 |
object or null | |
Array of objects | |
Array of objects | |
Array of objects | |
Array of objects | |
| invoiceDueAt | string or null <date-time> |
| invoiceDate | string or null <date-time> |
| tagIds | Array of strings 請求書に関連付けるタグのIDを指定します。 |
| tagCodes | Array of strings 請求書に関連付けるタグのコードを指定します。 |
{- "code": "string",
- "customerBuyerId": "string",
- "dataSource": "direct_entry",
- "pdfLongText": "string",
- "pdfShortText": "string",
- "brandNote": "string",
- "currencyCode": "AUD",
- "buyerBillingAddress": {
- "object": "address",
- "code": "string",
- "name": "string",
- "countryCode": "string",
- "postalCode": "string",
- "state": "string",
- "city": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "email": "string",
- "phoneNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "taxIdentificationNumber": "string"
}, - "skuLineItems": [
- {
- "productId": "string",
- "skuId": "string",
- "transactionTermRate": {
- "transactionTermCode": "exw",
- "rateApplicationMethod": "discount",
- "rate": 1
}, - "priceType": "manual_price",
- "unitBaseOriginalPrice": 0,
- "unitBasePrice": 0,
- "quantity": 0
}
], - "customLineItems": [
- {
- "name": "string",
- "description": "string",
- "unitPrice": 0,
- "quantity": 0,
- "taxes": [
- {
- "taxId": "string"
}
]
}
], - "shippingFeeLineItems": [
- {
- "name": "string",
- "description": "string",
- "unitPrice": 0,
- "taxes": [
- {
- "taxId": "string"
}
]
}
], - "otherChargeLineItems": [
- {
- "name": "string",
- "description": "string",
- "unitPrice": 0,
- "taxes": [
- {
- "taxId": "string"
}
]
}
], - "invoiceDueAt": "2019-08-24T14:15:22Z",
- "invoiceDate": "2019-08-24T14:15:22Z",
- "tagIds": [
- "string"
], - "tagCodes": [
- "string"
]
}{- "data": {
- "invoice": {
- "object": "invoice",
- "invoiceId": "string",
- "code": "string",
- "merchantId": "string",
- "brandId": "string",
- "customerBuyerId": "string",
- "dataSource": "delivery_note",
- "pdfLongText": "string",
- "pdfShortText": "string",
- "brandNote": "string",
- "currencyCode": "AUD",
- "transactionTermCodes": [
- "exw"
], - "transactionTermRates": [
- {
- "transactionTermCode": "exw",
- "rateApplicationMethod": "discount",
- "rate": 1
}
], - "sourceOrderIds": [
- "string"
], - "sourceDeliveryNoteIds": [
- "string"
], - "depositInvoiceId": "string",
- "skuLineItems": [
- {
- "lineItemId": "string",
- "contextualSkuItemId": "string",
- "skuId": "string",
- "productId": "string",
- "skuNumber": "string",
- "modelNumber": "string",
- "deliveryDate": {
- "type": "date_range",
- "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z"
}, - "transactionTermCode": "exw",
- "transactionTermRate": {
- "transactionTermCode": "exw",
- "rateApplicationMethod": "discount",
- "rate": 1
}, - "priceType": "manual_price",
- "appliedSkuOptions": [
- {
- "skuOptionId": "string",
- "appliedVariants": [
- {
- "skuOptionVariantId": "string",
- "unitOriginalPrice": 0,
- "unitPrice": 0
}
]
}
], - "unitBaseOriginalPrice": 0,
- "unitBasePrice": 0,
- "unitSkuOptionsOriginalPrice": 0,
- "unitSkuOptionsPrice": 0,
- "unitFinalPrice": 0,
- "taxes": [
- {
- "taxId": "string",
- "taxRate": 0,
- "estimatedTaxableAmount": 0,
- "estimatedTaxAmount": 0
}
], - "quantity": 0,
- "lineSubtotalAmount": 0,
- "estimatedLineTaxAmount": 0
}
], - "customLineItems": [
- {
- "lineItemId": "string",
- "name": "string",
- "description": "string",
- "unitPrice": 0,
- "taxes": [
- {
- "taxId": "string",
- "taxRate": 0,
- "estimatedTaxableAmount": 0,
- "estimatedTaxAmount": 0
}
], - "quantity": 0,
- "lineSubtotalAmount": 0,
- "estimatedLineTaxAmount": 0
}
], - "shippingFeeLineItems": [
- {
- "lineItemId": "string",
- "name": "string",
- "description": "string",
- "taxes": [
- {
- "taxId": "string",
- "taxRate": 0,
- "estimatedTaxableAmount": 0,
- "estimatedTaxAmount": 0
}
], - "lineSubtotalAmount": 0,
- "estimatedLineTaxAmount": 0
}
], - "otherChargeLineItems": [
- {
- "lineItemId": "string",
- "name": "string",
- "description": "string",
- "taxes": [
- {
- "taxId": "string",
- "taxRate": 0,
- "estimatedTaxableAmount": 0,
- "estimatedTaxAmount": 0
}
], - "lineSubtotalAmount": 0,
- "estimatedLineTaxAmount": 0
}
], - "appliedCreditNotes": [
- {
- "creditNoteId": "string",
- "totalAmount": 0
}
], - "appliedGoodsReturnNotes": [
- {
- "goodsReturnNoteId": "string",
- "totalAmount": 0
}
], - "appliedBillingBalance": {
- "billingBalanceId": "string",
- "appliedAmount": 0
}, - "sellerBorne": {
- "bankTransferFeeAmount": 0,
- "taxes": [
- {
- "taxId": "string",
- "taxableAmount": 0,
- "taxAmount": 0
}
], - "totalTaxAmount": 0,
- "totalBorneAmount": 0
}, - "invoiceTotalAmount": 0,
- "buyerBillingAddress": {
- "object": "address",
- "code": "string",
- "name": "string",
- "countryCode": "string",
- "postalCode": "string",
- "state": "string",
- "city": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "email": "string",
- "phoneNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "taxIdentificationNumber": "string"
}, - "tags": [
- {
- "tagId": "string",
- "code": "string",
- "name": "string",
- "description": "string"
}
], - "status": "draft",
- "invoiceDueAt": "2019-08-24T14:15:22Z",
- "invoiceDate": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}
}| brandId required | string |
| invoiceId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
{- "data": {
- "invoice": {
- "object": "invoice",
- "invoiceId": "string",
- "code": "string",
- "merchantId": "string",
- "brandId": "string",
- "customerBuyerId": "string",
- "dataSource": "delivery_note",
- "pdfLongText": "string",
- "pdfShortText": "string",
- "brandNote": "string",
- "currencyCode": "AUD",
- "transactionTermCodes": [
- "exw"
], - "transactionTermRates": [
- {
- "transactionTermCode": "exw",
- "rateApplicationMethod": "discount",
- "rate": 1
}
], - "sourceOrderIds": [
- "string"
], - "sourceDeliveryNoteIds": [
- "string"
], - "depositInvoiceId": "string",
- "skuLineItems": [
- {
- "lineItemId": "string",
- "contextualSkuItemId": "string",
- "skuId": "string",
- "productId": "string",
- "skuNumber": "string",
- "modelNumber": "string",
- "deliveryDate": {
- "type": "date_range",
- "startDate": "2019-08-24T14:15:22Z",
- "endDate": "2019-08-24T14:15:22Z"
}, - "transactionTermCode": "exw",
- "transactionTermRate": {
- "transactionTermCode": "exw",
- "rateApplicationMethod": "discount",
- "rate": 1
}, - "priceType": "manual_price",
- "appliedSkuOptions": [
- {
- "skuOptionId": "string",
- "appliedVariants": [
- {
- "skuOptionVariantId": "string",
- "unitOriginalPrice": 0,
- "unitPrice": 0
}
]
}
], - "unitBaseOriginalPrice": 0,
- "unitBasePrice": 0,
- "unitSkuOptionsOriginalPrice": 0,
- "unitSkuOptionsPrice": 0,
- "unitFinalPrice": 0,
- "taxes": [
- {
- "taxId": "string",
- "taxRate": 0,
- "estimatedTaxableAmount": 0,
- "estimatedTaxAmount": 0
}
], - "quantity": 0,
- "lineSubtotalAmount": 0,
- "estimatedLineTaxAmount": 0
}
], - "customLineItems": [
- {
- "lineItemId": "string",
- "name": "string",
- "description": "string",
- "unitPrice": 0,
- "taxes": [
- {
- "taxId": "string",
- "taxRate": 0,
- "estimatedTaxableAmount": 0,
- "estimatedTaxAmount": 0
}
], - "quantity": 0,
- "lineSubtotalAmount": 0,
- "estimatedLineTaxAmount": 0
}
], - "shippingFeeLineItems": [
- {
- "lineItemId": "string",
- "name": "string",
- "description": "string",
- "taxes": [
- {
- "taxId": "string",
- "taxRate": 0,
- "estimatedTaxableAmount": 0,
- "estimatedTaxAmount": 0
}
], - "lineSubtotalAmount": 0,
- "estimatedLineTaxAmount": 0
}
], - "otherChargeLineItems": [
- {
- "lineItemId": "string",
- "name": "string",
- "description": "string",
- "taxes": [
- {
- "taxId": "string",
- "taxRate": 0,
- "estimatedTaxableAmount": 0,
- "estimatedTaxAmount": 0
}
], - "lineSubtotalAmount": 0,
- "estimatedLineTaxAmount": 0
}
], - "appliedCreditNotes": [
- {
- "creditNoteId": "string",
- "totalAmount": 0
}
], - "appliedGoodsReturnNotes": [
- {
- "goodsReturnNoteId": "string",
- "totalAmount": 0
}
], - "appliedBillingBalance": {
- "billingBalanceId": "string",
- "appliedAmount": 0
}, - "sellerBorne": {
- "bankTransferFeeAmount": 0,
- "taxes": [
- {
- "taxId": "string",
- "taxableAmount": 0,
- "taxAmount": 0
}
], - "totalTaxAmount": 0,
- "totalBorneAmount": 0
}, - "invoiceTotalAmount": 0,
- "buyerBillingAddress": {
- "object": "address",
- "code": "string",
- "name": "string",
- "countryCode": "string",
- "postalCode": "string",
- "state": "string",
- "city": "string",
- "addressLine1": "string",
- "addressLine2": "string",
- "email": "string",
- "phoneNumber": "string",
- "firstName": "string",
- "lastName": "string",
- "taxIdentificationNumber": "string"
}, - "tags": [
- {
- "tagId": "string",
- "code": "string",
- "name": "string",
- "description": "string"
}
], - "status": "draft",
- "invoiceDueAt": "2019-08-24T14:15:22Z",
- "invoiceDate": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}
}| brandId required | string |
| invoiceId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
{- "data": { }
}DocumentNumberingRule object
伝票番号の採番ルールを表します。
| object | string Default: "document_numbering_rule" リソース種別を示す定数です。 |
| ruleId | string 伝票番号採番ルールの一意なID。 |
| merchantId | string ルールが属するマーチャントのID。 |
| brandId | string ルールが属するブランドのID。 |
| documentType | string Enum: "order" "delivery_note" "goods_return_note" "invoice" "credit_note" "payment_confirmation" "export_document" 伝票番号採番ルールを適用する伝票種別。 |
| fixedPrefix | string 伝票番号の先頭に付与する固定文字列。 |
| fixedSuffix | string 伝票番号の末尾に付与する固定文字列。 |
object or object 動的プレフィックスの構成方法。 | |
| timeZone | string Enum: "Asia/Tokyo" "UTC" 動的プレフィックスの日時解決で使用するタイムゾーン。 |
| minDigits | integer >= 1 番号部分の最小桁数。 |
| status | string Enum: "active" "inactive" 伝票番号採番ルールのステータス。 |
| createdAt | string <date-time> ルールの作成日時 (ISO 8601 UTC)。 |
| updatedAt | string <date-time> ルールの最終更新日時 (ISO 8601 UTC)。 |
{- "object": "document_numbering_rule",
- "ruleId": "string",
- "merchantId": "string",
- "brandId": "string",
- "documentType": "order",
- "fixedPrefix": "string",
- "fixedSuffix": "string",
- "dynamicPrefixKind": {
- "type": "NONE"
}, - "timeZone": "Asia/Tokyo",
- "minDigits": 1,
- "status": "active",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}伝票種別ごとに適用されている採番ルールを検索します。
結果はカーソルベースでページングされます。
| brandId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
| Content-Type required | string Default: application/json |
| limit | integer [ 1 .. 100 ] Default: 20 1リクエストで取得する件数。最大100件。 |
| cursor | string 次ページまたは前ページ取得に使用するカーソル。 |
| direction | string Default: "next" Enum: "next" "previous" カーソルの進行方向。 |
| documentTypes required | Array of strings non-empty Items Enum: "order" "delivery_note" "goods_return_note" "invoice" "credit_note" "payment_confirmation" "export_document" 検索対象の伝票種別リスト。 |
{- "limit": 20,
- "cursor": "string",
- "direction": "next",
- "documentTypes": [
- "order"
]
}{- "pagination": {
- "nextCursor": "string",
- "previousCursor": "string"
}, - "data": {
- "rules": [
- {
- "object": "document_numbering_rule",
- "ruleId": "string",
- "merchantId": "string",
- "brandId": "string",
- "documentType": "order",
- "fixedPrefix": "string",
- "fixedSuffix": "string",
- "dynamicPrefixKind": {
- "type": "NONE"
}, - "timeZone": "Asia/Tokyo",
- "minDigits": 1,
- "status": "active",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
]
}, - "error": {
- "statusCode": 0,
- "messages": [
- "string"
]
}
}指定した伝票種別に対する採番ルールを新規作成または更新します。
同一documentTypeに対しては常に最新のルールが上書きされます。
| brandId required | string |
| X-Merchant-API-Key required | string Examples:
発行したAPIキーを指定してください。 |
| X-Merchant-API-Version | string Default: latest Enum: "latest" "v1" "beta" Examples:
バージョンを指定してください。 |
| Content-Type required | string Default: application/json |
| documentType required | string Enum: "order" "delivery_note" "goods_return_note" "invoice" "credit_note" "payment_confirmation" "export_document" 伝票番号採番ルールを適用する伝票種別。 |
| fixedPrefix | string 固定プレフィックス。空文字可。 |
| fixedSuffix | string 固定サフィックス。空文字可。 |
object or object | |
| timeZone | string Enum: "Asia/Tokyo" "UTC" 動的プレフィックスの日時解決で使用するタイムゾーン。 |
| minDigits | integer >= 1 番号部分の最小桁数。 |
{- "documentType": "order",
- "fixedPrefix": "string",
- "fixedSuffix": "string",
- "dynamicPrefixKind": {
- "type": "NONE"
}, - "timeZone": "Asia/Tokyo",
- "minDigits": 1
}{- "data": {
- "rule": {
- "object": "document_numbering_rule",
- "ruleId": "string",
- "merchantId": "string",
- "brandId": "string",
- "documentType": "order",
- "fixedPrefix": "string",
- "fixedSuffix": "string",
- "dynamicPrefixKind": {
- "type": "NONE"
}, - "timeZone": "Asia/Tokyo",
- "minDigits": 1,
- "status": "active",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
}, - "error": {
- "statusCode": 0,
- "messages": [
- "string"
]
}
}