v1
latestOpenAPI 3.0.32026-07-24614422630.2 KBOrders
Create an order
creates an order with the specified parameters. On success the order id is returned.
post/orders
Query parameters
isDryRunboolean
indicates whether this order should be persisted.
populateMissingLinesboolean
indicates whether an amendment should populate missing lines not provided here.
Request body
Example request
{
"id": "ORD-AXBY123",
"externalId": "EXT-456789",
"name": "CreativePro Monthly Subscription Order",
"accountId": "ACCT-ADE4567",
"orderType": "NEW",
"paymentTerm": "NET30",
"subscriptionId": "SUB-BCDE123",
"shippingContactId": "CONT-XYZ7891",
"billingContactId": "CONT-ABC1234",
"startDate": 1672531200,
"endDate": 1704067200,
"executedOn": 1672617600,
"billingTerm": "UP_FRONT",
"billingAnchorDate": 1672531200,
"opportunityCrmType": "SALESFORCE",
"ownerId": "USR-12345AB",
"renewalForSubscriptionId": "SUB-A1B3C4D",
"documentMasterTemplateId": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"purchaseOrderNumber": "123456789",
"purchaseOrderRequiredForInvoicing": true,
"approvalSegmentId": "APSG-ABC45",
"attachmentId": "12345678",
"expiresOn": 1675209600,
"entityId": "ENT-98765AB",
"startDateType": "EXECUTION_DATE",
"currency": "USD",
"subscriptionDurationModel": "TERMED"
}Response
successful operation
Example response
{
"id": "ORD-AXBY123",
"entityId": "ENT-98765AB",
"externalId": "EXT-456789",
"name": "CreativePro Monthly Subscription Order",
"accountId": "ACCT-ADE4567",
"orderType": "NEW",
"currency": "USD",
"paymentTerm": "NET30",
"subscriptionId": "SUB-BCDE123",
"subscriptionTargetVersion": 3,
"shippingContactId": "CONT-XYZ7891",
"billingContactId": "CONT-ABC1234",
"startDate": 1672531200,
"endDate": 1704067200,
"billingTerm": "UP_FRONT",
"billingAnchorDate": 1672531200,
"totalAmount": 1500,
"totalListAmount": 1800,
"totalListAmountBeforeOverride": 2000,
"taxEstimate": 120,
"status": "APPROVED",
"executedOn": 1672617600,
"updatedOn": 1672704000,
"executedOnFormatted": "2023-01-02T00:00:00Z",
"opportunityCrmType": "SALESFORCE",
"renewalForSubscriptionId": "SUB-A1B3C4D",
"renewalForSubscriptionVersion": 2,
"ownerId": "USR-12345AB",
"documentMasterTemplateId": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"purchaseOrderNumber": "123456789",
"purchaseOrderRequiredForInvoicing": true,
"approvalSegmentId": "APSG-ABC45",
"attachmentId": "12345678",
"compositeOrderId": "CORD-A0B0C1D",
"restructureForSubscriptionId": "SUB-Z98Y7X6",
"expiresOn": 1675209600,
"startDateType": "EXECUTION_DATE"
}