Download OpenAPI specification:Download
Recustomer API for Return and Cancel v2
Custom Integrationは、Recustomerを利用するために必要な各種データを連携するためのAPIです。
このCustom Integrationは、Order importerとintegration APIの2つの要素で構成されています。
Order importer(Module1)は注文情報をMerchant環境からRecustomerに送信する役割を担っています。
注文情報が作成・更新されるたびに、エンドポイントが呼び出され、Recustomerに送信する必要があります。
Integration API(Module2,3)はRecustomerからMerchant環境の各システムへと通信を行うAPIです。
RecustomerがMerchant環境へデータの更新やデータの取得をする必要がある場合に、このAPIを介して、Recustomerはデータの更新や取得を行います。
Exchangeモジュールは、交換を行う際に、商品のバリエーション情報や在庫情報をRecustomerが取得したり、交換商品の受注伝票をRecustomerが作成したりする場合に使用されます。
Cancelモジュールは、Recustomer上で注文のキャンセル処理が行われた際に、即座にその注文の出荷を停止するために使用されます。
Custom Integrationは、Recustomerを利用するために必要な各種データを連携するためのAPIです。
Recustomerからトークンとアクセスキーを提供します。それらのパラメータをAPIのheaderに含めて送信します。
キー名 | 概要 |
api_store_key | マーチャントを識別するためのキー情報です。 |
api_token | 送信されたリクエストの認証に使うランダムな文字列です。 |
マーチャント環境にトークン認証を実装する必要があります。
Recustomerから「api_token」のキーでトークンをheaderに含めてマーチャント環境へAPIを送信します。
アクセストークンは外部サービス連携画面にて、Recustomerに提供する必要があります。
注文情報をRecustomerに送信します。
api_store_key required | string Example: test-store ストアKey(Recustomerから提供します) |
api_token required | string Example: X12345678 認証用トークン(Recustomerから提供します) |
id required | string 注文ID |
order_number required | string 注文番号 |
status required | string Enum: "processing" "fulfilled" "partial_fulfilled" "canceled" 注文ステータス processing: 処理中、fulfilled: 発送済み、partial_fulfilled: 一部発送済み、canceled: キャンセル済み |
fulfillment_status required | string Enum: "fulfilled" "null" "partial" "canceled" 発送ステータス fulfilled: 発送済み、null: 未発送、partial: 一部発送済み、canceled: キャンセル済み |
financial_status required | string Enum: "pending" "authorized" "partially_paid" "paid" "partially_refunded" "refunded" "voided" 支払いステータス pending: 保留中、authorized: 認証済み、partially_paid: 一部支払い済み、paid: 支払い済み、partially_refunded: 一部返金済み、refunded: 返金済み、voided: 無効 |
order_discount_amount | string (OrderDiscountAmount) 注文に対してのディスカウント金額合計(モール利用の場合は、モール原資クーポン+店舗原資クーポン) |
order_point_price required | string (OrderPointPrice) 注文に対してのポイント利用 |
total_item_discount_amount required | string (TotalItemDiscountAmount) 商品ディスカウント合計 |
subtotal_price required | string (SubtotalPrice) 商品小計 |
total_shipping_price required | string (TotalShippingPrice) 注文時の送料 |
total_discount required | string (TotalDiscount) ディスカウント合計(order_discount_amount+order_point_price+total_item_discount_amount) |
additional_fees_amount | string その他費用合計 |
total_price required | string (TotalPrice) 合計金額 |
total_tax required | string (TotalTax) 税 |
payment_at | string 入金日時 |
is_tax_included required | boolean total_priceが税を含む金額か |
currency required | string 通貨単位 |
quantity required | integer 注文商品数の合計 |
created_at required | string 注文日時 |
updated_at | string (Updated_at) 更新日時 |
note | string 注文の補足情報 |
order_link | string 注文のリンク |
required | object (Customer) 顧客情報 |
required | Array of objects (OrderLineItemImporter) 注文商品 |
required | object (ShippingAddress) 配送先住所 |
required | object (BillingAddress) 請求先住所 |
required | Array of objects (OrderFulfillment) 発送情報 |
Array of objects (OrderTransaction) 料金情報(支払いが完了している場合必須) | |
Array of objects (Metafields) 独自で設定したいカラム情報 |
{- "id": 1234567,
- "order_number": 1001,
- "status": "processing",
- "fulfillment_status": "fulfilled",
- "financial_status": "paid",
- "order_discount_amount": 100,
- "order_point_price": 100,
- "total_item_discount_amount": 100,
- "subtotal_price": 100,
- "total_shipping_price": "string",
- "total_discount": 100,
- "additional_fees_amount": 100,
- "total_price": 100,
- "total_tax": 100,
- "payment_at": "2023-05-10T12:00:00+09:00",
- "is_tax_included": true,
- "currency": "JPY",
- "quantity": 3,
- "created_at": "2023-05-10T12:00:00+09:00",
- "updated_at": "2023-05-12T10:30:00+09:00",
- "note": "テスト注文",
- "customer": {
- "customer_id": "1",
- "email": "test@recustomer.co",
- "last_name": "佐藤",
- "first_name": "太郎",
- "full_name": "佐藤 太郎",
- "phone_number": "000-####-####",
- "is_consent_email_marketing": false,
- "is_consent_sms_marketing": false,
- "purchase_times": 11,
- "customer_tags": [
- "test顧客",
- "一般会員"
], - "created_at": "2023-05-10T12:00:00+09:00",
- "updated_at": "2023-05-12T10:30:00+09:00",
- "metafields": [
- {
- "key": "coupon_code",
- "value": null
}
]
}, - "line_items": [
- {
- "id": "1000",
- "product_id": "product_id",
- "product_name": "テスト商品",
- "variant_id": "2538974832789",
- "sku": "product_id_S_Red",
- "item_discount_price": 100,
- "item_discount_amount": 100,
- "item_price": 100,
- "item_compare_at_price": 100,
- "item_cost": 100,
- "item_quantity": 1,
- "item_price_amount": 100,
- "item_tax_price": 100,
- "is_tax_included": true,
- "fulfillment_status": "null",
- "variant_options": [
- {
- "name": "カラー",
- "value": "レッド"
}
], - "created_at": "2023-05-10T12:00:00+09:00",
- "updated_at": "2023-05-12T10:30:00+09:00",
- "metafields": [
- {
- "key": "coupon_code",
- "value": null
}
]
}
], - "shipping_address": {
- "first_name": "太郎",
- "last_name": "佐藤",
- "full_name": "佐藤 太郎",
- "email": "test@recustomer.co",
- "phone_number": "000-####-####",
- "address": {
- "country_code": "JP",
- "postal_code": "1010024",
- "province": "東京都",
- "city": "千代田区",
- "address1": "神田和泉町1-8-11",
- "address2": "サン・センタービル5F"
}
}, - "billing_address": {
- "first_name": "太郎",
- "last_name": "佐藤",
- "full_name": "佐藤 太郎",
- "email": "test@recustomer.co",
- "phone_number": "000-####-####",
- "address": {
- "country_code": "JP",
- "postal_code": "1010024",
- "province": "東京都",
- "city": "千代田区",
- "address1": "神田和泉町1-8-11",
- "address2": "サン・センタービル5F"
}
}, - "fulfillments": [
- {
- "id": "1",
- "status": "pending",
- "tracking_company": "yamato",
- "tracking_number": "4983892",
- "fulfillment_line_items": [
- {
- "id": "1",
- "order_line_item_id": 1,
- "quantity": 2
}
], - "created_at": "2023-05-10T12:00:00+09:00",
- "updated_at": "2023-05-12T10:30:00+09:00"
}
], - "transactions": [
- {
- "id": "2",
- "parent_id": 1,
- "amount": 1000,
- "currency": "JPY",
- "status": "success",
- "gateway": "manual",
- "created_at": "2023-05-10T12:00:00+09:00",
- "updated_at": "2023-05-12T10:30:00+09:00"
}
], - "metafields": [
- {
- "key": "coupon_code",
- "value": null
}
]
}
{- "results": "success"
}
交換の際に必要な商品情報、及び在庫情報を取得します
product_id required | string 指定の商品ID |
api_token required | string Example: X12345678 認証用トークン |
{- "product_id": "product_id",
- "product_name": "テスト商品",
- "created_at": "2023-05-10T12:00:00+09:00",
- "updated_at": "2023-05-12T10:30:00+09:00",
- "variants": [
- {
- "variant_id": "2538974832789",
- "sku": "test-product",
- "name": "テスト商品",
- "quantity_in_stock": 0,
- "created_at": "2023-05-10T12:00:00+09:00",
- "updated_at": "2023-05-12T10:30:00+09:00",
- "variant_options": [
- {
- "name": "カラー",
- "value": "レッド"
}
]
}
]
}
注文情報を作成します
api_token required | string Example: X12345678 認証用トークン |
original_order_id required | string 元の注文ID |
order_discount_price required | string (OrderDiscountPricePost) 注文に対してのディスカウント(通常は0でPostします) |
order_point_price required | string (OrderPointPricePost) 注文に対してのポイント利用(通常は0でPostします) |
total_item_discount_amount required | string (TotalItemDiscountAmount) 商品ディスカウント合計 |
subtotal_price required | string (SubtotalPrice) 商品小計 |
total_shipping_price required | string (TotalShippingPricePost) 注文時の送料(通常は0でPostします) |
total_discount required | string (TotalDiscount) ディスカウント合計(order_discount_amount+order_point_price+total_item_discount_amount) |
total_price required | string (TotalPrice) 合計金額 |
total_tax required | string (TotalTax) 税 |
is_tax_included required | boolean total_amountが税を含む金額か |
currency required | string 通貨単位 |
required | Array of objects (OrderLineItem) 注文商品 |
required | object (ShippingAddress) 配送先住所 |
required | object (BillingAddress) 請求先住所 |
required | object (CustomerPost) 顧客情報 |
recustomer_request_id required | string Recustomerの返品リクエスト申請ID |
{- "original_order_id": "12345",
- "order_discount_price": 0,
- "order_point_price": 0,
- "total_item_discount_amount": 100,
- "subtotal_price": 100,
- "total_shipping_price": 0,
- "total_discount": 100,
- "total_price": 100,
- "total_tax": 100,
- "is_tax_included": true,
- "currency": "JPY",
- "line_items": [
- {
- "id": 1000,
- "original_item_id": "123",
- "product_id": "product_id",
- "product_name": "テスト商品",
- "variant_id": "2538974832789",
- "sku": "product_id_S_Red",
- "item_discount_price": 100,
- "item_discount_amount": 100,
- "item_price": 100,
- "item_compare_at_price": 100,
- "item_quantity": 1,
- "item_price_amount": 100,
- "item_tax_price": 100,
- "is_tax_included": true,
- "fulfillment_status": "null",
- "variant_options": [
- {
- "name": "カラー",
- "value": "レッド"
}
]
}
], - "shipping_address": {
- "first_name": "太郎",
- "last_name": "佐藤",
- "full_name": "佐藤 太郎",
- "email": "test@recustomer.co",
- "phone_number": "000-####-####",
- "address": {
- "country_code": "JP",
- "postal_code": "1010024",
- "province": "東京都",
- "city": "千代田区",
- "address1": "神田和泉町1-8-11",
- "address2": "サン・センタービル5F"
}
}, - "billing_address": {
- "first_name": "太郎",
- "last_name": "佐藤",
- "full_name": "佐藤 太郎",
- "email": "test@recustomer.co",
- "phone_number": "000-####-####",
- "address": {
- "country_code": "JP",
- "postal_code": "1010024",
- "province": "東京都",
- "city": "千代田区",
- "address1": "神田和泉町1-8-11",
- "address2": "サン・センタービル5F"
}
}, - "customer": {
- "email": "test@recustomer.co",
- "last_name": "佐藤",
- "first_name": "太郎",
- "full_name": "佐藤 太郎",
- "phone_number": "000-####-####"
}, - "recustomer_request_id": "#1001"
}
{- "id": 1234567,
- "order_number": 1001,
- "status": "processing",
- "fulfillment_status": "fulfilled",
- "financial_status": "paid",
- "order_discount_amount": 100,
- "order_point_price": 100,
- "total_item_discount_amount": 100,
- "subtotal_price": 100,
- "total_shipping_price": "string",
- "total_discount": 100,
- "additional_fees_amount": 100,
- "total_price": 100,
- "total_tax": 100,
- "payment_at": "2023-05-10T12:00:00+09:00",
- "is_tax_included": true,
- "currency": "JPY",
- "quantity": 3,
- "created_at": "2023-05-10T12:00:00+09:00",
- "updated_at": "2023-05-12T10:30:00+09:00",
- "note": "テスト注文",
- "customer": {
- "customer_id": "1",
- "email": "test@recustomer.co",
- "last_name": "佐藤",
- "first_name": "太郎",
- "full_name": "佐藤 太郎",
- "phone_number": "000-####-####",
- "is_consent_email_marketing": false,
- "is_consent_sms_marketing": false,
- "purchase_times": 11,
- "customer_tags": [
- "test顧客",
- "一般会員"
], - "created_at": "2023-05-10T12:00:00+09:00",
- "updated_at": "2023-05-12T10:30:00+09:00"
}, - "line_items": [
- {
- "id": "1000",
- "product_id": "product_id",
- "product_name": "テスト商品",
- "variant_id": "2538974832789",
- "sku": "product_id_S_Red",
- "item_discount_price": 100,
- "item_discount_amount": 100,
- "item_price": 100,
- "item_compare_at_price": 100,
- "item_cost": 100,
- "item_quantity": 1,
- "item_price_amount": 100,
- "item_tax_price": 100,
- "is_tax_included": true,
- "fulfillment_status": "null",
- "variant_options": [
- {
- "name": "カラー",
- "value": "レッド"
}
], - "created_at": "2023-05-10T12:00:00+09:00",
- "updated_at": "2023-05-12T10:30:00+09:00"
}
], - "shipping_address": {
- "first_name": "太郎",
- "last_name": "佐藤",
- "full_name": "佐藤 太郎",
- "email": "test@recustomer.co",
- "phone_number": "000-####-####",
- "address": {
- "country_code": "JP",
- "postal_code": "1010024",
- "province": "東京都",
- "city": "千代田区",
- "address1": "神田和泉町1-8-11",
- "address2": "サン・センタービル5F"
}
}, - "billing_address": {
- "first_name": "太郎",
- "last_name": "佐藤",
- "full_name": "佐藤 太郎",
- "email": "test@recustomer.co",
- "phone_number": "000-####-####",
- "address": {
- "country_code": "JP",
- "postal_code": "1010024",
- "province": "東京都",
- "city": "千代田区",
- "address1": "神田和泉町1-8-11",
- "address2": "サン・センタービル5F"
}
}, - "fulfillments": [
- {
- "id": "1",
- "status": "pending",
- "tracking_company": "yamato",
- "tracking_number": "4983892",
- "fulfillment_line_items": [
- {
- "id": "1",
- "order_line_item_id": 1,
- "quantity": 2
}
], - "created_at": "2023-05-10T12:00:00+09:00",
- "updated_at": "2023-05-12T10:30:00+09:00"
}
], - "transactions": [
- {
- "id": "2",
- "parent_id": 1,
- "amount": 1000,
- "currency": "JPY",
- "status": "success",
- "gateway": "manual",
- "created_at": "2023-05-10T12:00:00+09:00",
- "updated_at": "2023-05-12T10:30:00+09:00"
}
]
}
注文情報をキャンセルします
api_token required | string Example: X12345678 認証用トークン |
order_id required | string キャンセルする注文ID |
{- "order_id": 12345
}
{- "id": 1234567,
- "order_number": 1001,
- "status": "processing",
- "fulfillment_status": "fulfilled",
- "financial_status": "paid",
- "order_discount_amount": 100,
- "order_point_price": 100,
- "total_item_discount_amount": 100,
- "subtotal_price": 100,
- "total_shipping_price": "string",
- "total_discount": 100,
- "additional_fees_amount": 100,
- "total_price": 100,
- "total_tax": 100,
- "payment_at": "2023-05-10T12:00:00+09:00",
- "is_tax_included": true,
- "currency": "JPY",
- "quantity": 3,
- "created_at": "2023-05-10T12:00:00+09:00",
- "updated_at": "2023-05-12T10:30:00+09:00",
- "note": "テスト注文",
- "customer": {
- "customer_id": "1",
- "email": "test@recustomer.co",
- "last_name": "佐藤",
- "first_name": "太郎",
- "full_name": "佐藤 太郎",
- "phone_number": "000-####-####",
- "is_consent_email_marketing": false,
- "is_consent_sms_marketing": false,
- "purchase_times": 11,
- "customer_tags": [
- "test顧客",
- "一般会員"
], - "created_at": "2023-05-10T12:00:00+09:00",
- "updated_at": "2023-05-12T10:30:00+09:00"
}, - "line_items": [
- {
- "id": "1000",
- "product_id": "product_id",
- "product_name": "テスト商品",
- "variant_id": "2538974832789",
- "sku": "product_id_S_Red",
- "item_discount_price": 100,
- "item_discount_amount": 100,
- "item_price": 100,
- "item_compare_at_price": 100,
- "item_cost": 100,
- "item_quantity": 1,
- "item_price_amount": 100,
- "item_tax_price": 100,
- "is_tax_included": true,
- "fulfillment_status": "null",
- "variant_options": [
- {
- "name": "カラー",
- "value": "レッド"
}
], - "created_at": "2023-05-10T12:00:00+09:00",
- "updated_at": "2023-05-12T10:30:00+09:00"
}
], - "shipping_address": {
- "first_name": "太郎",
- "last_name": "佐藤",
- "full_name": "佐藤 太郎",
- "email": "test@recustomer.co",
- "phone_number": "000-####-####",
- "address": {
- "country_code": "JP",
- "postal_code": "1010024",
- "province": "東京都",
- "city": "千代田区",
- "address1": "神田和泉町1-8-11",
- "address2": "サン・センタービル5F"
}
}, - "billing_address": {
- "first_name": "太郎",
- "last_name": "佐藤",
- "full_name": "佐藤 太郎",
- "email": "test@recustomer.co",
- "phone_number": "000-####-####",
- "address": {
- "country_code": "JP",
- "postal_code": "1010024",
- "province": "東京都",
- "city": "千代田区",
- "address1": "神田和泉町1-8-11",
- "address2": "サン・センタービル5F"
}
}, - "fulfillments": [
- {
- "id": "1",
- "status": "pending",
- "tracking_company": "yamato",
- "tracking_number": "4983892",
- "fulfillment_line_items": [
- {
- "id": "1",
- "order_line_item_id": 1,
- "quantity": 2
}
], - "created_at": "2023-05-10T12:00:00+09:00",
- "updated_at": "2023-05-12T10:30:00+09:00"
}
], - "transactions": [
- {
- "id": "2",
- "parent_id": 1,
- "amount": 1000,
- "currency": "JPY",
- "status": "success",
- "gateway": "manual",
- "created_at": "2023-05-10T12:00:00+09:00",
- "updated_at": "2023-05-12T10:30:00+09:00"
}
]
}
配送ステータスの更新を通知します。
X-Recustomer-Signature-256 required | string^sha256=[a-fA-F0-9]{64}$ ペイロードのHMAC SHA256署名。データの完全性と送信元の認証を保証するためにヘッダーで提供される。署名は'sha256=signature'の形式と一致する必要があり、signatureは64文字の16進文字列である。 |
X-Recustomer-Sender-ID required | string Example: 1bad6b8cf97131fceab8543e81f7757195fbb1d36b376ee994ad1cf17699c464 このヘッダは、受信者がウェブフックの送信元を識別できるように、ウェブフックをトリガーした一意の識別子を含んでいます。 |
tracking_number required | string tracking number |
estimated_delivery_date | string order id |
latest_tracking_status required | string Enum: "荷物受付け" "配送中" "お届け完了" "荷物受取可能" "ご不在のため持ち戻り" "配送トラブル" "保管期限の超過" latest tracking status |
delivery_company required | string delivery company |
Array of objects |
{- "tracking_number": "string",
- "estimated_delivery_date": "string",
- "latest_tracking_status": "荷物受付け",
- "delivery_company": "string",
- "logistics_centers": [
- {
- "center": {
- "center_name": "string",
- "center_address": "string",
- "updated_at": "string",
- "status": "string"
}
}
]
}
{- "results": "string"
}
返品ステータスの更新を通知します。
X-Recustomer-Signature-256 required | string^sha256=[a-fA-F0-9]{64}$ ペイロードのHMAC SHA256署名。データの完全性と送信元の認証を保証するためにヘッダーで提供される。署名は'sha256=signature'の形式と一致する必要があり、signatureは64文字の16進文字列である。 |
X-Recustomer-Sender-ID required | string Example: 1bad6b8cf97131fceab8543e81f7757195fbb1d36b376ee994ad1cf17699c464 このヘッダは、受信者がウェブフックの送信元を識別できるように、ウェブフックをトリガーした一意の識別子を含んでいます。 |
id required | integer (Id) Return OrderのID |
order_number required | string (Order Number) 注文番号 |
request_id required | string (Request Id) リクエストのID |
created_at required | string <date-time> (Created At) 返品作成日時 |
refund_reject_reason | string (Refund Reject Reason) 返金拒否理由 |
approval_at | string <date-time> (Approval At) 返品承認日時 |
send_backed_at | string <date-time> (Send Backed At) 返送日時 |
reshipmented_at | string <date-time> (Reshipmented At) 再返送日時 |
exchanged_at | string <date-time> (Exchanged At) 交換日時 |
refunded_at | string <date-time> (Refunded At) 返金日時 |
completed_at | string <date-time> (Completed At) リクエスト完了日時 |
approval_status | string (Approval Status) Enum: "unapproved" "partially_unapproved" "approved" "partially_approved" "rejected" "deleted" 承認ステータス |
send_back_status | string (Send Back Status) Enum: "unarrived" "partially_unarrived" "accepted" "partially_accepted" "refused" "unnecessary" "expired" 返送ステータス |
reshipment_status | string (Reshipment Status) Enum: "unreshiped" "partially_unreshiped" "reshiped" 再返送ステータス |
exchange_status | string (Exchange Status) Enum: "unexchanged" "partially_unexchanged" "exchanged" "partially_exchanged" "rejected" 交換ステータス |
refund_status | string (Refund Status) Enum: "unrefunded" "processing" "refunded" "rejected" 返金ステータス |
payment_status | string (Payment Status) Enum: "unpaid" "processing" "paid" 決済ステータス |
exchange_slip_creation_status | string (Exchange Slip Creation Status) Enum: "uncreated" "partiallycreated" "created" 交換伝票発行ステータス |
required | Array of objects (Order Items) |
required | object (CustomerWebhook) |
object (AddressWebhook) | |
object (AddressWebhook) | |
object (RefundInfoWebhook) | |
is_archive required | boolean (Is Archive) |
{- "id": 1,
- "order_number": "#1001",
- "request_id": "#1001_01",
- "created_at": "2024-01-17 20:13:41.103117+00",
- "refund_reject_reason": "2024-01-17 20:13:41.103117+00",
- "approval_at": "2024-01-17 20:13:41.103117+00",
- "send_backed_at": "2024-01-17 20:13:41.103117+00",
- "reshipmented_at": "2024-01-17 20:13:41.103117+00",
- "exchanged_at": "2024-01-17 20:13:41.103117+00",
- "refunded_at": "2024-01-17 20:13:41.103117+00",
- "completed_at": "2024-01-17 20:13:41.103117+00",
- "approval_status": "unapproved",
- "send_back_status": "unarrived",
- "reshipment_status": "unreshiped",
- "exchange_status": "unexchanged",
- "refund_status": "unrefunded",
- "payment_status": "unpaid",
- "exchange_slip_creation_status": "uncreated",
- "order_items": [
- {
- "id": 1,
- "original_item_id": "A11",
- "sku": "sku123",
- "product_id": "product1234",
- "is_deleted": false,
- "item_name": "return item A",
- "item_price": 5000,
- "currency": "JPY",
- "item_result": {
- "id": 1,
- "approval_status": "unapproved",
- "send_back_status": "unarrived",
- "reshipment_status": "unreshiped",
- "resolution_method": "exchange",
- "item_status": "A品",
- "is_required_send_back": true,
- "is_customer_pay": true,
- "approval_reject_reason": "承認条件を満たしてない",
- "exchange_reject_reason": "交換条件を満たしてない",
- "memo": "在庫処分",
- "send_back_reject_reason": "リクエスト内容と異なる",
- "arrival_date": "2024-01-17"
}, - "options": [ ],
- "exchange_item": {
- "id": 1,
- "item_name": "exchange item A",
- "options": [
- {
- "key": "color",
- "value": "black"
}
], - "sku": "sku123",
- "item_price": 5000,
- "currency": "JPY",
- "exchange_status": "unexchanged",
- "exchange_slip_creation_status": "uncreated",
- "external_order_code": "order123"
}
}
], - "customer": {
- "id": 1,
- "email": "info@recustomer.co",
- "return_count": 2,
- "cancel_count": 2,
- "last_name": "山田",
- "first_name": "太郎",
- "full_name": "山田太郎",
- "phone_number": "08011112222",
- "is_consent_email_marketing": true,
- "is_consent_sms_marketing": true
}, - "shipping_address": {
- "last_name": "山田",
- "first_name": "太郎",
- "full_name": "山田太郎",
- "phone_number": "09012345678",
- "country_code": "JP",
- "postal_code": "100-0024",
- "province": "東京都",
- "city": "千代田区",
- "address1": "千代田1-1-1",
- "address2": "千代田ビル501"
}, - "billing_address": {
- "last_name": "山田",
- "first_name": "太郎",
- "full_name": "山田太郎",
- "phone_number": "09012345678",
- "country_code": "JP",
- "postal_code": "100-0024",
- "province": "東京都",
- "city": "千代田区",
- "address1": "千代田1-1-1",
- "address2": "千代田ビル501"
}, - "refund_info": {
- "id": 1,
- "payment_method": "クレジットカード",
- "refund_method": "API返金",
- "refund_sub_total": 10000,
- "tax": 1000,
- "suggested_amount": 11000,
- "fixed_amount": 11000,
- "discount_and_expenses": [
- {
- "id": 0,
- "suggested_amount": 0,
- "fixed_amount": 0,
- "discount_expenses_name": "返品手数料"
}
]
}, - "is_archive": true
}
{- "results": "string"
}