Guest User

JSON order document

a guest
May 10th, 2018
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 4.42 KB | None | 0 0
  1. {
  2.    "placingCustomerPartyId" : "DemoCustomer",
  3.    "shipToCustomerPartyId" : "DemoCustomer",
  4.    "orderItemShipGroupInfo" : {
  5.       "OrderItemShipGroup" : {
  6.          "contactMechId" : "9015",
  7.          "shipGroupSeqId" : "00001",
  8.          "shipmentMethodTypeId" : "NEXT_DAY",
  9.          "isGift" : "N",
  10.          "carrierPartyId" : "UPS"
  11.       },
  12.       "OrderAdjustment" : [
  13.          {
  14.             "orderAdjustmentTypeId" : "SHIPPING_CHARGES",
  15.             "amount" : "12.45",
  16.             "shipGroupSeqId" : "00001"
  17.          },
  18.          {
  19.             "overrideGlAccountId" : "224153",
  20.             "orderItemSeqId" : "00001",
  21.             "orderAdjustmentTypeId" : "SALES_TAX",
  22.             "attrs" : {
  23.                "taxAuthGeoId" : "UT",
  24.                "comments" : "Utah State Sales Tax",
  25.                "taxAuthPartyId" : "UT_TAXMAN",
  26.                "taxAuthorityRateSeqId" : "9004",
  27.                "amount" : "1.824"
  28.             },
  29.             "primaryGeoId" : "UT",
  30.             "shipGroupSeqId" : "00001",
  31.             "sourcePercentage" : "4.7"
  32.          },
  33.          {
  34.             "sourcePercentage" : "0.1",
  35.             "attrs" : {
  36.                "comments" : "Utah County, Utah Sales Tax",
  37.                "taxAuthGeoId" : "UT-UTAH",
  38.                "taxAuthorityRateSeqId" : "9005",
  39.                "amount" : "0.039",
  40.                "taxAuthPartyId" : "UT_UTAH_TAXMAN"
  41.             },
  42.             "primaryGeoId" : "UT-UTAH",
  43.             "shipGroupSeqId" : "00001",
  44.             "orderAdjustmentTypeId" : "SALES_TAX",
  45.             "overrideGlAccountId" : "224153",
  46.             "orderItemSeqId" : "00001"
  47.          },
  48.          {
  49.             "sourcePercentage" : "1",
  50.             "shipGroupSeqId" : "00001",
  51.             "attrs" : {
  52.                "taxAuthPartyId" : "_NA_",
  53.                "amount" : "0.384",
  54.                "taxAuthorityRateSeqId" : "9004",
  55.                "comments" : "1% OFB _NA_ Tax",
  56.                "taxAuthGeoId" : "_NA_"
  57.             },
  58.             "primaryGeoId" : "_NA_",
  59.             "orderAdjustmentTypeId" : "SALES_TAX",
  60.             "orderItemSeqId" : "00001",
  61.             "overrideGlAccountId" : "224000"
  62.          }
  63.       ],
  64.       "OrderItemShipGroupAssoc" : {
  65.          "orderItemSeqId" : "00001",
  66.          "shipGroupSeqId" : "00001",
  67.          "quantity" : 1
  68.       },
  69.       "OrderContactMech" : {
  70.          "contactMechPurposeTypeId" : "SHIPPING_LOCATION",
  71.          "contactMechId" : "9015"
  72.       }
  73.    },
  74.    "billToCustomerPartyId" : "DemoCustomer",
  75.    "billFromVendorPartyId" : "Company",
  76.    "orderTerms" : null,
  77.    "orderTypeId" : "SALES_ORDER",
  78.    "partyId" : "DemoCustomer",
  79.    "productStoreId" : "9000",
  80.    "orderAdjustments" : [
  81.       {
  82.          "orderAdjustmentTypeId" : "PROMOTION_ADJUSTMENT",
  83.          "amount" : "-3.84",
  84.          "productPromoId" : "9011",
  85.          "productPromoActionSeqId" : "01",
  86.          "productPromoRuleId" : "01"
  87.       }
  88.    ],
  89.    "orderPaymentInfo" : {
  90.       "OrderContactMech" : {
  91.          "contactMechPurposeTypeId" : "BILLING_LOCATION",
  92.          "contactMechId" : "9015"
  93.       },
  94.       "OrderPaymentPreference" : {
  95.          "maxAmount" : "49.26",
  96.          "paymentMethodId" : "9015",
  97.          "statusId" : "PAYMENT_NOT_AUTH",
  98.          "overflowFlag" : "N",
  99.          "paymentMethodTypeId" : "CREDIT_CARD"
  100.       }
  101.    },
  102.    "endUserCustomerPartyId" : "DemoCustomer",
  103.    "orderItems" : [
  104.       {
  105.          "attrs" : {
  106.             "unitListPrice" : "48.0",
  107.             "statusId" : "ITEM_CREATED",
  108.             "isModifiedPrice" : "N",
  109.             "isPromo" : "N",
  110.             "unitPrice" : "38.4"
  111.          },
  112.          "OrderItem" : {
  113.             "orderItemSeqId" : "00001",
  114.             "orderItemTypeId" : "PRODUCT_ORDER_ITEM",
  115.             "productId" : "GZ-2644",
  116.             "quantity" : "1",
  117.             "prodCatalogId" : "DemoCatalog",
  118.             "selectedAmount" : "0"
  119.          }
  120.       },
  121.       {
  122.          "attrs" : {
  123.             "unitPrice" : "1.99",
  124.             "isPromo" : "N",
  125.             "statusId" : "ITEM_CREATED",
  126.             "isModifiedPrice" : "N",
  127.             "unitListPrice" : "5.99"
  128.          },
  129.          "OrderItem" : {
  130.             "orderItemSeqId" : "00002",
  131.             "orderItemTypeId" : "PRODUCT_ORDER_ITEM",
  132.             "selectedAmount" : "0",
  133.             "quantity" : "1",
  134.             "productId" : "GZ-1006-1",
  135.             "prodCatalogId" : "DemoCatalog"
  136.          }
  137.       }
  138.    ],
  139.    "currencyUom" : "USD"
  140. }
Add Comment
Please, Sign In to add comment