Shopping Lists

Queries and mutations for managing Shopping Lists in the platform.

To access Shopping Lists as an Associate of a Business Unit, see AsAssociateArgument.

Queries

Query Shopping Lists

QUERYshoppingLists
Arguments
where​
String​
sort​
Array of String​
limit​
Int​
offset​
Int​

Get Shopping List

QUERYshoppingList
Arguments
id​
String​

Queries with specified ID

key​
String​

Queries with specified key

Mutations

Create Shopping List

MUTATIONcreateShoppingList
Arguments
draft​
storeKey​

The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions.

asAssociate​

Create/modify entity as an associate in business-unit.

Update Shopping List

MUTATIONupdateShoppingList
Arguments
version​
Long​
actions​
storeKey​

The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions.

asAssociate​

Create/modify entity as an associate in business-unit.

id​
String​

Queries with specified ID

key​
String​

Queries with specified key

Delete Shopping List

MUTATIONdeleteShoppingList
Arguments
version​
Long​
personalDataErasure​
Boolean​
Default: false​
storeKey​

The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions.

asAssociate​

Create/modify entity as an associate in business-unit.

id​
String​

Queries with specified ID

key​
String​

Queries with specified key

Create My Shopping List

MUTATIONcreateMyShoppingList
BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta
Arguments
draft​
storeKey​

The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions.

Update My Shopping List

MUTATIONupdateMyShoppingList
BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta
Arguments
version​
Long​
actions​
storeKey​

The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions.

id​
String​

Queries with specified ID

key​
String​

Queries with specified key

Delete My Shopping List

MUTATIONdeleteMyShoppingList
BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta
Arguments
version​
Long​
storeKey​

The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions.

id​
String​

Queries with specified ID

key​
String​

Queries with specified key

Output types

ShoppingList

key​
String​

User-defined unique identifier of the ShoppingList.

name​
String​

Name of the ShoppingList.

nameAllLocales​
Array of LocalizedString​

Name of the ShoppingList.

description​
String​

Description of the ShoppingList.

descriptionAllLocales​
Array of LocalizedString​

Description of the ShoppingList.

slug​
String​
Human-readable identifiers usually used as deep-link URL to the related ShoppingList. Each slug is unique across a Project, but a ShoppingList can have the same slug for different languages. The slug must match the pattern [a-zA-Z0-9_-]{2,256}. For good performance, indexes are provided for the first 15 languages set on the Project.
slugAllLocales​
Array of LocalizedString​
Human-readable identifiers usually used as deep-link URL to the related ShoppingList. Each slug is unique across a Project, but a ShoppingList can have the same slug for different languages. The slug must match the pattern [a-zA-Z0-9_-]{2,256}. For good performance, indexes are provided for the first 15 languages set on the Project.
customerRef​
Reference to a Customer associated with the ShoppingList.
customer​
Reference to a Customer associated with the ShoppingList.
businessUnit​
Reference to the Business Unit the Shopping List belongs to. Only available for B2B-enabled Projects.
businessUnitRef​
Reference to the Business Unit the Shopping List belongs to. Only available for B2B-enabled Projects.
storeRef​

Store to which the ShoppingList is assigned.

store​

Store to which the ShoppingList is assigned.

anonymousId​
String​
Identifies ShoppingLists belonging to an anonymous session.
lineItems​

Line Items (containing Products) of the ShoppingList.

textLineItems​
Array of TextLineItem​

Line Items (containing text values) of the ShoppingList.

custom​

Custom Fields defined for the ShoppingList.

deleteDaysAfterLastModification​
Int​
Number of days after the last modification before a ShoppingList is deleted. If not set, the default value configured in the Project is used.
id​
String​

Unique identifier of the ShoppingList.

version​
Long​

Current version of the ShoppingList.

createdAt​

Date and time (UTC) the ShoppingList was initially created.

lastModifiedAt​

Date and time (UTC) the ShoppingList was last updated.

createdBy​

IDs and references that created the ShoppingList.

lastModifiedBy​

IDs and references that last modified the ShoppingList.

ShoppingListLineItem

ShoppingListLineItems are Line Items that contain references to ProductVariants in a Product.
In addition to standard Reference Expansion, a ShoppingListLineItem offers expansion on productSlug and variant, defined with the query parameter expand.
id​
String​

