Skip to content

Commit

Permalink
build(codegen): updating SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
ct-sdks[bot] committed Jan 3, 2024
1 parent 6580173 commit bb834e0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
8 changes: 6 additions & 2 deletions lib/commercetools-api/docs/RequestBuilder.md
Original file line number Diff line number Diff line change
Expand Up @@ -4678,10 +4678,12 @@ $request = $builder
## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->productProjections()->withId("ID")->get()`

Gets the current or staged representation of a [Product](ctp:api:type:Product) by its ID from the specified [Store](ctp:api:type:Store).
If the Store has defined some languages, countries, distribution or supply Channels,
If the Store has defined some languages, countries, distribution, supply Channels, and/or Product Selection,
they are used for projections based on [locale](ctp:api:type:ProductProjectionLocales), [price](ctp:api:type:ProductProjectionPrices)
and [inventory](ctp:api:type:ProductProjectionInventoryEntries).

If [ProductSelection](ctp:api:type:ProductSelection) is used, it affects the [availability of the Product](/projects/stores#products-available-in-store) in the specified Store.

When used with an API Client that has the `view_published_products:{projectKey}` scope, this endpoint only returns published (current) Product Projections.


Expand Down Expand Up @@ -4716,10 +4718,12 @@ $request = $builder
## `withProjectKey("projectKey")->inStoreKeyWithStoreKeyValue("storeKey")->productProjections()->withKey("key")->get()`

Gets the current or staged representation of a [Product](ctp:api:type:Product) by its key from the specified [Store](ctp:api:type:Store).
If the Store has defined some languages, countries, distribution or supply Channels,
If the Store has defined some languages, countries, distribution, supply Channels, and/or Product Selection,
they are used for projections based on [locale](ctp:api:type:ProductProjectionLocales), [price](ctp:api:type:ProductProjectionPrices)
and [inventory](ctp:api:type:ProductProjectionInventoryEntries).

If [ProductSelection](ctp:api:type:ProductSelection) is used, it affects the [availability of the Product](/projects/stores#products-available-in-store) in the specified Store.

When used with an API Client that has the `view_published_products:{projectKey}` scope, this endpoint only returns published (current) Product Projections.


Expand Down
1 change: 1 addition & 0 deletions references.txt
Original file line number Diff line number Diff line change
Expand Up @@ -177,3 +177,4 @@ de39b32f1f157ed82869e1c07c1963615d571f87
d29ffbb65f68b7dd7623956b7e6151454bea2fea
f94a9a687588e4e941100ac3a4a25d55058a6016
e5585a5cbf8c346ba1b8b87fcc2ae704047c5898
d216fff1d56706c8f7cb20b8c9d10b917b8f7781

0 comments on commit bb834e0

Please sign in to comment.