Pending Order Summaries (開発者プレビュー)
注文概要グラフから保留中の注文概要を作成します。高スケール注文機能が有効である必要がありますが、B2C Commerce 接続は不要です。作成された保留中の注文概要は、B2C Commerce から取り込まれた保留中の注文概要と同様に、キューに登録されて注文概要へと自動処理されます。
- リソース
-
1/commerce/order-summaries - 使用可能なバージョン
- 57.0
- Chatter が必要かどうか
- ×
- HTTP のメソッド
- POST
- POST のリクエストボディ
-
Order Summary Graphs Input
- ルート XML タグ
- <orderSummaryGraphs>
- JSON の例
-
1{ 2 "orderSummaryGraphs": [ 3 { 4 "orderSummaryGraphId": "ec2f9f4b-4bbb-4fac-bacd-5058c2a46a2e", 5 "purchaseSupportDetails": [ 6 { 7 "attributes": { 8 "attributes": { 9 "type": "Account" 10 }, 11 "RecordTypeId": "012xx0000005zmmAAA", 12 "Name": "John Smith", 13 "Phone": "(111)-111-1111" 14 }, 15 "referenceId": "refAccount" 16 }, 17 { 18 "attributes": { 19 "attributes": { 20 "type": "Contact" 21 }, 22 "AccountId": "@{refAccount.id}", 23 "FirstName": "John", 24 "LastName": "Smith", 25 "Email": "john.smith@example.com", 26 "Phone": "(111)-111-1111" 27 }, 28 "referenceId": "refContact" 29 } 30 ], 31 "purchaseDetails": [ 32 { 33 "attributes": { 34 "attributes": { 35 "type": "OrderSummary" 36 }, 37 "ExternalReferenceIdentifier": "ec2f9f4b-4bbb-4fac-bacd-5058c2a46a2e", 38 "OrderNumber": "order-12345", 39 "OrderLifeCycleType": "MANAGED", 40 "BillingEmailAddress": "john.smith@example.com", 41 "BillingPhoneNumber": "(111)-111-1111", 42 "OrderedDate": "2021-07-27T01:55:15.000Z", 43 "TotalAmount": "100", 44 "GrandTotalAmount": "100", 45 "Description": "Some description", 46 "AccountId": "@{refAccount.id}", 47 "BillToContactId": "@{refContact.id}", 48 "BillingCity":"Deerfield Beach", 49 "BillingPostalCode":"33442", 50 "BillingState":"FL", 51 "BillingStreet":"1166 Sample St" 52 }, 53 "referenceId": "refOrderSummary" 54 }, 55 { 56 "attributes": { 57 "attributes": { 58 "type": "OrderDeliveryGroupSummary" 59 }, 60 "EmailAddress": "john.smith@example.com", 61 "DeliverToCity": "Deerfield Beach", 62 "DeliverToCountry": "us", 63 "DeliverToName": "John Smith", 64 "DeliverToPostalCode": "33442", 65 "DeliverToState": "FL", 66 "DeliverToStreet": "1166 Sample St", 67 "PhoneNumber": "(111)-111-1111", 68 "OrderDeliveryMethodId": "2Dmx0000000007fCAA", 69 "OrderSummaryId": "@{refOrderSummary.id}" 70 }, 71 "referenceId": "refOrderDeliveryGroup" 72 }, 73 { 74 "attributes": { 75 "attributes": { 76 "type": "OrderItemSummary" 77 }, 78 "Description": "TORPEDO JACKET 1", 79 "Type": "Order Product", 80 "Quantity": 1, 81 "TotalLineAmount": 79.2, 82 "LineNumber": 1, 83 "UnitPrice": 79.2, 84 "ListPrice": 79.2, 85 "OrderSummaryId": "@{refOrderSummary.id}", 86 "OrderDeliveryGroupSummaryId": "@{refOrderDeliveryGroup.id}", 87 "Product2Id": "01tx0000000jCyKAAU" 88 }, 89 "referenceId": "refOrderItem_1" 90 }, 91 { 92 "attributes": { 93 "attributes": { 94 "type": "OrderItemTaxLineItemSummary" 95 }, 96 "Name": "2072100 - Tax", 97 "Type": "Estimated", 98 "Amount": 3.96, 99 "Rate": 0.05, 100 "TaxEffectiveDate": "2018-09-18T17:15:58.000Z", 101 "OrderItemSummaryId": "@{refOrderItem_1.id}", 102 "OrderSummaryId": "@{refOrderSummary.id}" 103 }, 104 "referenceId": "refrefOrderItem_1_OrderItemTaxLineItem_1" 105 } 106 ] 107 } 108 ] 109} - プロパティ
-
名前 種別 説明 必須か省略可能 使用可能なバージョン orderSummaryGraphs Order Summary Graph Input[] 注文概要データが含まれるグラフのリスト。 必須 57.0
- POST のレスポンスボディ
- Order Summary Graphs Output