Unique identifier of the ShoppingListLineItem.

key​
String​
User-defined identifier of the ShoppingListLineItem. It is unique per ShoppingList.
productId​
String​
Unique identifier of a Product.
published​
Boolean​
Whether the related Product is published or not.
This data is updated in an eventual consistent manner when the Product's published status changes.
variantId​
Int​
id of the ProductVariant the ShoppingListLineItem refers to. If not set, the ShoppingListLineItem refers to the Master Variant.
For a Project with ProductCatalogModel set to Modular, when variantId is not set, the ShoppingListLineItem refers to the Product's default Variant (defaultVariant) instead of the Master Variant. If no default Variant is set, the ShoppingListLineItem refers to the Variant with the lowest variantId.
productTypeRef​
The Product Type defining the Attributes of the Product.
productType​
The Product Type defining the Attributes of the Product.
quantity​
Int​

Number of Products in the ShoppingListLineItem.

addedAt​

Date and time (UTC) the ShoppingListLineItem was added to the ShoppingList.

name​
String​

Name of the Product.

This data is updated in an eventual consistent manner when the Product's name changes.
nameAllLocales​
Array of LocalizedString​

Name of the Product.

This data is updated in an eventual consistent manner when the Product's name changes.
deactivatedAt​
If the Product or Product Variant is deleted or unpublished, deactivatedAt is the date and time (UTC) this occurred.
This data is updated in an eventual consistent manner when the Product Variant cannot be ordered anymore.
custom​

Custom Fields of the ShoppingListLineItem.

productSlug​
String​
Slug of the current ProductData.
Returned when expanded using expand=lineItems[*].productSlug. You cannot expand only a single element of the array.
productSlugAllLocales​
Array of LocalizedString​
Slug of the current ProductData.
Returned when expanded using expand=lineItems[*].productSlug. You cannot expand only a single element of the array.
variant​
Data of the ProductVariant. This data includes all the Product Attributes and Variant Attributes to ensure the full Attribute context of the Product Variant.
Returned when expanded using expand=lineItems[*].variant. You cannot expand only a single element of the array.

ProductVariant

Represents a Product Variant embedded in a Product.
Only available for Projects with the ProductCatalogModel Classic. When the Project has the Modular catalog model, use the Variants API instead.
id​
Int​

A unique, sequential identifier of the Product Variant within the Product.

key​
String​

User-defined identifier of the ProductVariant. Unique among ProductVariants in the same Product.

This is different from Product key.
sku​
String​

User-defined SKU of the Product Variant. Unique across all ProductVariants in a Project.

prices​
Array of ProductPrice​
If the Product is projected by Store, this field only contains Embedded Prices that are valid for that Store.
Cannot contain two Embedded Prices with the same scopes (currency, country, Customer Group, Channel, validFrom and validUntil).
price​

Returns a single price based on the price selection rules.

allRecurrencePrices​
Array of ProductPrice​

Returns all recurrence prices based on the price selection rules.

images​
Array of Image​

Images of the Product Variant.

assets​
Array of Asset​

Media assets of the Product Variant.

availability​
Set if the Product Variant is tracked by Inventory. Can be used as an optimization to reduce calls to the Inventory service. May not contain the latest Inventory State (it is eventually consistent).
attributesRaw​

This field contains raw attributes data

ProductPrice

id​
String​
value​
key​
String​
country​
customerGroup​
customerGroupRef​
channel​
channelRef​
validFrom​
validUntil​
discounted​
tiers​
Array of ProductPriceTier​
custom​
recurrencePolicy​
recurrencePolicyRef​

DiscountedProductPriceValue

value​
discountRef​
discount​

ProductPriceTier

minimumQuantity​
Int​
value​

ProductVariantAvailabilityWithChannels

noChannel​
channels​

ProductVariantAvailability

Product variant availability

isOnStock​
Boolean​
Whether the Product Variant is in stock, based on an InventoryEntry that has no assigned supply Channel. This value reflects global or default availability; it does not aggregate the channel-specific availabilities found in the channels field.
restockableInDays​
Int​

Number of days to restock a Product Variant once it is out of stock.

availableQuantity​
Long​

Number of items of the Product Variant that are in stock.

version​
Long​
Current version of the InventoryEntry.
id​
String​
Unique identifier of the InventoryEntry.

