Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
250 changes: 76 additions & 174 deletions changes.md
Original file line number Diff line number Diff line change
@@ -1,213 +1,115 @@
**Api changes**

<details>
<summary>Added Type(s)</summary>

- added type `BulkOperationMaxItemsExceededError`
- added type `OverlappingPriceValidityError`
- added type `GraphQLBulkOperationMaxItemsExceededError`
- added type `GraphQLOverlappingPriceValidityError`
- added type `CartLockedMessage`
- added type `CartUnlockedMessage`
- added type `VariantCreatedMessage`
- added type `VariantDeletedMessage`
- added type `VariantImageAddedMessage`
- added type `VariantImagesSetMessage`
- added type `VariantKeySetMessage`
- added type `VariantPublishedMessage`
- added type `VariantSkuSetMessage`
- added type `VariantStagedChangesRemovedMessage`
- added type `VariantUnpublishedMessage`
- added type `CartLockedMessagePayload`
- added type `CartUnlockedMessagePayload`
- added type `VariantCreatedMessagePayload`
- added type `VariantDeletedMessagePayload`
- added type `VariantImageAddedMessagePayload`
- added type `VariantImagesSetMessagePayload`
- added type `VariantKeySetMessagePayload`
- added type `VariantPublishedMessagePayload`
- added type `VariantSkuSetMessagePayload`
- added type `VariantStagedChangesRemovedMessagePayload`
- added type `VariantUnpublishedMessagePayload`
- added type `ProductSetDefaultVariantAction`
- added type `ProductCatalogModel`
- added type `ProjectSetProductCatalogModelAction`
- added type `ShippingMethodAddStoreAction`
- added type `ShippingMethodRemoveStoreAction`
- added type `ShippingMethodSetStoresAction`
- added type `VariantAttributes`
- added type `VariantAttributesAttributeMetadata`
- added type `VariantAttributesAvailability`
- added type `VariantAttributesChannelAvailability`
- added type `VariantAttributesChannelAvailabilityMap`
- added type `VariantAttributesVariant`
- added type `Variant`
- added type `VariantBulkUpdate`
- added type `VariantBulkUpdateFailResult`
- added type `VariantBulkUpdateItem`
- added type `VariantBulkUpdateResource`
- added type `VariantBulkUpdateResponse`
- added type `VariantBulkUpdateResult`
- added type `VariantBulkUpdateSuccessResult`
- added type `VariantData`
- added type `VariantDraft`
- added type `VariantPagedQueryResponse`
- added type `VariantProjection`
- added type `VariantProjectionPagedQueryResponse`
- added type `VariantReference`
- added type `VariantResourceIdentifier`
- added type `VariantUpdate`
- added type `VariantUpdateAction`
- added type `VariantAddAssetAction`
- added type `VariantAddExternalImageAction`
- added type `VariantChangeAssetNameAction`
- added type `VariantChangeAssetOrderAction`
- added type `VariantPublishAction`
- added type `VariantRemoveAssetAction`
- added type `VariantRemoveImageAction`
- added type `VariantRemoveStagedChangesAction`
- added type `VariantSetAssetCustomFieldAction`
- added type `VariantSetAssetCustomTypeAction`
- added type `VariantSetAssetDescriptionAction`
- added type `VariantSetAssetKeyAction`
- added type `VariantSetAssetSourcesAction`
- added type `VariantSetAssetTagsAction`
- added type `VariantSetAssetsAction`
- added type `VariantSetAttributeAction`
- added type `VariantSetAttributesAction`
- added type `VariantSetImagesAction`
- added type `VariantSetKeyAction`
- added type `VariantSetSkuAction`
- added type `VariantUnpublishAction`
</details>


<details>
<summary>Added QueryParameter(s)</summary>

- added query parameter `dataErasure` to method `delete /{projectKey}/business-units/key={key}`
- added query parameter `dataErasure` to method `delete /{projectKey}/business-units/{ID}`
- added query parameter `dataErasure` to method `delete /{projectKey}/in-store/key={storeKey}/business-units/key={key}`
- added query parameter `dataErasure` to method `delete /{projectKey}/in-store/key={storeKey}/business-units/{ID}`
</details>


