Skip to main content
Sitecore Documentation
  • Learn
  • Downloads
  • Changelog
  • Roadmap
CDPCloud Portal
Sitecore CDP Developer Documentation
  • Sitecore CDPでの開発
    • ベースURL
    • 応答コード
    • REST APIゲストv2.1
    • REST APIゲストデータ拡張v2.1
    • REST APIオーダー v2.1
    • REST API注文 連絡先v2.1
    • REST APIオーダーコンシューマー v2.1
    • REST APIオーダーデータ拡張v2.1
    • REST API注文アイテムデータ拡張v2.1
    • REST APIオーディエンス輸出
            • v2とv2.1の違い
            • 秩序の作成(レガシー)
            • 回収命令(レガシー)
            • 命令の取得(レガシー)
            • 注文の更新(レガシー)
  1. REST APIオーダー v2(レガシー)
  1. Sitecore CDP Developer Documentation
  2. REST API

命令の取得(レガシー)

日本語翻訳に関する免責事項

このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。

!重要このREST APIの新しいバージョン(v2.1)が利用可能です。このREST APIが初めてなら、新しいバージョンを使いましょう。あるいは、すでに古いバージョンを使っているなら、v2とv2.1の違いについて調 べてアップグレードしてみてください。

GET /v2/orders/

命令書を取り戻す。

属性

種類

概要

例

orderRef

ストリング

命令の参照。

注文の参照がわからない場合は、まず 注文を取り戻してください。

d680c9be-4c07-4731-857e-9602034b15f2

注文の取得:

curl -X GET '/v2/orders/d680c9be-4c07-4731-857e-9602034b15f2' \ -u ':' \ -H 'Accept: application/json'

expandを使って順序のorderItemsを取得する:

curl -X GET '/v2/orders/d680c9be-4c07-4731-857e-9602034b15f2?expand=orderItems' \ -u ':' \ -H 'Accept: application/json'

{ "href":"/v2/orders/d680c9be-4c07-4731-857e-9602034b15f2?expand=orderItems", "ref":"d680c9be-4c07-4731-857e-9602034b15f2", "createdAt":"2026-08-15T16:`00

`.554Z", "modifiedAt":"2026-08-21T16:`00
`.882Z", "orderedAt":"2026-08-15T16:`00
`.554Z", "price": 100.00, "currencyCode":"EUR", "referenceId": "B94TXY", "paymentType": "Card", "cardType": "Visa", "pointOfSale": "default", "channel": "WEB", "status": "PURCHASED", "contacts":{ "href":"/v2/orders/d680c9be-4c07-4731-857e-9602034b15f2/contacts" }, "consumers":{ "href":"/v2/orders/d680c9be-4c07-4731-857e-9602034b15f2/consumers" }, "orderItems":{ "href":"/v2/orders/d680c9be-4c07-4731-857e-9602034b15f2/orderItems", "offset"
, "limit"
, "items": { "href":"/v2/orderItems/d680c9be-4c07-4731-857e-9602034b15f2", "ref":"FECBB7ED-6DFE-4E8C-85A9-B894B17EF4F3", "createdAt":"2026-08-15T16:`00
`.554Z", "modifiedAt":"2026-08-21T16:`00
`.882Z", "type":"FLIGHT", "quantity"
, "productId":"DUB-LHR", "price"
.00, "currencyCode":"EUR", "originalPrice"
.00, "originalCurrencyCode":"USD", "referenceId":"B94TXY-item001", "status":"PURCHASED", "passengerTypeCode":"ADT", "flightSegments": { "origin":"DUB", "destination":"LHR", "departureDateTime":"2026-08-15T16:`00
`.000Z", "arrivalDateTime":"2026-08-15T17:`20
`.000Z", "flightNumber":"459", "fareClass":"Economy", "fareFamily":"Plus", "carrier":"BX", "operatingCarrier":"BX", "originDestination":"DUB-LHR" }, { "origin":"LHR", "destination":"LAS", "departureDateTime":"2026-08-15T20:`00
`.000Z", "arrivalDateTime":"2026-08-15T22:`40
`.000Z", "flightNumber":"460", "fareClass":"Economy", "fareFamily":"Plus", "carrier":"BX", "operatingCarrier":"BX", "originDestination":"LHR-LAS" }

} , "order":{ "href":"/v2/orders/d680c9be-4c07-4731-857e-9602034b15f2" } } }

この記事を改善するための提案がある場合は、 お知らせください!

© Copyright , Sitecore A/S or a Sitecore affiliated company.
All rights reserved.

Privacy policySitecore Trust CenterTerms of use
CDPCloud Portal