ProductVariantAvailabilitiesResult

Product variant availabilities

limit​
Int​
offset​
Int​
total​
Int​
results​

ProductVariantAvailabilityWithChannel

channelRef​
channel​
availability​

RawProductAttribute

attributeDefinition​
name​
String​
value​
Json​
attributesRaw​
BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta
referencedResource​
referencedResourceSet​

AttributeDefinition

type​

Describes the Type of the Attribute.

name​
String​
User-defined name of the Attribute that is unique within the Project.
label​
String​

Human-readable label for the Attribute.

isRequired​
Boolean​
Whether the Attribute must have a value on a ProductVariant.
attributeConstraint​

Specifies how Attributes are validated across all variants of a Product.

Can be None, Unique, CombinationUnique, or SameForAll​
level​

Specifies whether the Attribute is defined at the Product or Variant level.

Can be Variant, or Product​
inputTip​
String​

Provides additional Attribute information to aid content managers configure Product details.

inputHint​
Provides a visual representation directive for values of this Attribute (only relevant for AttributeTextType and AttributeLocalizableTextType).
Can be SingleLine, or MultiLine​
isSearchable​
Boolean​
Whether the Attribute's values are available in the Product Search or the Product Projection Search API for use in full-text search queries, filters, and facets. However, if an Attribute's level is set as Product, then Product Projection Search does not support the Attribute. To use the Attribute in search, filters, or facets, set isSearchable to true for all AttributeDefinitions with the same name across different ProductTypes. If the isSearchable values are different, the Attribute isn't available for search, filters, or facets.
The exact features that are available with this flag depend on the specific AttributeType. The maximum size of a searchable field is restricted by the Field content size limit. This constraint is enforced at both Product creation and Product update. If the length of the input exceeds the maximum size, an InvalidField error is returned.
savedToLineItem​
Boolean​
Whether the Attribute value is copied onto the LineItem when the Product is added to a Cart. When false, the Attribute value is excluded from the Line Item variant. Line Items already in a Cart are not immediately affected by a change to this value. Existing Line Items are updated the next time their Product data is refreshed, such as when a Recalculate update action is performed with updateProductData set to true, or on a Cart update that triggers an API Extension. Replicating a Cart creates a new Cart that contains the current Product data; it does not update the original Cart.
When savedToLineItem is false, LineItem predicates that reference this Attribute, such as those in Cart Discounts and Shipping Methods, evaluate as if the Attribute is not set.
labelAllLocales​
Array of LocalizedString​

Human-readable label for the Attribute.

inputTipAllLocales​
Array of LocalizedString​

Provides additional Attribute information to aid content managers configure Product details.

AttributeDefinitionType

AttributeConstraint

None
No constraints are applied to the attribute
Unique
Attribute value should be different in each variant
CombinationUnique
A set of attributes, that have this constraint, should have different combinations in each variant
SameForAll
Attribute value should be the same in all variants

Level

Variant
The attribute can be used on the variant level
Product
The attribute can be used on the product level

TextLineItem

TextLineItems are Line Items that use text values instead of references to Products.

id​
String​

Unique identifier of the TextLineItem.

key​
String​
User-defined identifier of the TextLineItem. It is unique per ShoppingList.
name​
String​

Name of the TextLineItem.

nameAllLocales​
Array of LocalizedString​

Name of the TextLineItem.

description​
String​

Description of the TextLineItem.

descriptionAllLocales​
Array of LocalizedString​

Description of the TextLineItem.

quantity​
Int​

Number of entries in the TextLineItem.

custom​

Custom Fields of the TextLineItem.

addedAt​
Date and time (UTC) the TextLineItem was added to the ShoppingList.

ShoppingListQueryResult

offset​
Int​
count​
Int​
total​
Long​
exists​
Boolean​
results​
Array of ShoppingList​

Input types

ShoppingListDraft

name​

Name of the ShoppingList.

description​

Description of the ShoppingList.

lineItems​

Line Items (containing Products) to add to the ShoppingList.

Default: []​
textLineItems​
Array of TextLineItemDraft​

Line Items (containing text values) to add to the ShoppingList.

Default: []​
custom​

Custom Fields defined for the ShoppingList.

