Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

JSON Schema

OpenAPI

Sample Data

...

Include Page
SME Files
SME Files

Sample JSON instance (message payload)

Code Block
languagejson
{
  "priceList": {
    "typeCode": "Retail Pricing",
    "actionCode": "Add",
    "priceListHeader": {
      "identifier": "6ce62e7d-60ad-45be-8d90-724b73961695",
      "lastModificationDateTime": "2020-09-18T08:33:04-05:00",
      "effectiveTimePeriod": {
        "startDateTime": "2020-01-03T08:00:04-05:00",
        "endDateTime": "2020-12-31T08:00:04-05:00"
      },
      "publisherParty": {
        "typeCode": "Retailer",
        "identifier": "string",
        "name": "WinField United"
      },
      "customerParty": {
        "typeCode": "Farmer",
        "identifier": "bbd54bfd-73c5-4362-b33b-87e4b3211231",
        "name": "Farmer Bob"
      },
      "priceListQualifier": {
        "catalogReference": {
          "identifier": "23213232"
        }
      }
    },
    "priceListLine": [
      {
        "lineNumberIdentifier": "1",
        "note": "Please refer to the product label for details",
        "attachment": [
          {
            "typeCode": "application/pdf",
            "uri": "https://product.vendor.com/sds/2343434",
            "description": "Safety Data Sheet"
          }
        ],
        "item": {
          "identifier": "4343",
          "upcid": "19687845154",
          "gtinid": "0019687845154",
          "description": "Case of Joe's Widgets",
          "packaging": {
            "typeCode": "CS",
            "description": "Case"
          }
        },
        "quantity": {
          "content": 45,
          "typeCode": "Available",
          "unitCode": "CS"
        },
        "commodityClassification": {
          "typeCode": "Crop Protection",
          "unspscCode": "12352107",
          "codes": {
            "code": [
              {
                "content": "Emulsifier",
                "listIdentifier": "CPP",
                "listAgencyIdentifier": "AgGateway",
                "listVersionIdentifier": "2.0"
              }
            ]
          }
        },
        "unitPrice": {
          "unitAmount": {
            "content": 25.05,
            "currencyCode": "USD"
          }
        },
        "priceBreak": [
          {
            "discountPercent": ".05",
            "priceBreakQuantity": {
              "content": 50,
              "unitCode": "CS"
            },
            "priceBreakAmount": {
              "content": 8,
              "currencyCode": "USD"
            },
            "description": "50 cases would transition to full pallet pricing",
            "extension": {}
          }
        ],
        "lastModificationDateTime": "2021-03-12T20:33:04.065Z"
        ]
      }
    ]
  }
}

...