Sitecore OrderCloud Documentation

docs

Portal login

Specs

Specs are name-value pairs, typically captured during user input when adding a product to an order. A spec value may have a price markup or markdown associated with it. In more advanced scenarios, specs can define a specific product variant. For example, a product may be available in 3 colors and 3 sizes and therefore have a total of 9 variants. OrderCloud will choose the correct variant to add based on the user-selected values, in this example color and size.

Specs.List

List specs

get

v1/specs

Specs.Create

Create a spec

post

v1/specs

Specs.ListProductAssignments

List spec product assignments

get

v1/specs/productassignments

Specs.SaveProductAssignment

Create or update a spec product assignment

post

v1/specs/productassignments

Specs.Get

Retrieve a spec

get

v1/specs/{specID}

Specs.Save

Create or update a spec

put

v1/specs/{specID}

Specs.Delete

Delete a spec

delete

v1/specs/{specID}

Specs.Patch

Partially update a spec

patch

v1/specs/{specID}

Specs.ListOptions

List spec options

get

v1/specs/{specID}/options

Specs.CreateOption

Create a spec option

post

v1/specs/{specID}/options

Specs.GetOption

Retrieve a spec option

get

v1/specs/{specID}/options/{optionID}

Specs.SaveOption

Create or update a spec option

put

v1/specs/{specID}/options/{optionID}

Specs.DeleteOption

Delete a spec option

delete

v1/specs/{specID}/options/{optionID}

Specs.PatchOption

Partially update a spec option

patch

v1/specs/{specID}/options/{optionID}

Specs.DeleteProductAssignment

Delete a spec product assignment

delete

v1/specs/{specID}/productassignments/{productID}

Sitecore Logo

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

Contact Us
Privacy Policy
Sitecore