deleteDaysAfterLastModification​
Int​
Number of days after the last modification before a ShoppingList is deleted. If not set, the default value configured in the Project is used.
businessUnit​
ResourceIdentifier of the Business Unit the Shopping List should belong to. When the customer of the Shopping List is set, the Customer must be an Associate of the Business Unit. Only available for B2B-enabled Projects.
key​
String​

User-defined unique identifier for the ShoppingList.

The Customer the ShoppingList should be associated to.
slug​
Human-readable identifiers usually used as deep-link URL to the related ShoppingList. Each slug is unique across a Project, but a ShoppingList can have the same slug for different languages. The slug must match the pattern [a-zA-Z0-9_-]{2,256}.
anonymousId​
String​
Identifies ShoppingLists belonging to an anonymous session.
Assigns the new ShoppingList to the Store.

ShoppingListLineItemDraft

The ProductVariant to be included in the ShoppingListLineItem must be specified using the productID and variantID, or by the sku.
productId​
String​
Unique identifier of a Product.
key​
String​
User-defined identifier of the ShoppingListLineItem. Must be unique per ShoppingList.
sku​
String​
sku of the ProductVariant.
variantId​
Int​
id of the ProductVariant. If not set, the ShoppingListLineItem refers to the Master Variant.
For a Project with ProductCatalogModel set to Modular, when variantId is not set, the ShoppingListLineItem refers to the Product's default Variant (defaultVariant) instead of the Master Variant. If no default Variant is set, the ShoppingListLineItem refers to the Variant with the lowest variantId.
quantity​
Int​

Number of Products in the ShoppingListLineItem.

Default: 1​
custom​

Custom Fields for the ShoppingListLineItem.

addedAt​
Date and time the ShoppingListLineItem is added to the ShoppingList. If not set, the current date and time (UTC) is used.

TextLineItemDraft

key​
String​
User-defined unique identifier of the TextLineItem. Must be unique per ShoppingList.
name​

Name of the TextLineItem.

description​

Description of the TextLineItem.

quantity​
Int​

Number of entries in the TextLineItem.

Default: 1​
custom​

Custom Fields for the TextLineItem.

addedAt​
Date and time the TextLineItem is added to the ShoppingList. If not set, the current date and time (UTC) is used.

MyShoppingListDraft

A MyShoppingListDraft is the object submitted as payload to the Create MyShoppingList request. The customer field of ShoppingList is automatically set with a password flow token. The anonymousId is automatically set with a token for an anonymous session. The key and slug fields can not be set.
name​
Name of the ShoppingList.
description​

Description of the ShoppingList.

lineItems​
Line Items (containing Products) to add to the ShoppingList.
Default: []​
textLineItems​
Array of TextLineItemDraft​
Line Items (containing text values) to add to the ShoppingList.
Default: []​
custom​

Custom Fields defined for the ShoppingList.

deleteDaysAfterLastModification​
Int​
Number of days after the last modification before a ShoppingList is deleted. If not set, the default value configured in the Project is used.
Assigns the new ShoppingList to the Store. The Store assignment can not be modified.

ShoppingListLineItemDraft

The ProductVariant to be included in the ShoppingListLineItem must be specified using the productID and variantID, or by the sku.
productId​
String​
Unique identifier of a Product.
key​
String​
User-defined identifier of the ShoppingListLineItem. Must be unique per ShoppingList.
sku​
String​
sku of the ProductVariant.
variantId​
Int​
id of the ProductVariant. If not set, the ShoppingListLineItem refers to the Master Variant.
For a Project with ProductCatalogModel set to Modular, when variantId is not set, the ShoppingListLineItem refers to the Product's default Variant (defaultVariant) instead of the Master Variant. If no default Variant is set, the ShoppingListLineItem refers to the Variant with the lowest variantId.
quantity​
Int​

Number of Products in the ShoppingListLineItem.

Default: 1​
custom​

Custom Fields for the ShoppingListLineItem.

addedAt​
Date and time the ShoppingListLineItem is added to the ShoppingList. If not set, the current date and time (UTC) is used.

TextLineItemDraft

key​
String​
User-defined unique identifier of the TextLineItem. Must be unique per ShoppingList.
name​

Name of the TextLineItem.

description​

Description of the TextLineItem.

quantity​
Int​

Number of entries in the TextLineItem.

Default: 1​
custom​

Custom Fields for the TextLineItem.

