shopArticleUpdate Mutation

Updates an existing shop article.

Input Argument

shopArticleUpdate accepts a single input argument, an input type, which contains the values it uses.

The fields inside input are:

calendarId (ID)

Calendar that represents the work hours related to the fulfillment/delivery.

clientMutationId (String)

A unique identifier for the client performing the mutation.

deliveryDuration (Int)

The number of minutes it usually takes to deliver the shop article.

disabled (Boolean)

Whether the shop article is visible in the shop.

endAt (ISO8601Timestamp)

After this moment the shop article is no longer available in the shop.

fulfillmentTemplateId (ID)

The request template used to order one of more units of this shop article.

fullDescription (String)

The full description of the shop article.

id (ID!)

The node ID of the record to update.

maxQuantity (Int)

The largest number of units that may be bought at once.

name (String)

The display name of the shop article.

pictureUri (String)

The hyperlink to the image file for the record.

price (MonetaryAmount)

The price of a single unit.

priceCurrency (Currency)

The currency of the price of this shop article.

productId (ID)

Related product.

recurringPeriod (ShopArticleRecurringPeriod)

The frequency in which the recurring price is due.

recurringPrice (MonetaryAmount)

The recurring price of a single unit.

recurringPriceCurrency (Currency)

The currency of the recurring price of this shop article.

reference (String)

This reference can be used to link the shop article to a shop order line using the Xurrent APIs or the Xurrent Import functionality.

requiresShipping (Boolean)

Whether or not this is a physical article that requires shipping.

shortDescription (String)

The shop description of the shop article.

source (String)

An identifier for the client application submitting the resource or the name of an external system.

sourceID (String)

The unique identifier of the resource in an external system.

startAt (ISO8601Timestamp)

The moment the shop article becomes available in the shop.

timeZone (TimeZone)

The Time zone related to the calendar.

uiExtensionId (ID)

UI extension that is to be applied to the record.

Return Fields

clientMutationId (String)

A unique identifier for the client performing the mutation.

errors ([ValidationError!])

Errors encountered during the mutation.

shopArticle (ShopArticle)

Record after mutation.