ACP Request Schemas
Use these request objects when submitting orders through the ACP API.A complete request
Everything below is one nested object. This is a valid submission with only the required fields plus routing:AcpOrderRequest
Customer
Address
LineItem
RoutingConfig
Set
fulfillmentProvider to "auto" unless you have a reason to pin a provider; auto selects
based on the shipping address and current inventory position.
Field notes
- Money and weight are numbers, not strings.
priceis the unit price, not the line total — the line total isprice × quantity. quantitymust be greater than zero, andlineItemsmust contain at least one item.stateandcountryCodeare codes, not names —"CA"and"US", not"California"and"United States".billingAddressdefaults toshippingAddress. Only send it when they genuinely differ.netsuiteIdandnetsuiteItemIdare optional pass-throughs. Supply them when you already hold the NetSuite internal IDs and want to skip a lookup on the ERP side.createdAtdefaults to now. Set it when backfilling so ordering and SLAs stay accurate.
Related
- ACP Endpoints — where to send this
- ACP — what the protocol is for
- Deploy an ACP handler