{"info":{"_postman_id":"11c373d8-9d94-44d4-a84b-2cb11247051c","name":"DMS-API","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"24590498","collectionId":"11c373d8-9d94-44d4-a84b-2cb11247051c","publishedId":"2s8YsxvBeu","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-11-28T20:31:32.000Z"},"item":[{"name":"Inventory","id":"9978a337-55a8-46a0-aa8a-b12de2eaf24d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-key","value":"<api-key>","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"parts\": [\n        {\n            \"part_number\": \"000423\",\n            \"qty_on_hand\": 1,\n            \"cost\": 50.3,\n            \"retail_price\": 100.5,\n            \"supplier_code\": \"PU\",\n            \"qty_on_order\": 0,\n            \"description\": \"sample-part\",\n            \"last_count\": \"2022-11-23T14:48:00.000Z\"\n        },\n        {\n            \"part_number\": \"0007456\",\n            \"qty_on_hand\": 3,\n            \"cost\": 10,\n            \"retail_price\": 15.50,\n            \"supplier_code\": \"PU\"\n        }\n    ]\n}"},"url":"https://api.puremoto.net/inventory","description":"<p>Submits retailer inventory to the PureMoto network. This method expects a single JSON object containing an array of parts following the JSON schema outlined below:</p>\n<p><em><strong>Properties</strong></em></p>\n<ul>\n<li>parts <em><strong><code>required</code></strong></em><ul>\n<li>Type: array</li>\n<li>Length: between 1 and 1000<ul>\n<li><em><strong>Items</strong></em></li>\n<li>Type: object</li>\n<li><em><strong>Properties</strong></em><ul>\n<li>part_number <strong><code>required</code></strong><ul>\n<li>Type: string</li>\n<li>Length: between 1 and 50</li>\n</ul>\n</li>\n<li>qty_on_hand <strong><code>required</code></strong><ul>\n<li>Type: integer</li>\n<li>Range: ≥ 0</li>\n</ul>\n</li>\n<li>retail_price <strong><code>required</code></strong><ul>\n<li>Type: number</li>\n<li>Range: ≥ 0</li>\n</ul>\n</li>\n<li>cost <strong><code>required</code></strong><ul>\n<li>Type: number</li>\n<li>Range: ≥ 0</li>\n</ul>\n</li>\n<li>supplier_code <strong><code>required</code></strong><ul>\n<li>Type: string</li>\n<li>Length: between 1 and 50</li>\n</ul>\n</li>\n<li>qty_on_order <em><code>optional</code></em><ul>\n<li>Type: number</li>\n<li>Range: ≥ 0</li>\n</ul>\n</li>\n<li>description <em><code>optional</code></em><ul>\n<li>Type: string</li>\n<li>Length: ≤ 100</li>\n</ul>\n</li>\n<li>last_count <em><code>optional</code></em><ul>\n<li>Type: string</li>\n<li>String format must be a \"date-time\"</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>\n<p><strong>Notes</strong></p>\n<ul>\n<li>Post requests sent to this endpoint are rate limited to <strong>5 requests per second</strong>.</li>\n<li>Optional properties that are excluded will be set to their default values:<ul>\n<li><code>qty_on_order</code>: 0</li>\n<li><code>description</code>: \"\"</li>\n<li><code>last_count</code>: [current date]</li>\n</ul>\n</li>\n<li>The last_count property follows the date-time format outlined in <a href=\"https://tools.ietf.org/html/rfc3339#section-5.6\">RFC 3339, section 5.6</a>.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["inventory"],"host":["api","puremoto","net"],"query":[],"variable":[]}},"response":[],"_postman_id":"9978a337-55a8-46a0-aa8a-b12de2eaf24d"}]}