addedAt​
Date and time the TextLineItem is added to the ShoppingList. If not set, the current date and time (UTC) is used.

ShoppingListUpdateAction

addLineItem​
addTextLineItem​
changeLineItemQuantity​
changeLineItemsOrder​
changeName​
changeTextLineItemName​
changeTextLineItemQuantity​
changeTextLineItemsOrder​
removeLineItem​
removeTextLineItem​
setAnonymousId​
setBusinessUnit​
setCustomField​
setCustomType​
setCustomer​
setDeleteDaysAfterLastModification​
setDescription​
setKey​
setLineItemCustomField​
setLineItemCustomType​
setSlug​
setStore​
setTextLineItemCustomField​
setTextLineItemCustomType​
setTextLineItemDescription​

MyShoppingListUpdateAction

addLineItem​
addTextLineItem​
changeLineItemQuantity​
changeLineItemsOrder​
changeName​
changeTextLineItemName​
changeTextLineItemQuantity​
changeTextLineItemsOrder​
removeLineItem​
removeTextLineItem​
setCustomField​
setCustomType​
setDeleteDaysAfterLastModification​
setDescription​
setLineItemCustomField​
setLineItemCustomType​
setStore​
setTextLineItemCustomField​
setTextLineItemCustomType​
setTextLineItemDescription​

Update actions

Add LineItem

The ProductVariant to be included in the ShoppingListLineItem must be specified using the productID and variantID, or by the sku. If the ShoppingList already contains a ShoppingListLineItem for the same Product Variant with the same Custom Fields, then only the quantity of the existing ShoppingListLineItem is increased. A ShoppingListLineItem with an empty variantId is not considered the same as a ShoppingListLineItem with a variantId currently referring to the Master Variant.

Product Attributes are merged with Variant Attributes to ensure the full Attribute context of the Product Variant.

Produces the Shopping List Line Item Added Message.
addedAt​
Date and time the ShoppingListLineItem is added to the ShoppingList. If not set, the current date and time (UTC) is used.
custom​

Custom Fields defined for the ShoppingListLineItem.

quantity​
Int​

Number of Products in the ShoppingListLineItem.

Default: 1​
variantId​
Int​
id of the ProductVariant. If not set, the ShoppingListLineItem refers to the Master Variant.
For a Project with ProductCatalogModel set to Modular, when variantId is not set, the ShoppingListLineItem refers to the Product's default Variant (defaultVariant) instead of the Master Variant. If no default Variant is set, the ShoppingListLineItem refers to the Variant with the lowest variantId.
sku​
String​
sku of the ProductVariant.
key​
String​
User-defined identifier of the ShoppingListLineItem. Must be unique per ShoppingList.
productId​
String​
Unique identifier of a Product.

Add TextLineItem

addedAt​
Date and time the TextLineItem is added to the ShoppingList. If not set, the current date and time (UTC) is used.
custom​

Custom Fields defined for the TextLineItem.

quantity​
Int​

Number of entries in the TextLineItem.

Default: 1​
description​

Description of the TextLineItem.

name​

Name of the TextLineItem.

key​
String​
User-defined identifier of the TextLineItem. Must be unique per ShoppingList.

Change LineItem Quantity

lineItemId​
String​
The id of the ShoppingListLineItem to update. Either lineItemId or lineItemKey is required.
lineItemKey​
String​
The key of the ShoppingListLineItem to update. Either lineItemId or lineItemKey is required.
quantity​
Int​
New value to set. If 0, the ShoppingListLineItem is removed from the ShoppingList.

Change LineItems Order

lineItemOrder​
Array of String​
All existing ShoppingListLineItem ids in the desired new order.

Change Name

name​

New value to set. Must not be empty.

Change TextLineItem Name

textLineItemId​
String​
The id of the TextLineItem to update. Either lineItemId or lineItemKey is required.
textLineItemKey​
String​
The key of the TextLineItem to update. Either lineItemId or lineItemKey is required.
name​

New value to set. Must not be empty.

Change TextLineItem Quantity

textLineItemId​
String​
The id of the TextLineItem to update. Either lineItemId or lineItemKey is required.
textLineItemKey​
String​
The key of the TextLineItem to update. Either lineItemId or lineItemKey is required.
quantity​
Int​
New value to set. If 0, the TextLineItem is removed from the ShoppingList.

