[v2.6] PurchaseOrder

Overview

This endpoint provides the ability to create or edit purchase orders within SCC. 


POST /PurchaseOrder


 Request Body
 purchaseOrder

Represents the purchase order structure.

PropertyData TypeNotes
requestedDatestring

Gets or sets the requested date.

  • date-time
confirmedDatestring

Gets or sets the confirmed date.

  • date-time
freightTermenum

Gets or sets the freight term.

  • Shipper
  • Receiver
  • Consignee
  • ThirdParty
currencyCodeenum

Gets or sets the currency code.

USD, CAD, AUD, GBP, EUR, DKK, SEK, NOK, CZK, CHF, HUF, PLN, MXN, PHP, SAR, JPY, AFN, ALL, DZD, AOA, XCD, ARS, AMD, AWG, AZN, BSD, BHD, BDT, BBD, BYN, BZD, XOF, BMD, INR, BTN, BOB, BOV, BAM, BWP, BRL, BND, BGN, BIF, CVE, KHR, XAF, KYD, CLP, CLF, CNY, COP, COU, KMF, CDF, NZD, CRC, CUP, CUC, ANG, DJF, DOP, EGP, SVC, ERN, SZL, ETB, FKP, FJD, XPF, GMD, GEL, GHS, GIP, GTQ, GNF, GYD, HTG, HNL, HKD, ISK, IDR, XDR, IRR, IQD, ILS, JMD, JOD, KZT, KES, KPW, KRW, KWD, KGS, LAK, LBP, LSL, ZAR, LRD, LYD, MOP, MKD, MGA, MWK, MYR, MVR, MRU, MUR, XUA, MXV, MDL, MNT, MAD, MZN, MMK, NAD, NPR, NIO, NGN, OMR, PKR, PAB, PGK, PYG, PEN, QAR, RON, RUB, RWF, SHP, WST, STN, RSD, SCR, SLL, SLE, SGD, XSU, SBD, SOS, SSP, LKR, SDG, SRD, CHE, CHW, SYP, TWD, TJS, TZS, THB, TOP, TTD, TND, TRY, TMT, UGX, UAH, AED, USN, UYU, UYI, UYW, UZS, VUV, VES, VED, VND, YER, ZMW, ZWL, XBA, XBB, XBC, XBD, XTS, XXX, XAU, XPD, XPT, XAG

purchaseOrderDatestring

Gets or sets the purchase order date.

  • date-time
productionShipToWarehouseIdstringGets or sets the production ship to warehouse ID.
allowConsolidationboolean

Gets or sets a value indicating whether consolidation is allowed.



 shipFromAddress

Gets or sets the address to ship from.

PropertyData TypeNotes
name
stringmax length: 100
companystringmax length: 150
attentionTostringmax length: 150
addressLinesstring
citystringmax length: 150
postalCodestringmax length: 15
stateProvinceCodestringmax length: 5
countrystring
countryCodestringmax length: 5
phoneNumberstringmax length: 20
residentialboolean
taxIdstring
emailAddressstringmax length: 400
county

string


max length: 30


 identificationNumbers
PropertyData TypeNotes
vatstring
eoristring
 systemAttributes

Gets or sets the list of associated system attributes.

PropertyData TypeNotes
attributeNamestringGets or sets the attribute name.
attributeDescriptionstringGets or sets the attribute description.
valuestringGets or sets the system attribute value.
 lines

Gets or sets the purchase order lines.

PropertyData TypeNotes
lineNumberinteger

Gets or sets the line number.

  • int32
hostItemstringGets or sets the host item.
requestedQuantitynumber

Gets or sets the requested quantity.

  • decimal
confirmedQuantitynumber

Gets or sets the confirmed quantity.

  • decimal
requestedUnitPricenumber

Gets or sets the requested unit price.

  • decimal
confirmedUnitPricenumber

Gets or sets the confirmed unit price.

  • decimal
quantityUomstringGets or sets the quantity UOM.
productionItemNumberstringGets or sets the production item number.
requestedDatestring

Gets or sets the requested date.

  • date-time
confirmedDatestring

Gets or sets the confirmed date.

  • date-time


 shipToAddress

Gets or sets the address to ship to.

PropertyData TypeNotes
name
stringmax length: 100
companystringmax length: 150
attentionTostringmax length: 150
addressLinesstring
citystringmax length: 150
postalCodestringmax length: 15
stateProvinceCodestringmax length: 5
countrystring
countryCodestringmax length: 5
phoneNumberstringmax length: 20
residentialboolean
taxIdstring
emailAddressstringmax length: 400
county

string


max length: 30


 identificationNumbers
PropertyData TypeNotes
vatstring
eoristring
 systemAttributes

Gets or sets the associated system attributes.

PropertyData TypeNotes
attributeNamestringGets or sets the attribute name.
attributeDescriptionstringGets or sets the attribute description.
valuestringGets or sets the system attribute value.
 transaction

Defines the purchase order transaction data structure.

PropertyData TypeNotes
workflowTransactionCodestring

Gets or sets the workflow transaction code.

referenceNumstringGets or sets the reference number.
externalReferenceNumstring
Gets or sets the external reference number.
notestring

Gets or sets the note.

reasonCodestringGets or sets the reason code.
transactionTypestringGets or sets the transaction type.
businessTransactionTypeenum
  • PurchaseOrder
  • Shipment
  • TransportationTender
  • FreightInvoice


 tradingPartners

Gets or sets the list of business transaction partners.

PropertyData TypeNotes
name
stringGets or sets the name.
typeenum

Gets or sets the trading partner type.

  • Vendor
  • Carrier
isPrimarybooleanGets or sets a value indicating whether the business transaction partner is primary.

 Response


PropertyData TypeNotes
businessTransactionReferenceNumstring
businessTransactionStatusstring



Feedback

Submit feedback.