query

productPrice

Get the price of a product size at all the selling locations near to a PIN Code.
Arguments
Required
A short, human-readable, URL-friendly identifier of a product. You can get slug value from the endpoint /service/application/catalog/v1.0/products/.
Required
A string indicating the size of the product, e.g. S, M, XL. You can get slug value from the endpoint /service/application/catalog/v1.0/products/sizes.
storeId
Int
The ID of the store that is selling the product, e.g. 1,2,3.
moq
Int
An Integer indication the Minimum Order Quantity of a product, e.g. 100.
pincode
String
The postal code or zip code for customer.
Response
article_assignment
ArticleAssignment
Information about serviceability algorithm.
article_id
String
This unique identifier is assigned to the specific article. This represents item x size x location.
delivery_promise
DeliveryPromiseFormatted
Estimated delivery time for the product, indicating when the customer can expect to receive their order based on the shipping options and location.
discount
String
Amount or percentage of discount applied to the product's price, showing the savings for the customer.
discount_meta
DiscountMeta
Discount countdown timer for a product.
grouped_attributes
[ProductGroupedAttribute]
Collection of attributes grouped together, which provides detailed characteristics of the product, such as color, size, material, etc.
is_cod
Boolean
Whether Cash on Delivery (COD) is available for this product. It is true if COD is available and false otherwise.
is_gift
Boolean
Whether the product can be purchased as a gift. It is true if the product is available for gifting and false otherwise.
item_type
String
Type of item, indicating the category or nature of the product. Possible values are Standard, Composite, Wet, Digital.
long_lat
[JSON]
Longitude and latitude coordinates, possibly indicating the location of the store or warehouse where the product is stocked.
marketplace_attributes
[ProductGroupedAttribute]
Attributes specific to the marketplace, such as ratings, reviews, shipping options, and other marketplace-specific details.
pincode
Int
Postal code or zip code for which the product's availability and delivery options are being checked.
Price details of product. Includes currency details, MRP, Selling price.
price_per_piece
ProductStockPrice
The price of a single unit of the product. It helps customers understand the cost per item when purchasing multiple units.
price_per_unit
ProductStockUnitPrice
Price per unit of measurement for products sold in quantities (e.g., price per kilogram, liter, etc.), helping customers compare unit prices.
quantity
Int
Available quantity of the product in stock. It shows the number of units available for purchase.
return_config
ReturnConfig
Information about the return policy for the product, including conditions, timeframes, and any specific instructions or restrictions.
seller
Seller
Seller offering the product, including the seller's name, rating, and other relevant information.
seller_count
Int
Number of sellers offering this product. It indicates the level of competition and availability from different sellers.
Collection or bundle of items that are sold together as a set, detailing the components included in the set.
special_badge
String
Special badges or labels assigned to the product, such as "Bestseller," "New Arrival," or "Limited Edition.".
Identifier or name of the store where the product is available. It helps in identifying the specific location or online store offering the product.
strategy_wise_listing
[StrategyWiseListing]
Details about serviceability attributes.
trader
[JSON]
Trader information for the offered product.
is_serviceable
Boolean
Indicate whether product is servicable or not
tags
JSON
Tags of article from which it can be identified.
Query
1query productPrice(
2 $slug: String!
3 $size: String!
4 $storeId: Int
5 $moq: Int
6 $pincode: String
7) {
8 productPrice(
9 slug: $slug
10 size: $size
11 storeId: $storeId
12 moq: $moq
13 pincode: $pincode
14 ) {
15 article_assignment {
16 level
17 strategy
18 }
19 article_id
20 delivery_promise {
21 max
22 min
23 }
24 discount
25 discount_meta {
26 end
27 start
28 start_timer_in_minutes
29 timer
30 }
31 grouped_attributes {
32 title
33 }
34 is_cod
35 is_gift
36 item_type
37 long_lat
38 marketplace_attributes {
39 title
40 }
41 pincode
42 price {
43 currency_code
44 currency_symbol
45 effective
46 marked
47 selling
48 }
49 price_per_piece {
50 currency_code
51 currency_symbol
52 effective
53 marked
54 selling
55 }
56 price_per_unit {
57 currency_code
58 currency_symbol
59 price
60 unit
61 }
62 quantity
63 return_config {
64 returnable
65 time
66 unit
67 }
68 seller {
69 count
70 name
71 uid
72 }
73 seller_count
74 set {
75 quantity
76 }
77 special_badge
78 store {
79 uid
80 name
81 count
82 }
83 strategy_wise_listing {
84 distance
85 pincode
86 quantity
87 tat
88 }
89 trader
90 is_serviceable
91 tags
92 }
93}
Try it
Input Variables
1{
2 "slug": "slug",
3 "size": "Large",
4 "storeId": 42,
5 "moq": 42,
6 "pincode": "pincode"
7}
Response
1{
2 "productPrice": {
3 "article_assignment": {
4 "level": "level",
5 "strategy": "strategy"
6 },
7 "article_id": "article_id",
8 "delivery_promise": {
9 "max": "max",
10 "min": "min"
11 },
12 "discount": "discount",
13 "discount_meta": {
14 "end": "end",
15 "start": "start",
16 "start_timer_in_minutes": 30.7,
17 "timer": true
18 },
19 "grouped_attributes": [
20 {
21 "title": "title"
22 }
23 ],
24 "is_cod": true,
25 "is_gift": true,
26 "item_type": "item_type",
27 "long_lat": [
28 {}
29 ],
30 "marketplace_attributes": [
31 {
32 "title": "title"
33 }
34 ],
35 "pincode": 42,
36 "price": {
37 "currency_code": "currency_code",
38 "currency_symbol": "currency_symbol",
39 "effective": 30.7,
40 "marked": 30.7,
41 "selling": 30.7
42 },
43 "price_per_piece": {
44 "currency_code": "currency_code",
45 "currency_symbol": "currency_symbol",
46 "effective": 30.7,
47 "marked": 30.7,
48 "selling": 30.7
49 },
50 "price_per_unit": {
51 "currency_code": "currency_code",
52 "currency_symbol": "currency_symbol",
53 "price": 30.7,
54 "unit": "unit"
55 },
56 "quantity": 42,
57 "return_config": {
58 "returnable": true,
59 "time": 42,
60 "unit": "unit"
61 },
62 "seller": {
63 "count": 42,
64 "name": "A name",
65 "uid": 42
66 },
67 "seller_count": 42,
68 "set": {
69 "quantity": 42
70 },
71 "special_badge": "special_badge",
72 "store": {
73 "uid": 42,
74 "name": "A name",
75 "count": 42
76 },
77 "strategy_wise_listing": [
78 {
79 "distance": 42,
80 "pincode": 42,
81 "quantity": 42,
82 "tat": 42
83 }
84 ],
85 "trader": [
86 {}
87 ],
88 "is_serviceable": true,
89 "tags": {}
90 }
91}