Change TextLineItems Order

textLineItemOrder​
Array of String​
Must contain all existing TextLineItem ids in the desired new order.

Remove LineItem

Produces the Shopping List Line Item Removed Message.
lineItemId​
String​
The id of the ShoppingListLineItem to update. Either lineItemId or lineItemKey is required.
lineItemKey​
String​
The key of the ShoppingListLineItem to update. Either lineItemId or lineItemKey is required.
quantity​
Int​
Amount to remove from the quantity of the ShoppingListLineItem. If not set, the ShoppingListLineItem is removed from the ShoppingList. If this value matches or exceeds the current quantity of the ShoppingListLineItem, the ShoppingListLineItem is removed from the ShoppingList.

Remove TextLineItem

textLineItemId​
String​
The id of the TextLineItem to update. Either lineItemId or lineItemKey is required.
textLineItemKey​
String​
The key of the TextLineItem to update. Either lineItemId or lineItemKey is required.
quantity​
Int​
Amount to remove from the quantity of the TextLineItem. If not set, the TextLineItem is removed from the ShoppingList. If this value matches or exceeds the current quantity of the TextLineItem, the TextLineItem is removed from the ShoppingList.

Set AnonymousId

If the Shopping List is already associated with a Customer, an InvalidOperation error is returned.
anonymousId​
String​

Value to set. If omitted, any existing value is removed.

Set Business Unit B2B B2X

Updates the Business Unit on the Shopping List. The Shopping List must have an existing Business Unit assigned already.

businessUnit​
The Business Unit to assign to the Shopping List, which must have access to the Store that is set on the Shopping List.

Set CustomField

name​
String​
Name of the Custom Field.
value​
String​
If value is absent or null, this field will be removed if it exists. Removing a field that does not exist returns an InvalidOperation error. If value is provided, it is set for the field defined by name.

Set Custom Type

fields​
Array of CustomFieldInput​
typeKey​
String​
typeId​
String​

Set Customer

The Customer the ShoppingList should be associated to. If omitted, any existing value is removed.

Set DeleteDaysAfterLastModification

Number of days after the last modification before a Shopping List is deleted.

deleteDaysAfterLastModification​
Int​
Value to set. If omitted, the default value for this field configured in Project settings is assigned.

Set Description

description​

Value to set. If omitted, any existing value is removed.

Set Key

key​
String​

Value to set. If omitted, any existing value is removed.

Set LineItem CustomField

lineItemId​
String​
The id of the ShoppingListLineItem to update. Either lineItemId or lineItemKey is required.
lineItemKey​
String​
The key of the ShoppingListLineItem to update. Either lineItemId or lineItemKey is required.
name​
String​
Name of the Custom Field.
value​
String​
If value is absent or null, this field will be removed if it exists. Removing a field that does not exist returns an InvalidOperation error. If value is provided, it is set for the field defined by name.

Set LineItem Custom Type

lineItemId​
String​
lineItemKey​
String​
fields​
Array of CustomFieldInput​
typeKey​
String​
typeId​
String​

Set Slug

slug​
Value to set. If omitted, any existing value is removed. Each slug is unique across a Project, but a ShoppingList can have the same slug for different languages. Must match the pattern ^[A-Za-z0-9_-]{2,256}+$

Set Store

The Store the ShoppingList should be assigned to. If omitted, any existing value is removed.

Set TextLineItem CustomField

textLineItemId​
String​
The id of the TextLineItem to update. Either lineItemId or lineItemKey is required.
textLineItemKey​
String​
The key of the TextLineItem to update. Either lineItemId or lineItemKey is required.
name​
String​
Name of the Custom Field.
value​
String​
If value is absent or null, this field will be removed if it exists. Removing a field that does not exist returns an InvalidOperation error. If value is provided, it is set for the field defined by name.

Set TextLineItem Custom Type

textLineItemId​
String​
textLineItemKey​
String​
fields​
Array of CustomFieldInput​
typeKey​
String​
typeId​
String​

Set TextLineItem Description

textLineItemId​
String​
The id of the TextLineItem to update. Either lineItemId or lineItemKey is required.
textLineItemKey​
String​
The key of the TextLineItem to update. Either lineItemId or lineItemKey is required.
description​

Value to set. If omitted, any existing value is removed.