Sitecore OrderCloud Documentation

docs

Portal login

Partially update a line item shipping address.

PATCH

/orders/{direction}/{orderID}/lineitems/{lineItemID}/shipto

200

Description

Partially update the Shipping Address of the Line Item. Not allowed on unsubmitted Line Items where ShippingAddressID has been set. In that case, use the Addresses resource to update the Saved Address.

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
orderIDRequiredstringID of the order.---
lineItemIDRequiredstringID of the line item.---

Request Body

PropertyTypeFormatMax LengthPossible Values
IDstring---100 characters---
CompanyNamestring---100 characters---
FirstNamestring---100 characters---
LastNamestring---100 characters---
Street1string---100 characters---
Street2string---100 characters---
Citystring---100 characters---
Statestring---100 characters---
Zipstring---100 characters---
Countrystring---2 characters---
Phonestring---100 characters---
AddressNamestring---100 characters---
xpobject---------

Response Body

PropertyTypeFormatMax LengthPossible Values
IDstring---100 characters---
ProductIDstring---------
Quantityintegerint32------
BundleItemIDRead Onlystring---------

IsBundleRead Onlyboolean---------

DateAddedRead Onlystringdate-time------
QuantityShippedRead Onlyintegerint32------

UnitPricenumberfloat------

PromotionDiscountRead Onlynumberfloat------

LineTotalRead Onlynumberfloat------

LineSubtotalRead Onlynumberfloat------

CostCenterstring---------

DateNeededstringdate-time------
ShippingAccountstring---------

ShippingAddressIDstring---------
ShipFromAddressIDstring---------

ProductRead Onlyobject---------
VariantRead Onlyobject---------
ShippingAddressRead Onlyobject---------
ShipFromAddressRead Onlyobject---------
SupplierIDRead Onlystring---------
InventoryRecordIDstring---------

PriceScheduleIDRead Onlystring---------

IsOnSaleRead Onlyboolean---------

PriceOverriddenRead Onlyboolean---------

Specsarray---------
IncomingOrderIDRead Onlystring---------

OutgoingOrderIDRead Onlystring---------

xpobject---------

Partially update a line item shipping address.

PATCH

/orders/{direction}/{orderID}/lineitems/{lineItemID}/shipto

200

Description

Partially update the Shipping Address of the Line Item. Not allowed on unsubmitted Line Items where ShippingAddressID has been set. In that case, use the Addresses resource to update the Saved Address.

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
orderIDRequiredstringID of the order.---
lineItemIDRequiredstringID of the line item.---

Request Body

PropertyTypeFormatMax LengthPossible Values
IDstring---100 characters---
CompanyNamestring---100 characters---
FirstNamestring---100 characters---
LastNamestring---100 characters---
Street1string---100 characters---
Street2string---100 characters---
Citystring---100 characters---
Statestring---100 characters---
Zipstring---100 characters---
Countrystring---2 characters---
Phonestring---100 characters---
AddressNamestring---100 characters---
xpobject---------

Response Body

PropertyTypeFormatMax LengthPossible Values
IDstring---100 characters---
ProductIDstring---------
Quantityintegerint32------
BundleItemIDRead Onlystring---------

IsBundleRead Onlyboolean---------

DateAddedRead Onlystringdate-time------
QuantityShippedRead Onlyintegerint32------

UnitPricenumberfloat------

PromotionDiscountRead Onlynumberfloat------

LineTotalRead Onlynumberfloat------

LineSubtotalRead Onlynumberfloat------

CostCenterstring---------

DateNeededstringdate-time------
ShippingAccountstring---------

ShippingAddressIDstring---------
ShipFromAddressIDstring---------

ProductRead Onlyobject---------
VariantRead Onlyobject---------
ShippingAddressRead Onlyobject---------
ShipFromAddressRead Onlyobject---------
SupplierIDRead Onlystring---------
InventoryRecordIDstring---------

PriceScheduleIDRead Onlystring---------

IsOnSaleRead Onlyboolean---------

PriceOverriddenRead Onlyboolean---------

Specsarray---------
IncomingOrderIDRead Onlystring---------

OutgoingOrderIDRead Onlystring---------

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

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

Contact Us
Privacy Policy
Sitecore