Sample Payload

Update the following example cXML with the details of your supplier and order before posting.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE cXML SYSTEM "http://xml.cXML.org/schemas/cXML/1.2.020/Fulfill.dtd">
<cXML payloadID="i-am-a-payload-id" xml:lang="en-US" timestamp="2000-10-14">
	 <Header>
			<From>
				 <Credential domain="sSDzdfxfg">
						<Identity>fgsdhgjh</Identity>
				 </Credential>
			</From>
			<To>
				 <Credential domain="sgdf">
						<Identity>sdfdafdfg</Identity>
				 </Credential>
			</To>
			<Sender>
				 <Credential domain="sSDzdfxfg">
						<Identity>fgsdhgjh</Identity>
						<SharedSecret>abcde</SharedSecret>
				 </Credential>
				 <UserAgent>Random HTTP Agent</UserAgent>
			</Sender>
	 </Header>
	 <Request deploymentMode="production">
			<ShipNoticeRequest>
				 <ShipNoticeHeader shipmentID="Unique ID" noticeDate="Creation date of cXML ASN" shipmentDate="SHIPMENT START DATE" deliveryDate="SHIPMENT DELIVERY DATE">
						<!-- Date format:YYYY-MM-DD -->
						<!-- Get the Ship From details from CSP Legal Entity -->
						<Contact role="shipFrom" addressID="Optional unique code given for address in CSP Legal Entity">
							 <Name xml:lang="en-US">NAME OF LEGAL ENTITY</Name>
							 <PostalAddress>
									<Street />
									<City />
									<State />
									<PostalCode />
									<Country isoCountryCode="US">United States</Country>
							 </PostalAddress>
						</Contact>
						<Comments xml:lang="en-US">Got it all into one shipment.</Comments>
				 </ShipNoticeHeader>
				 <ShipControl>
						<CarrierIdentifier domain="SCAC">USPS</CarrierIdentifier>
						<CarrierIdentifier domain="companyName">USPS</CarrierIdentifier>
						<!-- Example Carrier Company names: USPS/UPS>FedEx etc, USPS has been tested successfully -->
						<ShipmentIdentifier>9405500000000000000000</ShipmentIdentifier>
						<!-- This example payload follows an accurate USPS tracking number format and has been tested successfully -->
				 </ShipControl>
				 <ShipNoticePortion>
						<!-- Get the OrderID/PayloadID from PO in Coupa enterprise -->
						<!-- OrderID refers to OrderID in Enterprise. PayloadID is ignored -->
						<OrderReference orderID="CT006319">
							 <DocumentReference payloadID="CT006319" />
						</OrderReference>
						<!-- Get the line number that we want to provide the ship notice along with the line quantity -->
						<ShipNoticeItem lineNumber="1" quantity="1">
							 <!-- PO Line Unit of Measure -->
							 <UnitOfMeasure>EA</UnitOfMeasure>
						</ShipNoticeItem>
				 </ShipNoticePortion>
			</ShipNoticeRequest>
	 </Request>
</cXML>