<details>
<summary>Added Resource(s)</summary>
<summary>Added Method(s)</summary>

- added resource `/{projectKey}/variant-projections`
- added resource `/{projectKey}/variants`
- added resource `/{projectKey}/product-projections/key={key}/variant-attributes`
- added resource `/{projectKey}/product-projections/{ID}/variant-attributes`
- added resource `/{projectKey}/variant-projections/key={key}`
- added resource `/{projectKey}/variant-projections/{ID}`
- added resource `/{projectKey}/variants/bulk`
- added resource `/{projectKey}/variants/key={key}`
- added resource `/{projectKey}/variants/{ID}`
- added resource `/{projectKey}/in-store/key={storeKey}/variant-projections`
- added resource `/{projectKey}/in-store/key={storeKey}/product-projections/key={key}/variant-attributes`
- added resource `/{projectKey}/in-store/key={storeKey}/product-projections/{ID}/variant-attributes`
- added resource `/{projectKey}/in-store/key={storeKey}/variant-projections/key={key}`
- added resource `/{projectKey}/in-store/key={storeKey}/variant-projections/{ID}`
- added method `apiRoot.withProjectKey().mcpServers().get()`
- added method `apiRoot.withProjectKey().mcpServers().post()`
- added method `apiRoot.withProjectKey().variants().withId().images().post()`
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().discountCodes().get()`
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().discountCodes().head()`
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().discountCodes().withKey().get()`
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().discountCodes().withKey().head()`
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().discountCodes().withId().get()`
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().discountCodes().withId().head()`
- added method `apiRoot.withProjectKey().mcpServers().types().get()`
- added method `apiRoot.withProjectKey().mcpServers().withKey().get()`
- added method `apiRoot.withProjectKey().mcpServers().withKey().post()`
- added method `apiRoot.withProjectKey().mcpServers().withKey().delete()`
- added method `apiRoot.withProjectKey().mcpServers().withId().get()`
- added method `apiRoot.withProjectKey().mcpServers().withId().post()`
- added method `apiRoot.withProjectKey().mcpServers().withId().delete()`
- added method `apiRoot.withProjectKey().mcpServers().types().withMcpServerType().get()`
</details>


<details>
<summary>Added Property(s)</summary>

- added property `defaultVariant` to type `ProductData`
- added property `productCatalogModel` to type `Project`
- added property `stores` to type `ShippingMethod`
- added property `stores` to type `ShippingMethodDraft`
- added property `stores` to type `DiscountCode`
- added property `warnings` to type `Variant`
</details>


<details>
<summary>Added Method(s)</summary>
<summary>Added Type(s)</summary>

