rocket
Content API for Shopping の正式な後継である
Merchant API をご紹介します。
update
Merchant API の新機能、バグの修正、更新に関する
最新情報を入手してください。
add_alert
注: Content API for Shopping は 2026 年 8 月 18 日に廃止されます。
注文追跡シグナル
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
注文追跡シグナルを使用すると、販売者のサイトで完了した注文に関する過去の注文追跡データを Google に提供できます。これにより、購入者はより正確な配送予定日を確認できます。注文追跡シグナルを使用すると、無料で迅速な配送のアノテーションをリスティングに追加することもできます。
販売者のサイトで完了した注文のデータを送信できます。送信するデータは、Merchant Center アカウントの設定で指定する配送設定情報を補完するものです。たとえば、購入者に 3 ~ 7 日の配送予定日を提示している場合でも、最近の注文追跡履歴で一部の地域では通常 3 日で商品が届いていることが示されている場合、Google はリスティングを更新して、より正確な配送予定日を購入者に提示できます。
このガイドでは、ordertrackingsignals
サービスを使用して過去の注文追跡データを送信する方法について説明します。
ordertrackingsignals
サービスを使用する
ordertrackingsignals
サービスには 1 つの create
エンドポイントが含まれており、過去の注文追跡データを送信できます。配送時間を検証できるように、配送済みの注文のデータのみを送信してください。リクエストごとに 1 つの注文を送信できます。リクエスト本文で、次の情報を送信できます。
必須の注文追跡フィールドとオプションの注文追跡フィールドの詳細については、ordertrackingsignals
リソースのリファレンス ドキュメントをご覧ください。
新しい注文追跡シグナル データを送信する
新しい注文追跡データを送信するリクエストの例を次に示します。
https://shoppingcontent.googleapis.com/content/v2.1/merchantId/ordertrackingsignals
{
"merchantId": "987654321",
"orderCreatedTime": {
"year": 2020,
"month": 1,
"day": 2,
"hours": 0,
"minutes": 0,
"seconds": 0,
"timeZone": {
"id": "America/Los_Angeles"
}
},
"orderId": "123456789",
"shippingInfo": [
{
"shipmentId": "1",
"trackingId": "100",
"carrierName": "FEDEX",
"carrierServiceName": "GROUND",
"shippedTime": {
"year": 2020,
"month": 1,
"day": 3,
"hours": 0,
"minutes": 0,
"seconds": 0,
"timeZone": {
"id": "America/Los_Angeles"
}
},
"shippingStatus": "DELIVERED"
},
{
"shipmentId": "2",
"earliestDeliveryPromiseTime": {
"year": 2020,
"month": 1,
"day": 4,
"hours": 0,
"minutes": 0,
"seconds": 0,
"timeZone": {
"id": "America/Los_Angeles"
}
},
"latestDeliveryPromiseTime": {
"year": 2020,
"month": 1,
"day": 5,
"hours": 0,
"minutes": 0,
"seconds": 0,
"timeZone": {
"id": "America/Los_Angeles"
}
},
"actualDeliveryTime": {
"year": 2020,
"month": 1,
"day": 5,
"hours": 0,
"minutes": 0,
"seconds": 0,
"timeZone": {
"id": "America/Los_Angeles"
}
},
"shippedTime": {
"year": 2020,
"month": 1,
"day": 3,
"hours": 0,
"minutes": 0,
"seconds": 0,
"timeZone": {
"id": "America/Los_Angeles"
}
},
"shippingStatus": "DELIVERED"
}
],
"lineItems": [
{
"lineItemId": "item1",
"productId": "online:en:US:item1",
"quantity": "3"
},
{
"lineItemId": "item2",
"productId": "online:en:US:item2",
"quantity": "5"
}
],
"shipmentLineItemMapping": [
{
"shipmentId": "1",
"lineItemId": "item1",
"quantity": "1"
},
{
"shipmentId": "2",
"lineItemId": "item1",
"quantity": "2"
},
{
"shipmentId": "1",
"lineItemId": "item2",
"quantity": "4"
},
{
"shipmentId": "2",
"lineItemId": "item2",
"quantity": "1"
}
],
"customerShippingFee": {
"value": "4.5",
"currency": "USD"
},
"deliveryPostalCode": "94043",
"deliveryRegionCode": "US"
}
既存の注文追跡シグナル データを更新する
すでに送信した注文追跡データを変更するには、同じ orderId
を含む新しいデータのリクエストを送信します。配送予定と「迅速かつ無料」バッジについては、各 orderId
の最新の送信データのみが使用されます。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-08-13 UTC。
[null,null,["最終更新日 2025-08-13 UTC。"],[[["\u003cp\u003eThe Merchant API is the new version of the Content API for Shopping and improves integration.\u003c/p\u003e\n"],["\u003cp\u003eOrder tracking signals allow providing Google with historical order tracking data for more accurate shipping estimates and free and fast shipping annotations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eordertrackingsignals\u003c/code\u003e service enables submitting historical order tracking data for completed orders to enhance shipping estimates.\u003c/p\u003e\n"],["\u003cp\u003eData submission includes order details, shipping costs, carrier information, and line item details.\u003c/p\u003e\n"],["\u003cp\u003eData can be updated by submitting a new request with the same \u003ccode\u003eorderId\u003c/code\u003e, with the most recent data used for shipping estimates.\u003c/p\u003e\n"]]],["The Merchant API's beta version is introduced, alongside the `ordertrackingsignals` service. This service allows merchants to submit historical order tracking data via the `create` endpoint. Submitted data includes order details, shipping costs, shipping information, line items, and shipment mappings. This improves shipping estimates and enables free and fast shipping annotations on listings. Merchants can update data by resubmitting with the same `orderId`. Only delivered orders should be submitted.\n"],null,["# Order tracking signals let you provide Google with your historical order\ntracking data for orders completed through a merchant's site. This provides\nbuyers more precise and accurate shipping estimates. Order tracking signals\nalso let you enhance your listings with [free and fast shipping\nannotations](//support.google.com/merchants/answer/9780562).\n\nYou can submit data for orders completed through a merchant's site.\nThe data that you submit compliments the shipping\nconfiguration information that you provide as part of your Merchant Center\naccount setup. For example, if you provide buyers with shipping estimates of\n3-7 days, but your recent historical order tracking indicates that your orders\ntypically arrive in 3 days in some regions, Google can update your listings to\nprovide customers with a more precise estimate.\n\nThis guide explains how to use the `ordertrackingsignals` service to submit your\nhistorical order tracking data.\n\nUse the `ordertrackingsignals` service\n--------------------------------------\n\nThe `ordertrackingsignals` service includes a single `create` endpoint, which\nallows you to submit your historical order tracking data. Only submit data for\norders that have been delivered, so that we can verify shipping times. You can\nsubmit one order per request. In the request body you can submit the following\ninformation:\n\n- Order information, including the order ID and the order creation time, delivery postal code, and region code\n- Shipping cost charged to the buyer (`customer_shipping_fee`)\n- Shipping information (`shippingInfo`) including the carrier, tracking, origin, destination, and shipping times for each shipment associated with the order\n- Order line item information (`lineItems`), including the products in the order\n- A mapping of the order line items to order shipments (`shipment_line_item_mapping`)\n- The merchant ID of the merchant for which you are submitting data\n (`merchant_id`). This field is optional and allows you to provide data on behalf\n of another merchant. If you do not provide a value for this field, the data is\n associated with the account that submits it.\n\n | **Note:** You must be enabled before you can submit data on behalf of another merchant. To request access, contact us at [OrderTrackingSignals@google.com](mailto:OrderTrackingSignals@google.com).\n\nFor more information on required and optional order tracking fields, see the\nreference documentation for the\n[`ordertrackingsignals`](/shopping-content/reference/rest/v2.1/ordertrackingsignals)\nresource.\n\n### Submit new order tracking signals data\n\nHere's a sample request to submit new order tracking data: \n\n https://shoppingcontent.googleapis.com/content/v2.1/\u003cvar translate=\"no\"\u003e\u003cspan class=\"devsite-syntax-n\"\u003emerchantId\u003c/span\u003e\u003c/var\u003e/ordertrackingsignals\n\n {\n \"merchantId\": \"987654321\",\n \"orderCreatedTime\": {\n \"year\": 2020,\n \"month\": 1,\n \"day\": 2,\n \"hours\": 0,\n \"minutes\": 0,\n \"seconds\": 0,\n \"timeZone\": {\n \"id\": \"America/Los_Angeles\"\n }\n },\n \"orderId\": \"123456789\",\n \"shippingInfo\": [\n {\n \"shipmentId\": \"1\",\n \"trackingId\": \"100\",\n \"carrierName\": \"FEDEX\",\n \"carrierServiceName\": \"GROUND\",\n \"shippedTime\": {\n \"year\": 2020,\n \"month\": 1,\n \"day\": 3,\n \"hours\": 0,\n \"minutes\": 0,\n \"seconds\": 0,\n \"timeZone\": {\n \"id\": \"America/Los_Angeles\"\n }\n },\n \"shippingStatus\": \"DELIVERED\"\n },\n {\n \"shipmentId\": \"2\",\n \"earliestDeliveryPromiseTime\": {\n \"year\": 2020,\n \"month\": 1,\n \"day\": 4,\n \"hours\": 0,\n \"minutes\": 0,\n \"seconds\": 0,\n \"timeZone\": {\n \"id\": \"America/Los_Angeles\"\n }\n },\n \"latestDeliveryPromiseTime\": {\n \"year\": 2020,\n \"month\": 1,\n \"day\": 5,\n \"hours\": 0,\n \"minutes\": 0,\n \"seconds\": 0,\n \"timeZone\": {\n \"id\": \"America/Los_Angeles\"\n }\n },\n \"actualDeliveryTime\": {\n \"year\": 2020,\n \"month\": 1,\n \"day\": 5,\n \"hours\": 0,\n \"minutes\": 0,\n \"seconds\": 0,\n \"timeZone\": {\n \"id\": \"America/Los_Angeles\"\n }\n },\n \"shippedTime\": {\n \"year\": 2020,\n \"month\": 1,\n \"day\": 3,\n \"hours\": 0,\n \"minutes\": 0,\n \"seconds\": 0,\n \"timeZone\": {\n \"id\": \"America/Los_Angeles\"\n }\n },\n \"shippingStatus\": \"DELIVERED\"\n }\n ],\n \"lineItems\": [\n {\n \"lineItemId\": \"item1\",\n \"productId\": \"online:en:US:item1\",\n \"quantity\": \"3\"\n },\n {\n \"lineItemId\": \"item2\",\n \"productId\": \"online:en:US:item2\",\n \"quantity\": \"5\"\n }\n ],\n \"shipmentLineItemMapping\": [\n {\n \"shipmentId\": \"1\",\n \"lineItemId\": \"item1\",\n \"quantity\": \"1\"\n },\n {\n \"shipmentId\": \"2\",\n \"lineItemId\": \"item1\",\n \"quantity\": \"2\"\n },\n {\n \"shipmentId\": \"1\",\n \"lineItemId\": \"item2\",\n \"quantity\": \"4\"\n },\n {\n \"shipmentId\": \"2\",\n \"lineItemId\": \"item2\",\n \"quantity\": \"1\"\n }\n ],\n \"customerShippingFee\": {\n \"value\": \"4.5\",\n \"currency\": \"USD\"\n },\n \"deliveryPostalCode\": \"94043\",\n \"deliveryRegionCode\": \"US\"\n }\n\n### Update existing order tracking signals data\n\nTo modify already submitted order tracking data, submit a request that contains\nnew data with the same `orderId`. For shipping estimates and fast and free\nbadging, only the most recently submitted data for each `orderId` is used."]]