Skip to main content

API v1.31

: Staging

: Production

✨ New

Catalog

Custom fields

Added the ability for marketplace operators to define custom fields for various object models. The following objects support custom fields: USER, PRODUCT, VARIANT, CATEGORY, and COLLECTION.

Add attributes to custom field templates to make those attributes available for data entry on the associated object.

This feature includes the following GraphQL changes:

  • Assign an attribute to an object model’s custom field template with the customAttributeAssign mutation.
  • Query custom field templates with the customFieldTemplates query.
  • Remove attributes from a custom field template with the customAttributeUnassign mutation.
  • The following inputs have been updated to support assigning customFields when creating and updating objects:
  • ProductInput, ProductCreateInput
  • ProductVariantInput, ProductVariantCreateInput
  • UserCreateInput, CustomerInput, StaffUpdateInput
  • CategoryInput
  • CollectionInput, CollectionCreateInput

Learn more ->

Catalog

Attribute template strategy field

Added the attributeTemplateStrategy field to the MarketplaceConfiguration model, allowing operators to customize how attributes are assigned across product attributes, variant attributes, and custom fields.

Related to this change, added the templated field, which you can query under product attributes, variant attributes, and custom fields to see if the selected attribute came from a templated assignment.

Catalog

Product type strategy field

Added the requireProductTypes field to the MarketplaceConfiguration model, allowing operators to make product type usage optional.

Catalog

New attribute input types

Added several new supported input types to the AttributeInputTypeEnum.

Catalog

Update product type on product

The productUpdate mutation now accepts the productType input field, allowing you to change the product type on an existing product.

Catalog

Update parent product on variant

The productVariantUpdate mutation now accepts the product input field, allowing you to change the parent product of a variant.

🪲 Fixed

Catalog

Fixed an issue with filtering the variants list based on the isPublished field.

Was this page helpful?