Subversion Repositories SmartDukaan

Rev

Rev 37224 | Rev 37291 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 37224 Rev 37280
Line 97... Line 97...
97
                            "name": "...", "keySpecs": [...], "detailedSpecs": [...],
97
                            "name": "...", "keySpecs": [...], "detailedSpecs": [...],
98
                            "images": [...], "defaultImageUrl": "...", ... } } ]</pre>
98
                            "images": [...], "defaultImageUrl": "...", ... } } ]</pre>
99
 
99
 
100
<h3><span class="method">GET</span>/catalogSkuMaster</h3>
100
<h3><span class="method">GET</span>/catalogSkuMaster</h3>
101
<p>Catalog → SKU map with prices. <code>limit</code> max 500. <code>brandIdentifier</code> is the
101
<p>Catalog → SKU map with prices. <code>limit</code> max 500. <code>brandIdentifier</code> is the
102
brand's own article/SKU code where known (else <code>null</code>).</p>
102
brand's own article/SKU code where known (else <code>null</code>). <code>addedOn</code> (epoch ms) is
-
 
103
when the SKU was first added to our catalog — filter client-side on <code>addedOn &gt; X</code> to pick up
-
 
104
only newly introduced SKUs, as opposed to <code>updatedSince</code> which also returns price/stock/listing
-
 
105
updates of existing SKUs.</p>
103
<pre>GET /external/v1/catalogSkuMaster?offset=0&amp;limit=500
106
<pre>GET /external/v1/catalogSkuMaster?offset=0&amp;limit=500
104
→ records: [ { "catalogId": 12345, "itemId": 101, "title": "Samsung Galaxy A15 SM-A155F",
107
→ records: [ { "catalogId": 12345, "itemId": 101, "title": "Samsung Galaxy A15 SM-A155F",
105
               "brand": "Samsung", "modelName": "Galaxy A15", "modelNumber": "SM-A155F",
108
               "brand": "Samsung", "modelName": "Galaxy A15", "modelNumber": "SM-A155F",
106
               "color": "Blue", "brandIdentifier": "SM-A155FZKW",
109
               "color": "Blue", "brandIdentifier": "SM-A155FZKW",
107
               "mop": 14999.0, "mrp": 17999.0, "active": true, "updatedAt": 1753500000000 } ]</pre>
110
               "mop": 14999.0, "mrp": 17999.0, "active": true,
-
 
111
               "updatedAt": 1753500000000, "addedOn": 1750000000000 } ]</pre>
108
 
112
 
109
<h3><span class="method">GET</span>/skuMaster</h3>
113
<h3><span class="method">GET</span>/skuMaster</h3>
110
<p>Per-store stock + price rows for <em>your mapped stores</em>, with full item identity on every row.
114
<p>Per-store stock + price rows for <em>your mapped stores</em>, with full item identity on every row.
111
<code>limit</code> max 500. Optional <code>storeId</code> narrows to one store (must be mapped to you).</p>
115
<code>limit</code> max 500. Optional <code>storeId</code> narrows to one store (must be mapped to you).</p>
112
<pre>GET /external/v1/skuMaster?offset=0&amp;limit=500
116
<pre>GET /external/v1/skuMaster?offset=0&amp;limit=500