# Product Catalog Messages

## GraphQL partial SDLs

This is a graphql reference page. In the llms.txt variant, those components link to the shared partial SDL key list instead of trying to resolve inline GraphQL reference content.

Fetch all available partial SDL keys first:

```text
GET https://docs.commercetools.com/apis/rest/content/by-id?id=ctp:gql-sphere:returnTypesList
```

Then fetch the one or more relevant partial SDL with a key from that list by calling the same endpoint with a schema ID:

```text
GET https://docs.commercetools.com/apis/rest/content/by-id?id=ctp:gql-sphere:schema:<key>
```

The response body is a JSON object keyed by the requested content ID. For example, the key-list request returns a `ctp:gql-sphere:returnTypesList` field and a schema request returns a `ctp:gql-sphere:schema:<key>` field.

**GraphQL output types for Messages that represent a change or an action performed on a Product, Product Selection, Product Tailoring, Category, Inventory Entry, or Review.**

Each type on this page implements [MessagePayload](/api/graphql/messages.md#messagepayload) and is returned in the `payload` field of a [Message](/api/graphql/messages.md#message). For when each Message is generated, see [Product Catalog Messages](/api/projects/messages/product-catalog-messages.md).

## Product Messages

### ProductCreated

[fetch SDL for type ProductCreated](#graphql-partial-sdls).

### ProductPublished

[fetch SDL for type ProductPublished](#graphql-partial-sdls).

### ProductUnpublished

[fetch SDL for type ProductUnpublished](#graphql-partial-sdls).

### ProductStateTransition

[fetch SDL for type ProductStateTransition](#graphql-partial-sdls).

### ProductSlugChanged

[fetch SDL for type ProductSlugChanged](#graphql-partial-sdls).

### ProductImageAdded

[fetch SDL for type ProductImageAdded](#graphql-partial-sdls).

### ProductRevertedStagedChanges

[fetch SDL for type ProductRevertedStagedChanges](#graphql-partial-sdls).

### ProductPriceKeySet

[fetch SDL for type ProductPriceKeySet](#graphql-partial-sdls).

### ProductPriceDiscountsSet

[fetch SDL for type ProductPriceDiscountsSet](#graphql-partial-sdls).

### ProductPriceExternalDiscountSet

[fetch SDL for type ProductPriceExternalDiscountSet](#graphql-partial-sdls).

### ProductPriceAdded

[fetch SDL for type ProductPriceAdded](#graphql-partial-sdls).

### ProductPriceChanged

[fetch SDL for type ProductPriceChanged](#graphql-partial-sdls).

### ProductPricesSet

[fetch SDL for type ProductPricesSet](#graphql-partial-sdls).

### ProductPriceRemoved

[fetch SDL for type ProductPriceRemoved](#graphql-partial-sdls).

### ProductPriceModeSet

[fetch SDL for type ProductPriceModeSet](#graphql-partial-sdls).

### ProductVariantAdded

[fetch SDL for type ProductVariantAdded](#graphql-partial-sdls).

### ProductVariantDeleted

[fetch SDL for type ProductVariantDeleted](#graphql-partial-sdls).

### ProductAddedToCategory

[fetch SDL for type ProductAddedToCategory](#graphql-partial-sdls).

### ProductRemovedFromCategory

[fetch SDL for type ProductRemovedFromCategory](#graphql-partial-sdls).

### ProductDeleted

[fetch SDL for type ProductDeleted](#graphql-partial-sdls).

### ProductPriceCustomFieldAdded

[fetch SDL for type ProductPriceCustomFieldAdded](#graphql-partial-sdls).

### ProductPriceCustomFieldChanged

[fetch SDL for type ProductPriceCustomFieldChanged](#graphql-partial-sdls).

### ProductPriceCustomFieldRemoved

[fetch SDL for type ProductPriceCustomFieldRemoved](#graphql-partial-sdls).

### ProductPriceCustomFieldsSet

[fetch SDL for type ProductPriceCustomFieldsSet](#graphql-partial-sdls).

### ProductPriceCustomFieldsRemoved

[fetch SDL for type ProductPriceCustomFieldsRemoved](#graphql-partial-sdls).

## Product Selection Messages

### ProductSelectionCreated

[fetch SDL for type ProductSelectionCreated](#graphql-partial-sdls).

### ProductSelectionProductAdded

[fetch SDL for type ProductSelectionProductAdded](#graphql-partial-sdls).

### ProductSelectionProductExcluded

[fetch SDL for type ProductSelectionProductExcluded](#graphql-partial-sdls).

### ProductSelectionProductRemoved

[fetch SDL for type ProductSelectionProductRemoved](#graphql-partial-sdls).

### ProductSelectionVariantSelectionChanged

[fetch SDL for type ProductSelectionVariantSelectionChanged](#graphql-partial-sdls).

### ProductSelectionVariantExclusionChanged

[fetch SDL for type ProductSelectionVariantExclusionChanged](#graphql-partial-sdls).

### ProductSelectionDeleted

[fetch SDL for type ProductSelectionDeleted](#graphql-partial-sdls).

## Product Tailoring Messages

### ProductTailoringCreated

> The `publish` and `attributesRaw` fields correspond to the `published` and `attributes` fields in REST.

[fetch SDL for type ProductTailoringCreated](#graphql-partial-sdls).

### ProductTailoringDeleted

[fetch SDL for type ProductTailoringDeleted](#graphql-partial-sdls).

### ProductTailoringNameSet

[fetch SDL for type ProductTailoringNameSet](#graphql-partial-sdls).

### ProductTailoringDescriptionSet

[fetch SDL for type ProductTailoringDescriptionSet](#graphql-partial-sdls).

### ProductTailoringKeySet

[fetch SDL for type ProductTailoringKeySet](#graphql-partial-sdls).

### ProductTailoringSlugSet

[fetch SDL for type ProductTailoringSlugSet](#graphql-partial-sdls).

### ProductTailoringPublished

[fetch SDL for type ProductTailoringPublished](#graphql-partial-sdls).

### ProductTailoringUnpublished

[fetch SDL for type ProductTailoringUnpublished](#graphql-partial-sdls).

### ProductVariantTailoringAdded

[fetch SDL for type ProductVariantTailoringAdded](#graphql-partial-sdls).

### ProductVariantTailoringRemoved

[fetch SDL for type ProductVariantTailoringRemoved](#graphql-partial-sdls).

### ProductTailoringImageAdded

[fetch SDL for type ProductTailoringImageAdded](#graphql-partial-sdls).

### ProductTailoringImagesSet

[fetch SDL for type ProductTailoringImagesSet](#graphql-partial-sdls).

## Variant Messages

### VariantCreated

> The `attributesRaw` field corresponds to the `attributes` field of the Message in REST.

[fetch SDL for type VariantCreated](#graphql-partial-sdls).

### VariantDeleted

[fetch SDL for type VariantDeleted](#graphql-partial-sdls).

### VariantImageAdded

[fetch SDL for type VariantImageAdded](#graphql-partial-sdls).

### VariantImagesSet

[fetch SDL for type VariantImagesSet](#graphql-partial-sdls).

### VariantKeySet

[fetch SDL for type VariantKeySet](#graphql-partial-sdls).

### VariantPublished

[fetch SDL for type VariantPublished](#graphql-partial-sdls).

### VariantSkuSet

[fetch SDL for type VariantSkuSet](#graphql-partial-sdls).

### VariantStagedChangesRemoved

[fetch SDL for type VariantStagedChangesRemoved](#graphql-partial-sdls).

### VariantUnpublished

[fetch SDL for type VariantUnpublished](#graphql-partial-sdls).

## Category Messages

### CategoryCreated

[fetch SDL for type CategoryCreated](#graphql-partial-sdls).

### CategorySlugChanged

[fetch SDL for type CategorySlugChanged](#graphql-partial-sdls).

## Inventory Entry Messages

### InventoryEntryCreated

[fetch SDL for type InventoryEntryCreated](#graphql-partial-sdls).

### InventoryEntryDeleted

[fetch SDL for type InventoryEntryDeleted](#graphql-partial-sdls).

### InventoryEntryQuantitySet

[fetch SDL for type InventoryEntryQuantitySet](#graphql-partial-sdls).

### InventoryEntryReservationExpirationInMinutesSet

[fetch SDL for type InventoryEntryReservationExpirationInMinutesSet](#graphql-partial-sdls).

### InventoryEntryOutOfStock

[fetch SDL for type InventoryEntryOutOfStock](#graphql-partial-sdls).

### InventoryEntryReorderPoint

[fetch SDL for type InventoryEntryReorderPoint](#graphql-partial-sdls).

### InventoryEntrySafetyStock

[fetch SDL for type InventoryEntrySafetyStock](#graphql-partial-sdls).

## Review Messages

### ReviewCreated

[fetch SDL for type ReviewCreated](#graphql-partial-sdls).

### ReviewStateTransition

[fetch SDL for type ReviewStateTransition](#graphql-partial-sdls).

### ReviewRatingSet

[fetch SDL for type ReviewRatingSet](#graphql-partial-sdls).

## Related pages

- [Area overview page with navigation](/api.md)
- [Previous page: REST](/api/projects/messages/product-catalog-messages.md)
- [Search documentation and API specs](/search.md)