Skip to main content
Sitecore Documentation
  • Learn
  • Downloads
  • Changelog
  • Roadmap
CDPCloud Portal
Sitecore CDP Developer Documentation
  • 開発Sitecore CDP
    • 認証
    • ベースURL
    • バッチ ファイルの書式設定要件
        • オフライン注文の送信
        • 注文データモデル
        • フライトの注文データモデル
        • 追加の注文データSend
        • 注文拡張データモデル
        • 注文品目データモデル
        • 追加の注文品目データSend
        • 注文品目拡張データモデル
        • フライト セグメント データ モデル
        • order deleteの使用
        • 注文削除データモデル
  1. バッチAPIオフライン注文
  1. バッチAPI
  2. バッチAPIオフライン注文
  3. order delete の使用

order deleteの使用

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

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

Sitecore CDP Batch APIのOrder Deleteエンドポイント を使用すると、注文と、その注文に関連付けられているすべての注文アイテムを削除できます。注文を削除すると、ゲスト プロフィールに表示されなくなります。この操作は元に戻せません。注文を削除した後は、その注文または関連する注文品目を取得することはできません。

Order Delete APIは、referenceId値とorderedAt値の組み合わせを使用して、削除する注文を識別します。これは、一部の組織ではreferenceId値をリサイクルするため、orderedAt値を提供することで、削除の正しい順序を確実に識別できるためです。

注文を削除するには、注文を含む バッチファイルをアップロード する必要があります。 deleteモードを使用する必要があります。

次に、Order Deleteエンドポイントは、referenceIdとorderedAtの値に一致する注文の検索を試みます。

  • Order Deleteエンドポイントが一致するreferenceId値を持つ1つの注文を見つけた場合、Order Deleteエンドポイントは200 ResponseOrder and associated entities deletedを返します。注文は、注文明細とともに完全に削除されます。

  • Order Deleteエンドポイントで同じreferenceId値を持つ複数の注文が見つかり、orderedAt値に日付を指定しなかった場合、Order Deleteエンドポイントは400 Response More than one order exists with that referenceId, please supply the orderedAt date for the order you wish to deleteを返します。

  • Order Deleteエンドポイントが、指定されたreferenceId値とorderedAt値を持つオーダーを見つけられない場合、Order Deleteエンドポイントは404レスポンスNo order found for the provided referenceId and orderedAt attributesを返します。

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

Documentation Assistant

This assistant uses AI to generate responses based on Sitecore documentation. While it has access to official sources, answers may be incomplete or inaccurate and should not be considered official advice or support.
Powered by
k
kapa.ai
Protected by reCAPTCHA

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

Privacy policySitecore Trust CenterTerms of use