Send order response
As a supplier, you can send a purchase order response to your buyer.
Order process
Section titled “Order process”As a supplier, you have three possible ways to respond to an order:
- Detailed response: Send an order response with lines containing their position, confirmed delivery schedule, and prices
- Line-level acceptance: Send an order response with lines containing their position and line-level accept or reject indicators
- Header-level acceptance: Send an order response with header-level accept or reject indicators, and lines containing only their positions
After sending an order response, the order line process status may change based on the current status:
Status: Issued
Section titled “Status: Issued”The order line will become:
Confirmedif:- The
acceptedindicator is set, OR - Responded delivery schedule and prices match the requested values
- The
Rejectedif therejectedindicator is setInProgressif responded values differ from requested values (creates a proposal task for the buyer)
Status: InProgress
Section titled “Status: InProgress”The order line will become:
Confirmedif:- The
acceptedindicator is set, OR - Responded delivery schedule and prices match the requested values, OR
- The line has an open supplier reopen request and responded values match the confirmed values again (reverts the reopen) – see Revert a reopen request
- The
Rejectedif therejectedindicator is set- Stays
InProgressif responded values still differ from requested values
Status: Confirmed
Section titled “Status: Confirmed”The order line will:
- Become
InProgressif responded values differ from confirmed values (creates a reopen request task for the buyer) - Stay
Confirmedif responded values match the confirmed values
Status: Completed or Cancelled
Section titled “Status: Completed or Cancelled”The process status will not change.
Endpoint
Section titled “Endpoint”Use the Send order response endpoint to send an order response to Tradecloud.
HTTP status code 200 or 202 means the order response was successfully verified or queued.
Processing typically takes less than a second, after which:
- The provided buyer account number and purchase order number have been verified.
- The order response appears in the portal.
- The response is forwarded to the buyer’s ERP integration.
Order fields
Section titled “Order fields”Required order fields
Section titled “Required order fields”buyerAccountNumber: your buyer’s account number as known in your ERP system- Must be set in the Tradecloud portal after the connection is accepted
- Must be unique within your company
purchaseOrderNumber: the purchase order number sent by the buyerlines: Each order response must contain one or more lines
Optional order fields
Section titled “Optional order fields”companyId: Tradecloud company identifier- Only needed if your integration user has multiple company authorizations
contact.email: email of the supplier employee responsible for this order- The user must be active in Tradecloud
description: additional description of this orderindicators.accepted: accept all lines in this response as-is.- Order lines with positions are required.
- Delivery schedule and prices will be ignored for these lines
- Line-level indicators override this header indicator when present
indicators.rejected: reject all lines in this response- Order lines with positions are required.
- Delivery schedule and prices will be ignored for these lines
- Line-level indicators override this header indicator when present
properties: key-value custom fields- use
\nfor new lines
- use
notes: simple text notes- use
\nfor new lines
- use
Required line fields
Section titled “Required line fields”purchaseOrderLinePosition: must match the position sent by the buyer
Optional line fields
Section titled “Optional line fields”Responded delivery schedule
Section titled “Responded delivery schedule”At least one delivery schedule line is required:
position: optional position in the delivery schedule- Echo the
positionfrom the buyer, OR leave empty - For new split delivery lines:
- Leave the position empty - the buyer will assign it
- Append new delivery lines at the end
- Provide a
reason
- Echo the
date: delivery date in ISO 8601 format (yyyy-MM-dd)- Can be left empty if unknown
- Provide a
reasonif different from the requested date
quantity: delivery quantity in decimal format (e.g.,1234.56)- Can be left empty if unknown
- Provide a
reasonif different from the requested quantity
Responded prices
Section titled “Responded prices”Recommended: Use netPrice for simplicity, or use grossPrice +
discountPercentage.
netPriceORgrossPrice+discountPercentage:priceInTransactionCurrency: requiredvalue: decimal format (e.g.,1234.56)currencyIso: 3-letter ISO 4217 code (e.g.,EUR,USD,CNY)
priceInBaseCurrency: optionalvalue: decimal format (e.g.,1234.56)currencyIso: 3-letter ISO 4217 code
priceUnitOfMeasureIso: price unit of measure, passed through as-is. No standard is enforced; UN/ECE Recommendation No. 20 is recommended if you want a standard- Copied from buyer if empty
priceUnitQuantity: quantity at which price applies (typically1or100)- Copied from buyer if empty
Responded charge lines
Section titled “Responded charge lines”Other line fields
Section titled “Other line fields”description: additional description of this lineindicators.accepted: accept the line as-is- Delivery schedule, prices, and header indicators are ignored
indicators.rejected: reject the line- Delivery schedule, prices, and header indicators are ignored
reason: explanation when:- The line is rejected
- Responded values differ from requested or confirmed values
- Splitting in the delivery schedule
properties: key-value custom fields- use
\nfor new lines
- use
notes: simple text notes- use
\nfor new lines
- use
Item Details
Section titled “Item Details”You can check, change, or add item details if the buyer’s information is incorrect or incomplete:
countryOfOriginCodeIso2: ISO 3166-1 alpha-2 country code of origincombinedNomenclatureCode: goods classification code for customs and trade statisticsnetWeight: net weight of one itemnetWeightUnitOfMeasureIso: net weight unit of measure, passed through as-is. Mandatory when netWeight is provided. No standard is enforced; UN/ECE Recommendation No. 20 is recommended if you want a standarddangerousGoodsCodeUnece: UN number for dangerous goods (4-digit)serialNumber: unique sequential identifier for the itembatchNumber: identification number for a quantity/lot from a manufacturer
Order response metadata
Section titled “Order response metadata”erpResponseDateTime: date/time the order was responded in your ERP (ISO 8601 format:yyyy-MM-ddTHH:mm:ss)erpRespondedBy: email or username of the person who responded to this order in your ERP
