Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .changeset/pim-shopper-admin-attributes-and-bundle-quantity.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
"@epcc-sdk/sdks-pxm": minor
---

Add support for shopper and admin attributes, bundle quantity configuration, and selective column export on products.

- New `ShopperAttributes` and `AdminAttributes` types (string→string maps, max 100 keys) on products, hierarchies and nodes. `shopper_attributes` are catalog-visible; `admin_attributes` are admin-only.
- Product list/export endpoints now accept filters using `eq(shopper_attributes.<key>,…)` and `eq(admin_attributes.<key>,…)`.
- Product import (CSV) supports `shopper_attributes.<key>` / `admin_attributes.<key>` columns, partial updates, and the `__REMOVE_ATTRIBUTE__` sentinel for deleting a key.
- Product export request body supports `data.attributes.columns.include` to cherry-pick exported columns (including wildcards like `admin_attributes.*`).
- Bundle component options now expose per-option `min` / `max` to configure shopper-selectable quantities.
- Multi-product responses now include a `links` object (typed via the new `multi_links` schema).
11 changes: 11 additions & 0 deletions .changeset/shopper-pricebook-segmentation-and-rule-validation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
"@epcc-sdk/sdks-shopper": minor
---

Regenerate from updated `catalog_view` spec. Adds pricebook segmentation, catalog rule validation and indexing completion types.

- New endpoint `validateCatalogRules` (`POST /catalogs/rules/validate`) with `match_type` of `filter`, `similarity`, `conflict`, or `resolve_for_shopper`.
- New product fields `available_prices`, `alternative_prices`, `available_pricebook_ids` on shopper-context product responses; component product metadata also gains `alternative_prices`.
- New `EP-Pricebook-IDs-Of-Available-Prices-To-Show` request header (comma-delimited pricebook IDs or `'all'`) on release/product endpoints.
- `getRules` filter now supports `pricebook_ids` (`eq()` and `in()`).
- New types: `AvailablePrices`, `AlternativePrices`, `RuleMeta`, `CatalogRuleValidatorRequest`, `ReleaseIndexingCompleteData`.
5 changes: 5 additions & 0 deletions .changeset/shopper-shipping-group-external-ref.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@epcc-sdk/sdks-shopper": patch
---

Add `external_ref` field on shipping group request and response types (Cart Checkout). Optional string, max 64 characters, accepts alphanumeric/special characters/spaces, not required to be unique.
Loading