Skip to main content

ACP Request Schemas

Use these request objects when submitting orders through the ACP API.

AcpOrderRequest

FieldTypeRequiredDescription
orderIdstringYesUnique order identifier from source system
orderNumberstringYesDisplay order number
sourcestringNoSource system (default: “agent”)
customerCustomerYesCustomer information
shippingAddressAddressYesShipping destination
billingAddressAddressNoBilling address (defaults to shipping)
lineItemsLineItem[]YesOrder line items (min 1)
createdAtdatetimeNoOrder timestamp (default: now)
tagsstring[]NoTags for categorization
shippingMethodstringNoRequested shipping method
notesstringNoOrder notes/instructions
routingRoutingConfigNoControl where order is sent
metadataobjectNoAdditional custom data

Customer

FieldTypeRequiredDescription
idstringNoCustomer ID in source system
emailstringYesCustomer email
firstNamestringYesFirst name
lastNamestringYesLast name
phonestringNoPhone number
netsuiteIdstringNoNetSuite customer internal ID

Address

FieldTypeRequiredDescription
namestringYesFull name
companystringNoCompany name
address1stringYesStreet address line 1
address2stringNoStreet address line 2
citystringYesCity
statestringYesState/province code
postalCodestringYesZIP/postal code
countryCodestringYes2-letter country code (e.g., “US”)
phonestringNoPhone number

LineItem

FieldTypeRequiredDescription
skustringYesProduct SKU
titlestringYesProduct title
quantitynumberYesQuantity (must be > 0)
pricenumberYesUnit price
variantIdstringNoVariant ID from source system
netsuiteItemIdstringNoNetSuite item internal ID
weightnumberNoWeight in pounds

RoutingConfig

FieldTypeDefaultDescription
sendToFulfillmentbooleantrueSend to DCL/Cart.com
sendToErpbooleantrueSend to NetSuite
createInStatesetbooleantrueCreate in StateSet
fulfillmentProviderstring”auto""dcl”, “cart”, or “auto”
dclLocationstringnullOverride DCL warehouse location