Repricing Class

Perform functions related to repricing orders in Order Management.

ConnectApi

These methods are for Repricing. All methods are static.

Get details of a product in a web store.

55.0

No

public static ConnectApi.ProductDetailsOutputRepresentation productDetails(String webstoreId, String skuOrProductId, String effectiveAccountId, String currencyCode, String locale)

webstoreId

Type: String

ID of the WebStore.

skuOrProductId

Type: String

SKU or ID of the Product.

effectiveAccountId

Type: String

Effective Account ID. Required for B2B stores. For other stores, pass null.

currencyCode

Type: String

ISO currency code. If you pass null, the default store value is used.

locale

Type: String

Locale. If you pass null, the default store value is used.

excludeAttributeSetInfo

Type: Boolean

Specifies whether the attribute set information for the product is returned.

excludeBundleChildrenInfo

Type: Boolean

Specifies whether the child product information for the product bundle is returned.

excludeMedia

Type: String

Specifies whether the media groups and default images of the product are returned.

excludeQuantityRule

Type: Boolean

Specifies whether the quantity rule information for the product is returned.

excludeVariationInfo

Type: Boolean

Specifies whether the variation information for the product is returned.

excludePrices

Type: Boolean

Specifies whether the prices for the product is returned.

Type: ConnectApi.ProductDetailsOutputRepresentation

Search products in a webstore.

59.0

No

public static ConnectApi.ProductSearchOutputRepresentation searchProducts(String webstoreId, String searchTerm, Integer pageParam, Integer pageSize, String effectiveAccountId, String facets)

webstoreId

Type: String

ID of the webstore.

searchTerm

Type: String

Term used for the search.

pageParam

Type: Integer

Maximum number of search results pages to return. If you don't specify a value, the default is 1.

pageSize

Type: Integer

Number of items per page. Valid values are from 1 through 100. If you don’t specify a value, the default size is 20.

effectiveAccountId

Type: String

ID of the account for which the request is made.If unspecified, defaults to the account ID for the context user.

facets

Type: String

A list of facet names to filter the search.For example, ["size_medium", "color_red"]is encoded to WyJzaXplX21lZGl1bSIsICJjb2xvcl9yZWQiXQ==

Type: ConnectApi.ProductSearchOutputRepresentation