Skip to content

Add support for shopper/admin attributes, bundle min/max, catalog rule validation and pricebook segmentation #90

Description

@field123

Tracking issue for bringing the legacy SDK in line with recent additions to the upstream PIM (pim.yaml) and shopper Catalog View (catalog_view.yaml) OpenAPI specs.

In scope

From pim.yaml (admin / PXM)

  • shopper_attributes / admin_attributes on PcmProductBase (already on hierarchies and nodes)
  • Per-option min / max on ProductComponentOption
  • columns.include parameter on ExportProducts (POST /pcm/products/export)

From catalog_view.yaml (shopper / catalog)

  • Validate method on CatalogsRulesEndpoint (POST /catalogs/rules/validate) with match_type of filter | similarity | conflict | resolve_for_shopper
  • pricebook_ids operator on RuleFilter and pricebook_ids on RuleBase.attributes
  • available_prices, alternative_prices, available_pricebook_ids on ProductResponse.attributes (plus alternative_prices on component_products meta)
  • ReleaseIndexingCompleteData type ({ data: { status: 'succeeded' | 'failed' } })

Out of scope (potential follow-up)

  • Threading the EP-Pricebook-IDs-Of-Available-Prices-To-Show request header through Catalog / Catalogs.Products methods. The request factory already supports additionalHeaders, so this is a small follow-up if consumers need it — but it touches every product-facing method, so worth a separate PR.

References

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions