Sitecore OrderCloud Documentation

docs

Portal Login

Create a new order.

POST

/orders/{direction}

201

Description

If ID is provided and an object with that ID already exists, a 409 (conflict) error is returned.

Roles

At least one of the roles below is required to access this endpoint.

FullAccessOrderAdminShopper

Parameters

NameTypeDescriptionPossible Values
directionRequiredstringDirection of the order, from the current user's perspective. Possible values: incoming, outgoing, all.Incoming, Outgoing, All

Request Body

PropertyTypeFormatMax LengthPossible Values
IDstring---100 characters---
FromCompanyIDstring---------

ToCompanyIDstring---------

FromUserIDstring---------

BillingAddressIDstring---------
ShippingAddressIDstring---------

Commentsstring---2000 characters---
ShippingCostnumberfloat------

TaxCostnumberfloat------

xpobject---------

Response Body

PropertyTypeFormatMax LengthPossible Values
IDstring---100 characters---
FromUserRead Onlyobject---------

FromCompanyIDstring---------

ToCompanyIDstring---------

FromUserIDstring---------

BillingAddressIDstring---------
BillingAddressRead Onlyobject---------
ShippingAddressIDstring---------

Commentsstring---2000 characters---
LineItemCountRead Onlyintegerint32------
StatusRead Onlystring------Unsubmitted, AwaitingApproval, Declined, Open, Completed, Canceled
DateCreatedRead Onlystringdate-time------
DateSubmittedRead Onlystringdate-time------

DateApprovedRead Onlystringdate-time------
DateDeclinedRead Onlystringdate-time------
DateCanceledRead Onlystringdate-time------
DateCompletedRead Onlystringdate-time------

LastUpdatedRead Onlystringdate-time------
SubtotalRead Onlynumberfloat------

ShippingCostnumberfloat------

TaxCostnumberfloat------

PromotionDiscountRead Onlynumberfloat------

CurrencyRead Onlystring---------

TotalRead Onlynumberfloat------

IsSubmittedRead Onlyboolean---------

SubscriptionIDRead Onlystring---------

xpobject---------

Create a new order.

POST

/orders/{direction}

201

Description

If ID is provided and an object with that ID already exists, a 409 (conflict) error is returned.

Roles

At least one of the roles below is required to access this endpoint.

FullAccessOrderAdminShopper

Parameters

NameTypeDescriptionPossible Values
directionRequiredstringDirection of the order, from the current user's perspective. Possible values: incoming, outgoing, all.Incoming, Outgoing, All

Request Body

PropertyTypeFormatMax LengthPossible Values
IDstring---100 characters---
FromCompanyIDstring---------

ToCompanyIDstring---------

FromUserIDstring---------

BillingAddressIDstring---------
ShippingAddressIDstring---------

Commentsstring---2000 characters---
ShippingCostnumberfloat------

TaxCostnumberfloat------

xpobject---------

Response Body

PropertyTypeFormatMax LengthPossible Values
IDstring---100 characters---
FromUserRead Onlyobject---------

FromCompanyIDstring---------

ToCompanyIDstring---------

FromUserIDstring---------

BillingAddressIDstring---------
BillingAddressRead Onlyobject---------
ShippingAddressIDstring---------

Commentsstring---2000 characters---
LineItemCountRead Onlyintegerint32------
StatusRead Onlystring------Unsubmitted, AwaitingApproval, Declined, Open, Completed, Canceled
DateCreatedRead Onlystringdate-time------
DateSubmittedRead Onlystringdate-time------

DateApprovedRead Onlystringdate-time------
DateDeclinedRead Onlystringdate-time------
DateCanceledRead Onlystringdate-time------
DateCompletedRead Onlystringdate-time------

LastUpdatedRead Onlystringdate-time------
SubtotalRead Onlynumberfloat------

ShippingCostnumberfloat------

TaxCostnumberfloat------

PromotionDiscountRead Onlynumberfloat------

CurrencyRead Onlystring---------

TotalRead Onlynumberfloat------

IsSubmittedRead Onlyboolean---------

SubscriptionIDRead Onlystring---------

xpobject---------
Sitecore Logo

© Copyright 2024, Sitecore OrderCloud®. All rights reserved.

Contact Us
Privacy Policy
Sitecore