- added method `apiRoot.withProjectKey().variantProjections().get()`
- added method `apiRoot.withProjectKey().variantProjections().head()`
- added method `apiRoot.withProjectKey().variants().get()`
- added method `apiRoot.withProjectKey().variants().post()`
- added method `apiRoot.withProjectKey().variants().head()`
- added method `apiRoot.withProjectKey().productProjections().withKey().variantAttributes().get()`
- added method `apiRoot.withProjectKey().productProjections().withId().variantAttributes().get()`
- added method `apiRoot.withProjectKey().variantProjections().withKey().get()`
- added method `apiRoot.withProjectKey().variantProjections().withKey().head()`
- added method `apiRoot.withProjectKey().variantProjections().withId().get()`
- added method `apiRoot.withProjectKey().variantProjections().withId().head()`
- added method `apiRoot.withProjectKey().variants().bulk().post()`
- added method `apiRoot.withProjectKey().variants().withKey().get()`
- added method `apiRoot.withProjectKey().variants().withKey().head()`
- added method `apiRoot.withProjectKey().variants().withKey().post()`
- added method `apiRoot.withProjectKey().variants().withKey().delete()`
- added method `apiRoot.withProjectKey().variants().withId().get()`
- added method `apiRoot.withProjectKey().variants().withId().head()`
- added method `apiRoot.withProjectKey().variants().withId().post()`
- added method `apiRoot.withProjectKey().variants().withId().delete()`
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().variantProjections().get()`
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().variantProjections().head()`
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().productProjections().withKey().variantAttributes().get()`
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().productProjections().withId().variantAttributes().get()`
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().variantProjections().withKey().get()`
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().variantProjections().withKey().head()`
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().variantProjections().withId().get()`
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().variantProjections().withId().head()`
- added type `UnauthorizedError`
- added type `GraphQLUnauthorizedError`
- added type `CommerceMcpServerConfig`
- added type `CommerceMcpServerConfigDraft`
- added type `McpServer`
- added type `McpServerConfig`
- added type `McpServerConfigDraft`
- added type `McpServerDraft`
- added type `McpServerJsonOutputFiltering`
- added type `McpServerJsonOutputFilteringMatcher`
- added type `McpServerPagedQueryResponse`
- added type `McpServerState`
- added type `McpServerTool`
- added type `McpServerToolOutputFormatting`
- added type `McpServerType`
- added type `McpServerTypeTool`
- added type `McpServerUpdate`
- added type `McpServerUpdateAction`
- added type `ParameterOverride`
- added type `RemoveToolCustomizationTarget`
- added type `ToolCustomization`
- added type `McpServerAddToolAction`
- added type `McpServerAddToolCustomizationAction`
- added type `McpServerRemoveToolAction`
- added type `McpServerRemoveToolCustomizationAction`
- added type `McpServerSetDescriptionAction`
- added type `McpServerSetJsonOutputFilteringAction`
- added type `McpServerSetNameAction`
- added type `McpServerSetStateAction`
- added type `McpServerSetToolCustomizationsAction`
- added type `McpServerSetToolOutputFormattingAction`
- added type `McpServerSetToolsAction`
- added type `ProductTailoringKeySetMessage`
- added type `ProductTailoringKeySetMessagePayload`
- added type `ProductTailoringSetKeyAction`
- added type `VariantMoveImageToPositionAction`
- added type `VariantSetImageLabelAction`
</details>


<details>
<summary>Added Enum(s)</summary>

- added enum `variant` to type `ReferenceTypeId`
</details>

**Import changes**

<details>
<summary>Added Type(s)</summary>

- added type `VariantImportRequest`
- added type `VariantImport`
- added enum `variant` to type `AttributeReferenceTypeId`
- added enum `variant` to type `CustomFieldReferenceValue`
</details>


<details>
<summary>Added Resource(s)</summary>

- added resource `/{projectKey}/variants`
- added resource `/{projectKey}/variants/import-containers`
- added resource `/{projectKey}/variants/import-containers/{importContainerKey}`
</details>


<details>
<summary>Added Method(s)</summary>

- added method `apiRoot.withProjectKeyValue().variants().importContainers().withImportContainerKeyValue().post()`
- added resource `/{projectKey}/mcp-servers`
- added resource `/{projectKey}/variants/{ID}/images`
- added resource `/{projectKey}/in-store/key={storeKey}/discount-codes`
- added resource `/{projectKey}/in-store/key={storeKey}/discount-codes/key={key}`
- added resource `/{projectKey}/in-store/key={storeKey}/discount-codes/{ID}`
- added resource `/{projectKey}/mcp-servers/types`
- added resource `/{projectKey}/mcp-servers/key={key}`
- added resource `/{projectKey}/mcp-servers/{ID}`
- added resource `/{projectKey}/mcp-servers/types/{mcpServerType}`
</details>

**History changes**

<details>
<summary>Added Enum(s)</summary>

- added enum `variant` to type `ImportResourceType`
- added enum `variant` to type `ReferenceType`
</details>

**Checkout changes**

<details>
<summary>Changed MethodResponseBody(s)</summary>
<summary>Added QueryParameter(s)</summary>

- :warning: changed response body for `200: application/json` of method `post /{projectKey}/payment-intents/{paymentId}` from type `any` to `PaymentIntentResponse`
- added query parameter `withTotal` to method `get /{projectKey}`
- added query parameter `withTotal` to method `get /{projectKey}/{resourceType}`
- added query parameter `withTotal` to method `get /{projectKey}/{resourceType}/{ID}`
</details>


<details>
<summary>Added Type(s)</summary>
<summary>Required Property(s)</summary>

- added type `PaymentIntentOutcome`
- added type `PaymentIntentResponse`
- changed property `total` of type `RecordPagedQueryResponse` to be optional
</details>

Loading
Loading