Skip to content

Store Api - Product Prices

Swagger: https://sandbox-cn.archiproducts.com/estoreapi/swagger/index.html

Endpoint: Product Prices

  • Method: POST
  • URL: /estoreapi/api/v1/productprices?culture={culture}&apikey={apikey}

Request

Name Description Type Mandatory
config ArticlePriceConfig Object Y
articles ArticlePriceModel Object[] Y
userToken User reference Guid N

ArticlePriceConfig

Name Description Type Mandatory
shippingPrice Get article shipping Price Boolean Y
shippingInfo Get article ShippingInfo Boolean Y
applyDiscount Apply Platform discount Boolean Y
usePricePolicy Use price policy Boolean Y
1
2
3
4
5
6
"config":{
    "ShippingPrice":false,
    "ShippingInfo": true,
    "ApplyDiscount": false,
    "UsePricePolicy":false
}

ArticlePriceModel

Name Description Type Mandatory
key Unique reference Integer Y
productId Integer N*
outletGuid Guid N*
attrIds String Y
itemIds String Y
quantity Integer Y

* At least one of the two must be supported

Response

Name Description Type
canOrder All article with canBuy Boolean
articles ProductPriceResponse Object[]
shippingPrice PurchaseBoxResponseShippingPrice Object

ProductPriceResponse

It contains many fields already described in the PurchaseBox

Name Description Type
key Unique reference Integer
canSell Unique reference Boolean
canBuy Unique reference Boolean
description Description of selected attributes String[]
warnings Warning Code Enum[]
... ... ...

PurchaseBoxResponseShippingPrice

Only for internal use