Subversion Repositories SmartDukaan

Rev

Rev 37219 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 37219 Rev 37224
Line 114... Line 114...
114
               "brand": "Samsung", "modelName": "Galaxy A15", "modelNumber": "SM-A155F",
114
               "brand": "Samsung", "modelName": "Galaxy A15", "modelNumber": "SM-A155F",
115
               "color": "Blue", "brandIdentifier": "SM-A155FZKW", "availability": 7,
115
               "color": "Blue", "brandIdentifier": "SM-A155FZKW", "availability": 7,
116
               "mop": 14999.0, "mrp": 17999.0, "active": true, "updatedAt": 1753500000000 } ]</pre>
116
               "mop": 14999.0, "mrp": 17999.0, "active": true, "updatedAt": 1753500000000 } ]</pre>
117
 
117
 
118
<h3><span class="method">GET</span>/storeMaster</h3>
118
<h3><span class="method">GET</span>/storeMaster</h3>
119
<p>Your mapped stores with location and GST details. Always the full list (no pagination or delta needed).</p>
119
<p>Your mapped stores with location and GST details, in the standard paginated envelope
-
 
120
(<code>limit</code> max 500; no <code>updatedSince</code> — store data has no delta feed, sync it fully).</p>
120
<pre>GET /external/v1/storeMaster
121
<pre>GET /external/v1/storeMaster?offset=0&amp;limit=100
121
→ [ { "storeId": 2116665, "code": "NSPRJ39290", "name": "XYZ Mobiles",
122
→ records: [ { "storeId": 2116665, "code": "NSPRJ39290", "name": "XYZ Mobiles",
122
      "addressLine1": "...", "addressLine2": "...", "city": "Jaipur",
123
               "addressLine1": "...", "addressLine2": "...", "city": "Jaipur",
123
      "state": "Rajasthan", "pincode": "302001", "latitude": "26.91", "longitude": "75.78",
124
               "state": "Rajasthan", "pincode": "302001", "latitude": "26.91", "longitude": "75.78",
124
      "gstNumber": "08ABCDE1234F1Z5" } ]</pre>
125
               "gstNumber": "08ABCDE1234F1Z5" } ]</pre>
125
 
126
 
126
<h2>Incremental sync (updatedSince)</h2>
127
<h2>Incremental sync (updatedSince)</h2>
127
<ol>
128
<ol>
128
  <li>First sync: call each feed <strong>without</strong> <code>updatedSince</code> and page through with
129
  <li>First sync: call each feed <strong>without</strong> <code>updatedSince</code> and page through with
129
      <code>offset</code>/<code>limit</code>. Full feeds contain active records only.</li>
130
      <code>offset</code>/<code>limit</code>. Full feeds contain active records only.</li>