{"info":{"_postman_id":"0e761c15-ddf1-4ccf-8da5-18bea5624847","name":"ProcureDesk API's- V2","description":"<html><head></head><body><h3 id=\"introduction-to-procuredesk-api\"><strong>Introduction to ProcureDesk API</strong></h3>\n<p>The ProcureDesk API allows seamless integration with ProcureDesk's purchasing and accounts payable platform, providing robust functionality for managing vendor orders, purchase requisitions, invoices, and other procurement workflows. Designed for businesses looking to streamline their procurement processes, the API offers endpoints to create, read, update, and delete purchasing-related data, allowing companies to build automated workflows, improve efficiency, and gain greater visibility into their spending.</p>\n<p>With the ProcureDesk API, users can integrate their existing systems to:</p>\n<ul>\n<li><p>Automate purchase order and invoice processing.</p>\n</li>\n<li><p>Gain real-time insights into purchasing and vendor data.</p>\n</li>\n<li><p>Enhance workflows for approvals, budgets, and compliance.</p>\n</li>\n<li><p>Simplify procurement management across teams and locations.</p>\n</li>\n</ul>\n<h1 id=\"getting-started\">Getting Started</h1>\n<h2 id=\"introduction\">Introduction</h2>\n<p>The ProcureDesk API allows seamless integration with ProcureDesk's purchasing and accounts payable platform, enabling automated workflows for managing vendor orders, purchase requisitions, invoices, and procurement data. This API supports companies in automating processes, improving efficiency, and gaining visibility into their spending.</p>\n<h3 id=\"1-authentication\">1. Authentication</h3>\n<ul>\n<li><p>Use the <code>/api/authenticate</code> endpoint to obtain an access token.</p>\n</li>\n<li><p>Include this token in the <code>Authorization</code> header for all subsequent requests as <code>Bearer {access_token}</code>.</p>\n</li>\n</ul>\n<p><strong>Example Authentication Request:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">POST /api/authenticate\n{\n  \"api_user\": {\n    \"email\": \"user@example.com\",\n    \"password\": \"YourSecurePassword123!\"\n  }\n}\n\n</code></pre>\n<h3 id=\"3-explore-key-endpoints\">3. Explore Key Endpoints</h3>\n<ul>\n<li><p><strong>Purchase Orders</strong>: <code>/api/v2/po/create_po</code> – Create and manage POs.</p>\n</li>\n<li><p><strong>Vendor Orders</strong>: <code>/api/vendor_order</code> – Submit and track vendor orders.</p>\n</li>\n<li><p><strong>Invoices</strong>: <code>/api/invoices</code> – Manage invoice processing.</p>\n</li>\n</ul>\n<h3 id=\"4-make-your-first-request\">4. Make Your First Request</h3>\n<ul>\n<li>Start by creating a purchase order, ensuring you include the <code>Authorization</code> header with your access token.</li>\n</ul>\n<h3 id=\"5-error-handling\">5. Error Handling</h3>\n<ul>\n<li>Common errors: <code>400 Bad Request</code> for missing parameters and <code>401 Unauthorized</code> for invalid tokens.</li>\n</ul>\n<h3 id=\"6-best-practices\">6. Best Practices</h3>\n<ul>\n<li><p>Keep access tokens secure and avoid hardcoding them in public code.</p>\n</li>\n<li><p>Respect API rate limits and use pagination where supported.</p>\n</li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Getting Started","slug":"getting-started"}],"owner":"7334347","collectionId":"0e761c15-ddf1-4ccf-8da5-18bea5624847","publishedId":"2sAY52byvt","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-11-29T17:46:04.000Z"},"item":[{"name":"Authentication","item":[{"name":"Authenticate","id":"345ca303-f694-4a00-ba4c-6e2bb396dac6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"api_user\": {\n    \"email\": \"user@procuredesk.com\",\n    \"password\": \"SecurePassword!\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://myprocuredesk.com/api/authenticate","description":"<h3 id=\"endpoint-user-authentication\">Endpoint: <strong>User Authentication</strong></h3>\n<p><strong>URL:</strong> <code>POST /api/authenticate</code></p>\n<p><strong>Full URL:</strong> <code>https://myprocuredesk.com/api/authenticate</code></p>\n<h3 id=\"purpose\">Purpose</h3>\n<p>This endpoint authenticates users by validating their credentials and returns an authentication token, which is required for accessing other API endpoints.</p>\n<hr />\n<h3 id=\"request-headers\">Request Headers</h3>\n<ul>\n<li><strong>Content-Type</strong>: <code>application/json</code> (Required)<br />  Specifies that the request body is in JSON format.</li>\n</ul>\n<h3 id=\"request-body-parameters\">Request Body Parameters</h3>\n<p>The request body must be in JSON format and should include the following parameters:</p>\n<h4 id=\"api_user-object-required\"><strong>api_user</strong> (Object, Required)</h4>\n<p>Object containing the user credentials for authentication.</p>\n<ul>\n<li><p><strong>email</strong> (String, Required)<br />  The email address associated with the user account in ProcureDesk.<br />  <em>Example:</em> <code>\"email\": \"user@example.com\"</code></p>\n</li>\n<li><p><strong>password</strong> (String, Required)<br />  The password is associated with the user’s account. Ensure this is securely stored and handled.<br />  <em>Example:</em> <code>\"password\": \"YourSecurePassword123!\"</code></p>\n</li>\n</ul>\n<h4 id=\"example-request-body\">Example Request Body</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"api_user\": {\n    \"email\": \"user@example.com\",\n    \"password\": \"YourSecurePassword123!\"\n  }\n}\n\n</code></pre>\n<h3 id=\"response\">Response</h3>\n<p>If authentication is successful, the server will return a JSON response containing an access token. This token must be included in the headers of subsequent API requests to authorize access.</p>\n<h4 id=\"response-parameters\">Response Parameters</h4>\n<ul>\n<li><strong>access_token</strong> (String, Required)<br />  The token used for authenticating API requests. This token is valid for a specific time frame and should be refreshed periodically.</li>\n</ul>\n<h4 id=\"example-successful-response\">Example Successful Response</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"access_token\": \"eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoxMDc3MCwiZXhwIjoxNzMyMzA3MDkxfQ.9ltLnv0jZGnAoEnKHubV84RjqniLe6tLAPnq1qLObQA\"\n}\n\n</code></pre>\n<hr />\n<h3 id=\"notes\">Notes</h3>\n<ul>\n<li><p>The <code>access_token</code> is essential for authenticating API requests; include it in the Authorization header for each request that requires authentication.</p>\n</li>\n<li><p><strong>Authorization Header Format</strong>:</p>\n<ul>\n<li><p>Format: <code>Authorization: Bearer {access_token}</code></p>\n</li>\n<li><p>Replace <code>{access_token}</code> with the actual token from the response.</p>\n</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","authenticate"],"host":["myprocuredesk","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"345ca303-f694-4a00-ba4c-6e2bb396dac6"},{"name":"Refresh_token","id":"3671a37b-ded7-49a8-b5fc-158e120d1a40","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://myprocuredesk.com/api/v2/tokens/refresh?refresh_token","urlObject":{"protocol":"https","path":["api","v2","tokens","refresh"],"host":["myprocuredesk","com"],"query":[{"key":"refresh_token","value":null}],"variable":[]}},"response":[],"_postman_id":"3671a37b-ded7-49a8-b5fc-158e120d1a40"}],"id":"e6aace90-9a5b-4c5f-9f94-777070c20ad6","description":"<p>This section explains how to securely access the API by validating user credentials and obtaining an authentication token. The token is required for authorizing subsequent requests to protected endpoints, ensuring secure and controlled access to your data.</p>\n<p>This section covers:</p>\n<ol>\n<li><p><strong>Authentication Flow</strong>: How to authenticate and obtain a token.</p>\n</li>\n<li><p><strong>Token Management</strong>: Best practices for using, refreshing, and storing your authentication token.</p>\n</li>\n<li><p><strong>Headers and Formats</strong>: How to include the token in API requests.</p>\n</li>\n</ol>\n","_postman_id":"e6aace90-9a5b-4c5f-9f94-777070c20ad6"},{"name":"Purchase Orders","item":[{"name":"Create","id":"1dd1a81f-10c0-4727-adaf-d91eb0f0cd92","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"vendor_order\": {\n    \"description\": \"API Test New - 1\",\n    \"location\": \"uycgduf\",\n    \"state\": \"draft\",\n    \"contact\": \"Anamika Sri 1-Seva-test\",\n    \"department\": \"Marketing\",\n    \"business_unit\": \"Mobile App\",\n    \"order_items_attributes\": [\n     {\n      \"item_description\": \"Sample Description\",\n      \"supplier\": \"Abhay Supplier 1 A\",\n      \"uom_master\": \"EA\",\n      \"list_price\": \"200\",\n      \"item_type\": \"material\",\n      \"account\": \"AZXS\",\n      \"quantity\": \"1\"\n      }\n    ]\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://dev.procuredesk.com/api/v2/po/create_po","description":"<h3 id=\"api-documentation-vendor-order-endpoint\">API Documentation: Vendor Order Endpoint</h3>\n<p>POST: /api/v2/po/create_po</p>\n<h4 id=\"request-body\"><strong>Request Body</strong></h4>\n<p>The request body for the <code>vendor_order</code> endpoint contains the following fields:</p>\n<hr />\n<h3 id=\"top-level-fields\"><strong>Top-Level Fields</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Type</th>\n<th>Mandatory</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>vendor_order</code></td>\n<td>Object</td>\n<td>Yes</td>\n<td>The main object containing details of the vendor order.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"fields-in-vendor_order\"><strong>Fields in</strong> <strong><code>vendor_order</code></strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Type</th>\n<th>Mandatory</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>business_unit</code></td>\n<td>String</td>\n<td>Yes</td>\n<td>The name of the business unit creating the order. This is only required if business units are enabled in ProcureDesk.</td>\n</tr>\n<tr>\n<td><code>description</code></td>\n<td>String</td>\n<td>Yes</td>\n<td>A brief description of the order.</td>\n</tr>\n<tr>\n<td><code>locationable_type</code></td>\n<td>String</td>\n<td>Yes</td>\n<td>The type of the location. Example: \"Location\". Please use the default value.</td>\n</tr>\n<tr>\n<td><code>location</code></td>\n<td>String</td>\n<td>Yes</td>\n<td>The physical location associated with the order. Example: \"Cincinnati\". This is mapped to the location name in ProcureDesk and the name must exist as in the system.</td>\n</tr>\n<tr>\n<td><code>state</code></td>\n<td>String</td>\n<td>Yes</td>\n<td>The current state of the order. Example: \"Draft\". The other possible values are:  <br />\"Sent to Supplier\" - Use this if you want the system to send the purchase order to the supplier automatically.</td>\n</tr>\n<tr>\n<td><code>contact</code></td>\n<td>String</td>\n<td>Yes</td>\n<td>The name of the person to contact regarding this order.</td>\n</tr>\n<tr>\n<td><code>department</code></td>\n<td>String</td>\n<td>Optional</td>\n<td>The department that is responsible for this order. The department name should match an existing department in ProcureDesk.To enable this feature, go to the Admin Dashboard, then navigate to Company Settings. There, you'll find an option to 'Enable Department,' which will display the department field. Additionally, there is another setting called 'Make Department Mandatory,' which will make the department field mandatory for users.</td>\n</tr>\n<tr>\n<td><code>order_items_attributes</code></td>\n<td>Array of Objects</td>\n<td>Yes</td>\n<td>Contains the details of individual order items. Each item is represented as an object.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"fields-in-order_items_attributes\"><strong>Fields in</strong> <strong><code>order_items_attributes</code></strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Type</th>\n<th>Mandatory</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>item_description</code></td>\n<td>String</td>\n<td>Yes</td>\n<td>A description of the item being ordered.</td>\n</tr>\n<tr>\n<td><code>supplier</code></td>\n<td>String</td>\n<td>Yes</td>\n<td>The name of the supplier providing the item. This should match exactly how it is in ProcureDesk.</td>\n</tr>\n<tr>\n<td><code>uom_master</code></td>\n<td>String</td>\n<td>Yes</td>\n<td>The unit of measure for the item. Example: \"EA\" (Each).</td>\n</tr>\n<tr>\n<td><code>list_price</code></td>\n<td>String</td>\n<td>Yes</td>\n<td>The price of a single unit of the item.</td>\n</tr>\n<tr>\n<td><code>item_type</code></td>\n<td>String</td>\n<td>Yes</td>\n<td>The type of item being ordered. Example: \"material\" or \"Service\".</td>\n</tr>\n<tr>\n<td><code>account</code></td>\n<td>String</td>\n<td>Yes</td>\n<td>The account to which the expense will be allocated. Example: \"Office Supplies\".</td>\n</tr>\n<tr>\n<td><code>quantity</code></td>\n<td>String</td>\n<td>Yes</td>\n<td>The number of units being ordered.</td>\n</tr>\n<tr>\n<td><code>budget_value_breakup_name</code></td>\n<td>String</td>\n<td>Optional</td>\n<td>A name for the budget value breakup associated with the item. Example: \"Office Supplies\".</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h4 id=\"example-request-body\"><strong>Example Request Body</strong></h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"vendor_order\": {\n    \"business_unit\": \"ProcureDesk\",\n    \"description\": \"Test Order\",\n    \"locationable_type\": \"Location\",\n    \"location\": \"Cincinnati\",\n    \"state\": \"Draft\",\n    \"contact\": \"Test User\",\n    \"department\": \"HR\",\n    \"order_items_attributes\": [\n      {\n        \"item_description\": \"Sample Description\",\n        \"supplier\": \"Apple\",\n        \"uom_master\": \"EA\",\n        \"list_price\": \"200\",\n        \"item_type\": \"material\",\n        \"account\": \"Office Supplies\",\n        \"quantity\": \"1\",\n        \"budget_value_breakup_name\": \"Accounts\"\n      }\n    ]\n  }\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","v2","po","create_po"],"host":["dev","procuredesk","com"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[],"_postman_id":"1dd1a81f-10c0-4727-adaf-d91eb0f0cd92"},{"name":"Update - Partial","id":"ba67c9a2-0583-4586-844d-3e6b4b628d00","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"vendor_order\": {\n    \"business_unit\": \"ProcureDesk\",\n    \"description\": \"Test Order1\",\n    \"locationable_type\" : \"Location\",\n    \"location\": \"Cincinnati\",\n    \"state\": \"Draft\",\n    \"contact\": \"Sachin Sharma\",\n    \"department\": \"HR\"\n    \n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://myprocuredesk.com/api/v2/po/477565","description":"<p>Update purchase orders is currently only updating the order header. Line item update should be available soon.</p>\n","urlObject":{"protocol":"https","path":["api","v2","po","477565"],"host":["myprocuredesk","com"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[],"_postman_id":"ba67c9a2-0583-4586-844d-3e6b4b628d00"},{"name":"Delete","id":"91751128-a7fa-4422-a4d6-1b175402c33b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://myprocuredesk.com/api/v2/po/477564","description":"<h3 id=\"endpoint\">endpoint</h3>\n<p><strong>Method</strong>: <code>DELETE</code><br /><strong>Endpoint</strong>: <code>https://myprocuredesk.com/api/v2/po/{id}</code></p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Mandatory</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>String</td>\n<td>Yes</td>\n<td>The unique identifier of the purchase order is to be deleted. Example: <code>477564</code>. Please note that this is different from the purchase order #.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"description\">Description</h3>\n<p>This endpoint is used to delete a specific purchase order based on its unique ID. The <code>id</code> must be passed as part of the URL path.</p>\n<hr />\n<h3 id=\"notes\">Notes</h3>\n<ul>\n<li><p>Ensure that the ID corresponds to an existing purchase order; otherwise, the request will return an error.</p>\n</li>\n<li><p>This action is <strong>irreversible</strong>. Once the purchase order is deleted, it cannot be recovered.</p>\n</li>\n</ul>\n<hr />\n<h3 id=\"key-considerations\"><strong>Key Considerations:</strong></h3>\n<ul>\n<li><p><strong>ID Validation:</strong> Ensure the ID is valid and corresponds to an existing purchase order.</p>\n</li>\n<li><p><strong>Irreversibility:</strong> Clearly communicate to users that this action is irreversible (as you mentioned).</p>\n</li>\n<li><p><strong>Data Integrity:</strong> In a real-world application, ensure that you handle related data properly. For example, if other entities depend on the purchase order (like invoices or transactions), consider cascading deletions or soft deletions.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","v2","po","477564"],"host":["myprocuredesk","com"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[],"_postman_id":"91751128-a7fa-4422-a4d6-1b175402c33b"},{"name":"Read","id":"8ea94afd-a9f5-401b-81b5-724d1ebbb6c3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://myprocuredesk.com/api/v2/po/477565","description":"<h3 id=\"endpoint\">Endpoint</h3>\n<p><strong>Method</strong>: <code>GET</code><br /><strong>Endpoint</strong>: <code>https://myprocuredesk.com/api/v2/po/{id}</code></p>\n<hr />\n<p>}</p>\n<p>explain this response int able firmat</p>\n<h6 id=\"chatgpt-said\">ChatGPT said:</h6>\n<p>Here's the response formatted in a table:</p>\n<h3 id=\"order-details\"><strong>Order Details</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Order ID</td>\n<td>18957</td>\n</tr>\n<tr>\n<td>Customer ID</td>\n<td>188</td>\n</tr>\n<tr>\n<td>Company ID</td>\n<td>25</td>\n</tr>\n<tr>\n<td>Contact ID</td>\n<td>188</td>\n</tr>\n<tr>\n<td>Order Contact Name</td>\n<td>Test User 1</td>\n</tr>\n<tr>\n<td>Order Contact Designation</td>\n<td>Analyst Sr.</td>\n</tr>\n<tr>\n<td>State</td>\n<td>Sent To Supplier</td>\n</tr>\n<tr>\n<td>Description</td>\n<td>test</td>\n</tr>\n<tr>\n<td>Slug</td>\n<td>2647</td>\n</tr>\n<tr>\n<td>Sub Total</td>\n<td>575.0</td>\n</tr>\n<tr>\n<td>Created At</td>\n<td>2025-01-30T10:39:49.822Z</td>\n</tr>\n<tr>\n<td>Updated At</td>\n<td>2025-01-30T10:41:36.664Z</td>\n</tr>\n<tr>\n<td>Department Name</td>\n<td>Engg</td>\n</tr>\n<tr>\n<td>Line Item Count</td>\n<td>2</td>\n</tr>\n<tr>\n<td>Shipping</td>\n<td>0.0</td>\n</tr>\n<tr>\n<td>Tax</td>\n<td>0.0</td>\n</tr>\n<tr>\n<td>Supplier Name</td>\n<td>Supplier Test</td>\n</tr>\n<tr>\n<td>Supplier Number</td>\n<td>1738230955</td>\n</tr>\n<tr>\n<td>Payment Method</td>\n<td>ACH</td>\n</tr>\n<tr>\n<td>Business Unit Name</td>\n<td>QA BU</td>\n</tr>\n<tr>\n<td>Is Urgent</td>\n<td>False</td>\n</tr>\n<tr>\n<td>Type</td>\n<td>VendorOrder</td>\n</tr>\n<tr>\n<td>Order Total</td>\n<td>575.0</td>\n</tr>\n<tr>\n<td>Release Date</td>\n<td>2025-01-30</td>\n</tr>\n<tr>\n<td>Transaction Date</td>\n<td>2025-01-30</td>\n</tr>\n<tr>\n<td>Order Date</td>\n<td>2025-01-30</td>\n</tr>\n<tr>\n<td>Created By</td>\n<td>Test User 1</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"line-items\"><strong>Line Items</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>Line Item ID</strong></td>\n<td>52875</td>\n</tr>\n<tr>\n<td><strong>Line Number</strong></td>\n<td>1</td>\n</tr>\n<tr>\n<td><strong>Item No</strong></td>\n<td>1242989</td>\n</tr>\n<tr>\n<td><strong>Supplier</strong></td>\n<td>Supplier Test</td>\n</tr>\n<tr>\n<td>Supplier Number</td>\n<td>1738230955</td>\n</tr>\n<tr>\n<td><strong>Supplier Item No</strong></td>\n<td>2345677</td>\n</tr>\n<tr>\n<td><strong>Category</strong></td>\n<td>Furniture</td>\n</tr>\n<tr>\n<td><strong>Unit Price</strong></td>\n<td>500.0</td>\n</tr>\n<tr>\n<td><strong>Total Price</strong></td>\n<td>500.0</td>\n</tr>\n<tr>\n<td><strong>Quantity</strong></td>\n<td>1.0</td>\n</tr>\n<tr>\n<td><strong>Required Date</strong></td>\n<td>2025-01-30</td>\n</tr>\n<tr>\n<td><strong>Item Name</strong></td>\n<td>Test 11122</td>\n</tr>\n<tr>\n<td><strong>Item Description</strong></td>\n<td>Test</td>\n</tr>\n<tr>\n<td><strong>Manufacturer</strong></td>\n<td>Lenovo</td>\n</tr>\n<tr>\n<td><strong>Manufacturer No</strong></td>\n<td>LN347643232</td>\n</tr>\n<tr>\n<td><strong>List Price</strong></td>\n<td>500.0</td>\n</tr>\n<tr>\n<td><strong>Lead Time</strong></td>\n<td>5 days</td>\n</tr>\n<tr>\n<td><strong>MOQ</strong></td>\n<td>1</td>\n</tr>\n<tr>\n<td><strong>Image URL</strong></td>\n<td><a href=\"https://images-na.ssl-images-amazon.com/images/I/41ouk1MXCeL._AC_US218_.jpg\">Image</a></td>\n</tr>\n<tr>\n<td><strong>Status</strong></td>\n<td>Not Delivered</td>\n</tr>\n<tr>\n<td><strong>Preferred Item</strong></td>\n<td>Yes</td>\n</tr>\n<tr>\n<td><strong>Match Type</strong></td>\n<td>Material</td>\n</tr>\n<tr>\n<td><strong>Shipping</strong></td>\n<td>0.0</td>\n</tr>\n<tr>\n<td><strong>Sales Tax</strong></td>\n<td>0.0</td>\n</tr>\n<tr>\n<td><strong>Other Charges</strong></td>\n<td>0.0</td>\n</tr>\n<tr>\n<td><strong>UOM</strong></td>\n<td>EACH</td>\n</tr>\n<tr>\n<td><strong>Markup Percentage</strong></td>\n<td>2.0</td>\n</tr>\n<tr>\n<td><strong>Total Markup Price</strong></td>\n<td>0.0</td>\n</tr>\n<tr>\n<td><strong>Line Type</strong></td>\n<td>Catalog</td>\n</tr>\n<tr>\n<td><strong>Total Payment Amount</strong></td>\n<td>0.0</td>\n</tr>\n<tr>\n<td><strong>Line Total</strong></td>\n<td>500.0</td>\n</tr>\n<tr>\n<td><strong>Account Name</strong></td>\n<td>Test</td>\n</tr>\n<tr>\n<td><strong>State</strong></td>\n<td>Not Delivered</td>\n</tr>\n<tr>\n<td><strong>Is Cancelled?</strong></td>\n<td>No</td>\n</tr>\n<tr>\n<td><strong>Discount</strong></td>\n<td>0.0</td>\n</tr>\n<tr>\n<td><strong>Source From</strong></td>\n<td>Vendor</td>\n</tr>\n<tr>\n<td><strong>Shared Price</strong></td>\n<td>500.0</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"approval-data\"><strong>Approval Data</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Value</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Level</td>\n<td>Level 1</td>\n</tr>\n<tr>\n<td>Approval ID</td>\n<td>168419</td>\n</tr>\n<tr>\n<td>State</td>\n<td>Approved</td>\n</tr>\n<tr>\n<td>Approved By</td>\n<td>Test User 2</td>\n</tr>\n<tr>\n<td>Designation</td>\n<td>Director</td>\n</tr>\n<tr>\n<td>Workflow Type</td>\n<td>Standard</td>\n</tr>\n<tr>\n<td>Reviewer Only</td>\n<td>No</td>\n</tr>\n<tr>\n<td>Is Adhoc?</td>\n<td>No</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Order Suppliers with Locations (Vertical Format)</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Value</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Supplier Name</td>\n<td>Supplier Test</td>\n</tr>\n<tr>\n<td>PO Method</td>\n<td>Email</td>\n</tr>\n<tr>\n<td>Location ID</td>\n<td>16279</td>\n</tr>\n<tr>\n<td>Is Checked?</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>Contact Email</td>\n<td><a href=\"https://mailto:test@gmail.com\">test@gmail.com</a></td>\n</tr>\n</tbody>\n</table>\n</div><h5 id=\"response\">Response</h5>\n<p>{<br />\"success\": true,<br />\"result\": {<br />\"id\": 18957,<br />\"customer_id\": 188,<br />\"company_id\": 25,<br />\"contact_id\": 188,<br />\"order_contact_name\": \"Test User 1\",<br />\"order_contact_designation\": \"Analyst Sr.\",<br />\"parent_order_id\": null,<br />\"state\": \"Sent To Supplier\",<br />\"name\": \"\",<br />\"description\": \"test\",<br />\"slug\": \"2647\",<br />\"sub_total\": \"575.0\",<br />\"created_at\": \"2025-01-30T10:39:49.822Z\",<br />\"updated_at\": \"2025-01-30T10:41:36.664Z\",<br />\"noti_message\": \"\",<br />\"department_id\": 1266,<br />\"department_name\": \"Engg\",<br />\"line_item_count\": 2,<br />\"shipping\": \"0.0\",<br />\"tax\": \"0.0\",<br />\"supplier_name\": \"Supplier Test\",<br />\"supplier_number\": \"1738230955\",<br />\"payment_method_name\": \"ACH\",<br />\"business_unit_id\": 84,<br />\"business_unit_name\": \"QA BU\",<br />\"is_urgent\": false,<br />\"type\": \"VendorOrder\",<br />\"payment_method_id\": 159,<br />\"prorate_tax\": true,<br />\"locationable_type\": \"Location\",<br />\"locationable_id\": 3113,<br />\"location_name\": \"TEST APPLICATION ORDRRS\",<br />\"source_type\": \"standard\",<br />\"markup_subtotal\": \"0.0\",<br />\"cost_type\": \"capex\",<br />\"release_date\": \"2025-01-30\",<br />\"applied_amount\": \"0.0\",<br />\"order_total\": \"575.0\",<br />\"txn_date\": \"2025-01-30\",<br />\"order_date\": \"2025-01-30\",<br />\"custom_slug\": \"100341\",<br />\"created_by\": \"Test User 1\",<br />\"line_items\": [<br />{<br />\"id\": 52875,<br />\"line_no\": 1,<br />\"item_no\": \"1242989\",<br />\"itemable_type\": \"Order\",<br />\"supplier_id\": 16663,<br />\"supplier\": \"Supplier Test\",<br />\"supplier_item_no\": \"2345677\",<br />\"supplier_number\": \"1738230955\",<br />\"category_name\": \"Furniture\",<br />\"unit_price\": \"500.0\",<br />\"total_price\": \"500.0\",<br />\"price\": \"500.0\",<br />\"quantity\": \"1.0\",<br />\"required_date\": \"2025-01-30\",<br />\"item_name\": \"Test 11122\",<br />\"item_description\": \"Test\",<br />\"mfr_name\": \"Lenovo\",<br />\"mfr_no\": \"LN347643232\",<br />\"list_price\": \"500.0\",<br />\"lead_time\": 5,<br />\"moq\": \"1\",<br />\"image_url\": \"<a href=\"https://images-na.ssl-images-amazon.com/images/I/41ouk1MXCeL._AC_US218_.jpg\">https://images-na.ssl-images-amazon.com/images/I/41ouk1MXCeL.<em>AC_US218</em>.jpg</a>\",<br />\"unspsc_id\": \"2344323\",<br />\"status\": \"Not Delivered\",<br />\"preferred_item\": true,<br />\"match_type\": \"material\",<br />\"shipping\": \"0.0\",<br />\"sales_tax\": \"0.0\",<br />\"other_charges\": \"0.0\",<br />\"uom\": \"EACH\",<br />\"markup_percentage\": \"2.0\",<br />\"total_markup_price\": \"0.0\",<br />\"line_type\": \"catalog\",<br />\"total_payment_amount\": \"0.0\",<br />\"line_total\": \"500.0\",<br />\"class_master_id\": 88,<br />\"default_account_id\": 468,<br />\"account_name\": \"Test\",<br />\"state\": \"Not Delivered\",<br />\"is_cancelled\": false,<br />\"discount\": \"0.0\",<br />\"user_tax_id\": 32,<br />\"source_from\": \"vendor\",<br />\"shared_price\": \"500.0\",<br />\"line_item_id\": 30379,<br />\"class\": \"test\",<br />\"tracking_categories\": []<br />}<br />],<br />\"approvals_data\": {<br />\"Level 1\": {<br />\"id\": 168419,<br />\"state\": \"approved\",<br />\"approved_by\": \"Test User 2\",<br />\"designation\": \"Director\",<br />\"workflow_type\": \"standard\",<br />\"reviewer_only\": false,<br />\"is_adhoc\": false<br />}<br />},<br />\"order_suppliers_with_locations\": [<br />{<br />\"supplier_name\": \"Supplier Test\",<br />\"po_method\": \"Email\",<br />\"supplier_locations\": [<br />{<br />\"location_id\": 16279,<br />\"is_checked\": true,<br />\"contact_email\": \"<a href=\"mailto:test@gmail.com\">test@gmail.com</a>\"<br />}<br />]<br />}<br />],<br />\"comments\": [],<br />\"attachments\": [],<br />\"custom_fields\": []<br />}<br />}</p>\n","urlObject":{"protocol":"https","path":["api","v2","po","477565"],"host":["myprocuredesk","com"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[],"_postman_id":"8ea94afd-a9f5-401b-81b5-724d1ebbb6c3"},{"name":"Read Copy","id":"42bf3cf2-f794-46e2-b4cf-2e647fcb4ac2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://myprocuredesk.com/api/v2/po/477565","description":"<h3 id=\"endpoint\">Endpoint</h3>\n<p><strong>Method</strong>: <code>GET</code><br /><strong>Endpoint</strong>: <code>https://myprocuredesk.com/api/v2/po/{id}</code></p>\n<hr />\n<p>}</p>\n<p>explain this response int able firmat</p>\n<h6 id=\"chatgpt-said\">ChatGPT said:</h6>\n<p>Here's the response formatted in a table:</p>\n<h3 id=\"order-details\"><strong>Order Details</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Order ID</td>\n<td>18957</td>\n</tr>\n<tr>\n<td>Customer ID</td>\n<td>188</td>\n</tr>\n<tr>\n<td>Company ID</td>\n<td>25</td>\n</tr>\n<tr>\n<td>Contact ID</td>\n<td>188</td>\n</tr>\n<tr>\n<td>Order Contact Name</td>\n<td>Test User 1</td>\n</tr>\n<tr>\n<td>Order Contact Designation</td>\n<td>Analyst Sr.</td>\n</tr>\n<tr>\n<td>State</td>\n<td>Sent To Supplier</td>\n</tr>\n<tr>\n<td>Description</td>\n<td>test</td>\n</tr>\n<tr>\n<td>Slug</td>\n<td>2647</td>\n</tr>\n<tr>\n<td>Sub Total</td>\n<td>575.0</td>\n</tr>\n<tr>\n<td>Created At</td>\n<td>2025-01-30T10:39:49.822Z</td>\n</tr>\n<tr>\n<td>Updated At</td>\n<td>2025-01-30T10:41:36.664Z</td>\n</tr>\n<tr>\n<td>Department Name</td>\n<td>Engg</td>\n</tr>\n<tr>\n<td>Line Item Count</td>\n<td>2</td>\n</tr>\n<tr>\n<td>Shipping</td>\n<td>0.0</td>\n</tr>\n<tr>\n<td>Tax</td>\n<td>0.0</td>\n</tr>\n<tr>\n<td>Supplier Name</td>\n<td>Supplier Test</td>\n</tr>\n<tr>\n<td>Supplier Number</td>\n<td>1738230955</td>\n</tr>\n<tr>\n<td>Payment Method</td>\n<td>ACH</td>\n</tr>\n<tr>\n<td>Business Unit Name</td>\n<td>QA BU</td>\n</tr>\n<tr>\n<td>Is Urgent</td>\n<td>False</td>\n</tr>\n<tr>\n<td>Type</td>\n<td>VendorOrder</td>\n</tr>\n<tr>\n<td>Order Total</td>\n<td>575.0</td>\n</tr>\n<tr>\n<td>Release Date</td>\n<td>2025-01-30</td>\n</tr>\n<tr>\n<td>Transaction Date</td>\n<td>2025-01-30</td>\n</tr>\n<tr>\n<td>Order Date</td>\n<td>2025-01-30</td>\n</tr>\n<tr>\n<td>Created By</td>\n<td>Test User 1</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"line-items\"><strong>Line Items</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Value</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>Line Item ID</strong></td>\n<td>52875</td>\n</tr>\n<tr>\n<td><strong>Line Number</strong></td>\n<td>1</td>\n</tr>\n<tr>\n<td><strong>Item No</strong></td>\n<td>1242989</td>\n</tr>\n<tr>\n<td><strong>Supplier</strong></td>\n<td>Supplier Test</td>\n</tr>\n<tr>\n<td>Supplier Number</td>\n<td>1738230955</td>\n</tr>\n<tr>\n<td><strong>Supplier Item No</strong></td>\n<td>2345677</td>\n</tr>\n<tr>\n<td><strong>Category</strong></td>\n<td>Furniture</td>\n</tr>\n<tr>\n<td><strong>Unit Price</strong></td>\n<td>500.0</td>\n</tr>\n<tr>\n<td><strong>Total Price</strong></td>\n<td>500.0</td>\n</tr>\n<tr>\n<td><strong>Quantity</strong></td>\n<td>1.0</td>\n</tr>\n<tr>\n<td><strong>Required Date</strong></td>\n<td>2025-01-30</td>\n</tr>\n<tr>\n<td><strong>Item Name</strong></td>\n<td>Test 11122</td>\n</tr>\n<tr>\n<td><strong>Item Description</strong></td>\n<td>Test</td>\n</tr>\n<tr>\n<td><strong>Manufacturer</strong></td>\n<td>Lenovo</td>\n</tr>\n<tr>\n<td><strong>Manufacturer No</strong></td>\n<td>LN347643232</td>\n</tr>\n<tr>\n<td><strong>List Price</strong></td>\n<td>500.0</td>\n</tr>\n<tr>\n<td><strong>Lead Time</strong></td>\n<td>5 days</td>\n</tr>\n<tr>\n<td><strong>MOQ</strong></td>\n<td>1</td>\n</tr>\n<tr>\n<td><strong>Image URL</strong></td>\n<td><a href=\"https://images-na.ssl-images-amazon.com/images/I/41ouk1MXCeL._AC_US218_.jpg\">Image</a></td>\n</tr>\n<tr>\n<td><strong>Status</strong></td>\n<td>Not Delivered</td>\n</tr>\n<tr>\n<td><strong>Preferred Item</strong></td>\n<td>Yes</td>\n</tr>\n<tr>\n<td><strong>Match Type</strong></td>\n<td>Material</td>\n</tr>\n<tr>\n<td><strong>Shipping</strong></td>\n<td>0.0</td>\n</tr>\n<tr>\n<td><strong>Sales Tax</strong></td>\n<td>0.0</td>\n</tr>\n<tr>\n<td><strong>Other Charges</strong></td>\n<td>0.0</td>\n</tr>\n<tr>\n<td><strong>UOM</strong></td>\n<td>EACH</td>\n</tr>\n<tr>\n<td><strong>Markup Percentage</strong></td>\n<td>2.0</td>\n</tr>\n<tr>\n<td><strong>Total Markup Price</strong></td>\n<td>0.0</td>\n</tr>\n<tr>\n<td><strong>Line Type</strong></td>\n<td>Catalog</td>\n</tr>\n<tr>\n<td><strong>Total Payment Amount</strong></td>\n<td>0.0</td>\n</tr>\n<tr>\n<td><strong>Line Total</strong></td>\n<td>500.0</td>\n</tr>\n<tr>\n<td><strong>Account Name</strong></td>\n<td>Test</td>\n</tr>\n<tr>\n<td><strong>State</strong></td>\n<td>Not Delivered</td>\n</tr>\n<tr>\n<td><strong>Is Cancelled?</strong></td>\n<td>No</td>\n</tr>\n<tr>\n<td><strong>Discount</strong></td>\n<td>0.0</td>\n</tr>\n<tr>\n<td><strong>Source From</strong></td>\n<td>Vendor</td>\n</tr>\n<tr>\n<td><strong>Shared Price</strong></td>\n<td>500.0</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"approval-data\"><strong>Approval Data</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Value</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Level</td>\n<td>Level 1</td>\n</tr>\n<tr>\n<td>Approval ID</td>\n<td>168419</td>\n</tr>\n<tr>\n<td>State</td>\n<td>Approved</td>\n</tr>\n<tr>\n<td>Approved By</td>\n<td>Test User 2</td>\n</tr>\n<tr>\n<td>Designation</td>\n<td>Director</td>\n</tr>\n<tr>\n<td>Workflow Type</td>\n<td>Standard</td>\n</tr>\n<tr>\n<td>Reviewer Only</td>\n<td>No</td>\n</tr>\n<tr>\n<td>Is Adhoc?</td>\n<td>No</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Order Suppliers with Locations (Vertical Format)</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Value</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Supplier Name</td>\n<td>Supplier Test</td>\n</tr>\n<tr>\n<td>PO Method</td>\n<td>Email</td>\n</tr>\n<tr>\n<td>Location ID</td>\n<td>16279</td>\n</tr>\n<tr>\n<td>Is Checked?</td>\n<td>Yes</td>\n</tr>\n<tr>\n<td>Contact Email</td>\n<td><a href=\"https://mailto:test@gmail.com\">test@gmail.com</a></td>\n</tr>\n</tbody>\n</table>\n</div><h5 id=\"response\">Response</h5>\n<p>{<br />\"success\": true,<br />\"result\": {<br />\"id\": 18957,<br />\"customer_id\": 188,<br />\"company_id\": 25,<br />\"contact_id\": 188,<br />\"order_contact_name\": \"Test User 1\",<br />\"order_contact_designation\": \"Analyst Sr.\",<br />\"parent_order_id\": null,<br />\"state\": \"Sent To Supplier\",<br />\"name\": \"\",<br />\"description\": \"test\",<br />\"slug\": \"2647\",<br />\"sub_total\": \"575.0\",<br />\"created_at\": \"2025-01-30T10:39:49.822Z\",<br />\"updated_at\": \"2025-01-30T10:41:36.664Z\",<br />\"noti_message\": \"\",<br />\"department_id\": 1266,<br />\"department_name\": \"Engg\",<br />\"line_item_count\": 2,<br />\"shipping\": \"0.0\",<br />\"tax\": \"0.0\",<br />\"supplier_name\": \"Supplier Test\",<br />\"supplier_number\": \"1738230955\",<br />\"payment_method_name\": \"ACH\",<br />\"business_unit_id\": 84,<br />\"business_unit_name\": \"QA BU\",<br />\"is_urgent\": false,<br />\"type\": \"VendorOrder\",<br />\"payment_method_id\": 159,<br />\"prorate_tax\": true,<br />\"locationable_type\": \"Location\",<br />\"locationable_id\": 3113,<br />\"location_name\": \"TEST APPLICATION ORDRRS\",<br />\"source_type\": \"standard\",<br />\"markup_subtotal\": \"0.0\",<br />\"cost_type\": \"capex\",<br />\"release_date\": \"2025-01-30\",<br />\"applied_amount\": \"0.0\",<br />\"order_total\": \"575.0\",<br />\"txn_date\": \"2025-01-30\",<br />\"order_date\": \"2025-01-30\",<br />\"custom_slug\": \"100341\",<br />\"created_by\": \"Test User 1\",<br />\"line_items\": [<br />{<br />\"id\": 52875,<br />\"line_no\": 1,<br />\"item_no\": \"1242989\",<br />\"itemable_type\": \"Order\",<br />\"supplier_id\": 16663,<br />\"supplier\": \"Supplier Test\",<br />\"supplier_item_no\": \"2345677\",<br />\"supplier_number\": \"1738230955\",<br />\"category_name\": \"Furniture\",<br />\"unit_price\": \"500.0\",<br />\"total_price\": \"500.0\",<br />\"price\": \"500.0\",<br />\"quantity\": \"1.0\",<br />\"required_date\": \"2025-01-30\",<br />\"item_name\": \"Test 11122\",<br />\"item_description\": \"Test\",<br />\"mfr_name\": \"Lenovo\",<br />\"mfr_no\": \"LN347643232\",<br />\"list_price\": \"500.0\",<br />\"lead_time\": 5,<br />\"moq\": \"1\",<br />\"image_url\": \"<a href=\"https://images-na.ssl-images-amazon.com/images/I/41ouk1MXCeL._AC_US218_.jpg\">https://images-na.ssl-images-amazon.com/images/I/41ouk1MXCeL.<em>AC_US218</em>.jpg</a>\",<br />\"unspsc_id\": \"2344323\",<br />\"status\": \"Not Delivered\",<br />\"preferred_item\": true,<br />\"match_type\": \"material\",<br />\"shipping\": \"0.0\",<br />\"sales_tax\": \"0.0\",<br />\"other_charges\": \"0.0\",<br />\"uom\": \"EACH\",<br />\"markup_percentage\": \"2.0\",<br />\"total_markup_price\": \"0.0\",<br />\"line_type\": \"catalog\",<br />\"total_payment_amount\": \"0.0\",<br />\"line_total\": \"500.0\",<br />\"class_master_id\": 88,<br />\"default_account_id\": 468,<br />\"account_name\": \"Test\",<br />\"state\": \"Not Delivered\",<br />\"is_cancelled\": false,<br />\"discount\": \"0.0\",<br />\"user_tax_id\": 32,<br />\"source_from\": \"vendor\",<br />\"shared_price\": \"500.0\",<br />\"line_item_id\": 30379,<br />\"class\": \"test\",<br />\"tracking_categories\": []<br />}<br />],<br />\"approvals_data\": {<br />\"Level 1\": {<br />\"id\": 168419,<br />\"state\": \"approved\",<br />\"approved_by\": \"Test User 2\",<br />\"designation\": \"Director\",<br />\"workflow_type\": \"standard\",<br />\"reviewer_only\": false,<br />\"is_adhoc\": false<br />}<br />},<br />\"order_suppliers_with_locations\": [<br />{<br />\"supplier_name\": \"Supplier Test\",<br />\"po_method\": \"Email\",<br />\"supplier_locations\": [<br />{<br />\"location_id\": 16279,<br />\"is_checked\": true,<br />\"contact_email\": \"<a href=\"mailto:test@gmail.com\">test@gmail.com</a>\"<br />}<br />]<br />}<br />],<br />\"comments\": [],<br />\"attachments\": [],<br />\"custom_fields\": []<br />}<br />}</p>\n","urlObject":{"protocol":"https","path":["api","v2","po","477565"],"host":["myprocuredesk","com"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[],"_postman_id":"42bf3cf2-f794-46e2-b4cf-2e647fcb4ac2"},{"name":"Read All","id":"8456cbfb-b03f-4b91-bef5-02e744c8e140","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://myprocuredesk.com/api/v2/orders?max_results=2&page=&modified_date=2024-11-08","description":"<p>Endpoint</p>\n<p><strong>Method</strong>: <code>GET</code><br /><strong>Endpoint</strong>: <code>https://myprocuredesk.com/api/v2/orders</code></p>\n<hr />\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Mandatory</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>max_results</code></td>\n<td>Integer</td>\n<td>No</td>\n<td>Maximum number of results to return per page. Example: <code>2</code>.</td>\n</tr>\n<tr>\n<td><code>page</code></td>\n<td>Integer</td>\n<td>No</td>\n<td>Specifies the page number to fetch. Leave blank for the first page.</td>\n</tr>\n<tr>\n<td><code>modified_date</code></td>\n<td>String</td>\n<td>No</td>\n<td>Fetches orders modified on or after the specified date. Format: <code>YYYY-MM-DD</code>. Example: <code>2024-11-08</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"description\">Description</h3>\n<p>This endpoint retrieves a list of purchase orders based on the provided filters such as <code>max_results</code>, <code>page</code>, and <code>modified_date</code>. The response includes order metadata and allows pagination for large datasets.</p>\n<hr />\n<h3 id=\"sample-request\">Sample Request</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-html\">https://myprocuredesk.com/api/v2/orders?max_results=2&amp;page=&amp;modified_date=2024-11-08\n\n</code></pre>\n<hr />\n<h3 id=\"sample-response\">Sample Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"result\": [\n        {\n            \"id\": 481382,\n            \"slug\": \"1038\",\n            \"description\": \"dhgcvhjdvcjdhc\",\n            \"slug_no\": \"po-2024-30292\",\n            \"created_on\": \"11/15/2024\",\n            \"creatable_name\": \"Anubhav Srivastava\",\n            \"supplier_name\": \"Amazon.com\",\n            \"order_total_with_currency\": \"EUR 541.00\",\n            \"state_titleize\": \"Pending Approval\",\n            \"attachments\": []\n        },\n        {\n            \"id\": 481365,\n            \"slug\": \"1037\",\n            \"description\": \"cjdvdjhvcjdhsvjhcsdc\",\n            \"slug_no\": \"po-2024-30291\",\n            \"created_on\": \"11/15/2024\",\n            \"creatable_name\": \"Anubhav Srivastava\",\n            \"supplier_name\": \"15th Sep\",\n            \"order_total_with_currency\": \"EUR 100.00\",\n            \"state_titleize\": \"Approved\",\n            \"attachments\": []\n        }\n    ]\n}\n\n</code></pre>\n<hr />\n<h3 id=\"response-fields-explained\">Response Fields Explained</h3>\n<h4 id=\"root-fields\">Root Fields</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>success</code></td>\n<td>Boolean</td>\n<td>Indicates whether the API request was successful.</td>\n</tr>\n<tr>\n<td><code>result</code></td>\n<td>Array</td>\n<td>Contains the list of orders matching the query parameters.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h4 id=\"fields-in-result-array-item\">Fields in <code>result</code> (Array Item)</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>Integer</td>\n<td>Unique identifier for the order. Example: <code>481382</code>.</td>\n</tr>\n<tr>\n<td><code>slug</code></td>\n<td>String</td>\n<td>Unique slug identifier for the order. Example: \"1038\".</td>\n</tr>\n<tr>\n<td><code>description</code></td>\n<td>String</td>\n<td>Description of the order. Example: \"dhgcvhjdvcjdhc\".</td>\n</tr>\n<tr>\n<td><code>slug_no</code></td>\n<td>String</td>\n<td>Human-readable purchase order number. Example: \"po-2024-30292\".</td>\n</tr>\n<tr>\n<td><code>created_on</code></td>\n<td>String</td>\n<td>Date the order was created. Example: \"11/15/2024\".</td>\n</tr>\n<tr>\n<td><code>creatable_name</code></td>\n<td>String</td>\n<td>Name of the user who created the order. Example: \"Anubhav Srivastava\".</td>\n</tr>\n<tr>\n<td><code>supplier_name</code></td>\n<td>String</td>\n<td>Name of the supplier. Example: \"Amazon.com\".</td>\n</tr>\n<tr>\n<td><code>order_total_with_currency</code></td>\n<td>String</td>\n<td>Total order amount with currency. Example: \"EUR 541.00\".</td>\n</tr>\n<tr>\n<td><code>state_titleize</code></td>\n<td>String</td>\n<td>Current state of the order in a human-readable format. Example: \"Pending Approval\".</td>\n</tr>\n<tr>\n<td><code>attachments</code></td>\n<td>Array</td>\n<td>List of attachments associated with the order. Currently empty.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"notes\">Notes</h3>\n<ul>\n<li><p>This response includes the most important metadata for orders, such as supplier information, order status, and creator details.</p>\n</li>\n<li><p>Empty fields (e.g., <code>attachments</code>) are included in the response for consistency but may not always contain data.</p>\n</li>\n<li><p>Ensure correct query parameters are used to retrieve filtered results effectively.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","v2","orders"],"host":["myprocuredesk","com"],"query":[{"key":"max_results","value":"2"},{"key":"page","value":""},{"description":{"content":"<p>Date format: Year-Month-Date</p>\n","type":"text/plain"},"key":"modified_date","value":"2024-11-08"}],"variable":[]}},"response":[],"_postman_id":"8456cbfb-b03f-4b91-bef5-02e744c8e140"}],"id":"18664b1a-e605-4719-843a-b92aad0f252c","description":"<h3 id=\"introduction-to-the-purchase-orders-api\">Introduction to the Purchase Orders API</h3>\n<p>The <strong>Purchase Orders API</strong> is a powerful tool for managing purchase orders (POs) throughout the procurement lifecycle. It provides capabilities to create, update, retrieve, delete, and list purchase orders, ensuring efficient tracking of purchasing activities and alignment with organizational approval workflows.</p>\n<hr />\n<h3 id=\"key-features-of-the-purchase-orders-api\">Key Features of the Purchase Orders API:</h3>\n<ol>\n<li><p><strong>Create Purchase Orders</strong>:</p>\n<ul>\n<li>Generate new purchase orders with details such as business unit, department, line items, and total amounts.</li>\n</ul>\n</li>\n<li><p><strong>Update Purchase Orders</strong>:</p>\n<ul>\n<li>Modify existing POs to reflect changes such as adjustments to quantities, updates to line items, or state transitions.</li>\n</ul>\n</li>\n<li><p><strong>Retrieve Purchase Orders</strong>:</p>\n<ul>\n<li>Fetch detailed information about individual purchase orders, including associated line items, approvals, and vendor details.</li>\n</ul>\n</li>\n<li><p><strong>Delete Purchase Orders</strong>:</p>\n<ul>\n<li>Remove purchase orders that are no longer valid. This action is irreversible and must be used with caution.</li>\n</ul>\n</li>\n<li><p><strong>List Purchase Orders</strong>:</p>\n<ul>\n<li>Retrieve a paginated or filtered list of all purchase orders for reporting, analytics, or operational use.</li>\n</ul>\n</li>\n</ol>\n","_postman_id":"18664b1a-e605-4719-843a-b92aad0f252c"},{"name":"Receipts","item":[{"name":"Create","id":"dbd016e4-5ea3-44a7-8007-e7386cddd1ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n   \"receipt_date\": \"02/17/2025\",\n   \"state\": \"Approved\",\n   \"department_id\": 223,\n    \"line_items\": [\n       {\n           \"id\": 55238,\n           \"line_no\": 1,\n           \"received_qty\": 4,\n           \"is_received\": false\n          \n       }\n   ]\n}","options":{"raw":{"language":"json"}}},"url":"https://myprocuredesk.com/api/v2/receipts?purchase_order_id=477565","description":"<h3 id=\"endpoint\">Endpoint</h3>\n<p><strong>Method</strong>: <code>POST</code><br /><strong>Endpoint</strong>: <code>/api/v2/receipts</code></p>\n<hr />\n<h3 id=\"parameters\">Parameters</h3>\n<h4 id=\"query-parameters\">Query Parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Mandatory</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>purchase_order_id</code></td>\n<td>Integer</td>\n<td>Yes</td>\n<td>The \"Unique identifier for the purchase order against which the receipt is created. Example: 12345.\" means that each purchase order has a unique ID (like 12345) that is used to link it to a receipt when the items are delivered.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"request-body-structure\">Request Body Structure</h3>\n<h4 id=\"root-parameters-in-body\">Root Parameters (In Body)</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Mandatory</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>receipt_date</code></td>\n<td>String</td>\n<td>Yes</td>\n<td>Date when the receipt is created. Format: <code>MM/DD/YYYY</code>. Example: \"11/09/2024\".</td>\n</tr>\n<tr>\n<td><code>state</code></td>\n<td>String</td>\n<td>Yes</td>\n<td>The state of the receipt indicates its current status, such as \"Approved,\" \"Draft,\" \"Pending Approval,\" \"Submitted,\" \"Matching Issue,\" or \"Rejected.\"</td>\n</tr>\n<tr>\n<td><code>department_id</code></td>\n<td>String</td>\n<td>No</td>\n<td>To get the department ID, hover over the delete icon. The department ID will be displayed at the bottom left of the screen.  <br />  <br />\"The department receiving the goods refers to the department that accepts the delivered items, such as 'HR'. To enable this feature, go to the Admin Dashboard, then navigate to Company Settings. There, you'll find an option to 'Enable Department,' which will display the department field. Additionally, there is another setting called 'Make Department Mandatory,' which will make the department field mandatory for users.\"</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"line-items-parameters-in-body\">Line Items Parameters (In Body)</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Mandatory</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Unique identifier for the purchase order line item. Example: <code>3821459</code>.</td>\n</tr>\n<tr>\n<td><code>line_no</code></td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Line number of the item in the purchase order. Example: <code>1</code>.</td>\n</tr>\n<tr>\n<td><code>received_qty</code></td>\n<td>Float</td>\n<td>Yes</td>\n<td>Quantity received for this item. Example: 1.0.</td>\n</tr>\n<tr>\n<td><code>is_received</code></td>\n<td>Boolean</td>\n<td>Yes</td>\n<td>Indicates if the item has been fully received. Example: <code>true</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"complete-request-example\">Complete Request Example</h3>\n<h4 id=\"request-url\">Request URL</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>https://myprocuredesk.com/api/v2/receipts?purchase_order_id=12345\n\n</code></pre><h4 id=\"request-body\">Request Body</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n   \"receipt_date\": \"11/09/2024\",\n   \"state\": \"Approved\",\n   \"department_name\": \"HR\",\n   \"line_items\": [\n       {\n           \"id\": 3821459,\n           \"line_no\": 1,\n           \"received_qty\": \"1.0\",\n           \"is_received\": true\n       }\n   ]\n}\n\n</code></pre>\n<hr />\n<h3 id=\"sample-response\">Sample Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"result\": {\n        \"id\": 3019,\n        \"number\": \"30000438\",\n        \"slug\": \"30000438\",\n        \"packing_number\": null,\n        \"receipt_date\": \"02/18/2025\",\n        \"shipping_date\": \"02/18/2025\",\n        \"state\": \"Draft\",\n        \"po_slug\": \"2230\",\n        \"created_at\": \"02/18/2025\",\n        \"department_name\": \"Administration\",\n        \"department_label_name\": \"Department\",\n        \"inventory_location_name\": null,\n        \"inventory_location_id\": null,\n        \"is_inventory\": true,\n        \"attachment_name\": null,\n        \"attachment_url\": null,\n        \"line_items\": [\n            {\n                \"id\": 5374,\n                \"line_no\": 1,\n                \"is_received\": true,\n                \"item_no\": \"8787588\",\n                \"item_description\": \"Test\",\n                \"ordered_qty\": \"5.0\",\n                \"invoiced_qty\": \"0.0\",\n                \"received_qty\": \"4.0\",\n                \"uom\": \"EACH\",\n                \"list_price\": \"75.0\"\n            }\n        ],\n        \"attachments\": []\n    }\n}\n\n</code></pre>\n<hr />\n<h3 id=\"response-fields-explained\">Response Fields Explained</h3>\n<h3 id=\"top-level-fields\"><strong>Top-Level Fields</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>success</code></td>\n<td>Boolean</td>\n<td>Indicates if the request was successful (<code>true</code> = success).</td>\n</tr>\n<tr>\n<td><code>result</code></td>\n<td>Object</td>\n<td>Contains the detailed record information.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"fields-inside-result\"><strong>Fields inside</strong> <strong><code>result</code></strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>Integer</td>\n<td>Unique identifier for the record (<code>3019</code>).</td>\n</tr>\n<tr>\n<td><code>number</code></td>\n<td>String</td>\n<td>Unique number assigned to the record (<code>30000438</code>).</td>\n</tr>\n<tr>\n<td><code>slug</code></td>\n<td>String</td>\n<td>URL-friendly version of the record number (<code>30000438</code>).</td>\n</tr>\n<tr>\n<td><code>packing_number</code></td>\n<td>Null</td>\n<td>Packing number (currently <code>null</code>, meaning not assigned).</td>\n</tr>\n<tr>\n<td><code>receipt_date</code></td>\n<td>String</td>\n<td>Date the receipt was created (<code>02/18/2025</code>).</td>\n</tr>\n<tr>\n<td><code>shipping_date</code></td>\n<td>String</td>\n<td>Date the item was shipped (<code>02/18/2025</code>).</td>\n</tr>\n<tr>\n<td><code>state</code></td>\n<td>String</td>\n<td>Current status of the record (<code>Draft</code>).</td>\n</tr>\n<tr>\n<td><code>po_slug</code></td>\n<td>String</td>\n<td>Purchase Order (PO) number linked to this record (<code>2230</code>).</td>\n</tr>\n<tr>\n<td><code>created_at</code></td>\n<td>String</td>\n<td>Date when this record was created (<code>02/18/2025</code>).</td>\n</tr>\n<tr>\n<td><code>department_name</code></td>\n<td>String</td>\n<td>Name of the department handling this record (<code>Administration</code>).</td>\n</tr>\n<tr>\n<td><code>department_label_name</code></td>\n<td>String</td>\n<td>Label name for the department (<code>Department</code>).</td>\n</tr>\n<tr>\n<td><code>inventory_location_name</code></td>\n<td>Null</td>\n<td>Name of the inventory location (<code>null</code> = not assigned).</td>\n</tr>\n<tr>\n<td><code>inventory_location_id</code></td>\n<td>Null</td>\n<td>Unique ID for the inventory location (<code>null</code> = not assigned).</td>\n</tr>\n<tr>\n<td><code>is_inventory</code></td>\n<td>Boolean</td>\n<td>Indicates if this is an inventory item (<code>true</code> = yes).</td>\n</tr>\n<tr>\n<td><code>attachment_name</code></td>\n<td>Null</td>\n<td>Name of any attached file (<code>null</code> = no attachment).</td>\n</tr>\n<tr>\n<td><code>attachment_url</code></td>\n<td>Null</td>\n<td>URL of the attachment (<code>null</code> = no attachment).</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"line-items-line_items---array-of-objects\"><strong>Line Items (****<code>line_items</code></strong> <strong>- Array of Objects)</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>Integer</td>\n<td>Unique identifier for the line item (<code>5374</code>).</td>\n</tr>\n<tr>\n<td><code>line_no</code></td>\n<td>Integer</td>\n<td>Line item number (<code>1</code>).</td>\n</tr>\n<tr>\n<td><code>is_received</code></td>\n<td>Boolean</td>\n<td>Indicates if the item was received (<code>true</code> = yes).</td>\n</tr>\n<tr>\n<td><code>item_no</code></td>\n<td>String</td>\n<td>Item number (<code>8787588</code>).</td>\n</tr>\n<tr>\n<td><code>item_description</code></td>\n<td>String</td>\n<td>Description of the item (<code>Test</code>).</td>\n</tr>\n<tr>\n<td><code>ordered_qty</code></td>\n<td>String</td>\n<td>Quantity ordered (<code>5.0</code>).</td>\n</tr>\n<tr>\n<td><code>invoiced_qty</code></td>\n<td>String</td>\n<td>Quantity invoiced (<code>0.0</code>, meaning not invoiced yet).</td>\n</tr>\n<tr>\n<td><code>received_qty</code></td>\n<td>String</td>\n<td>Quantity received (<code>4.0</code>).</td>\n</tr>\n<tr>\n<td><code>uom</code></td>\n<td>String</td>\n<td>Unit of measurement (<code>EACH</code>).</td>\n</tr>\n<tr>\n<td><code>list_price</code></td>\n<td>String</td>\n<td>Price per unit (<code>75.0</code>).</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"attachments-attachments---array\"><strong>Attachments (****<code>attachments</code></strong> <strong>- Array)</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>Attachments</strong></td>\n<td>Array</td>\n<td>Currently empty, meaning no file attachments.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v2","receipts"],"host":["myprocuredesk","com"],"query":[{"key":"purchase_order_id","value":"477565"}],"variable":[]}},"response":[],"_postman_id":"dbd016e4-5ea3-44a7-8007-e7386cddd1ee"},{"name":"Update - Pending","id":"f0e85c12-ec1e-453f-a45d-e466ca8c4ebc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n   \"receipt_date\": \"11/09/2024\",\n   \"state\": \"Approved\",\n   \"department_name\": \"HR\",\n    \"line_items\": [\n       {\n           \"id\": 3821459,\n           \"line_no\": 1,\n           \"received_qty\": \"1.0\",\n           \"is_received\": true\n          \n       }\n   ]\n}","options":{"raw":{"language":"json"}}},"url":"https://myprocuredesk.com/api/v2/receipts/374030","description":"<p>⚠<strong>This endpoint is currently not available in this version.</strong></p>\n<h3 id=\"endpoint\">Endpoint</h3>\n<p><strong>Method</strong>: <code>PUT</code><br /><strong>Endpoint</strong>: <code>https://myprocuredesk.com/api/v2/receipts/{id}</code></p>\n<hr />\n<h3 id=\"description\">Description</h3>\n<p>This endpoint is used to update an existing receipt. It modifies receipt details such as receipt date, state, department, and the received items.</p>\n<hr />\n<h3 id=\"parameters\">Parameters</h3>\n<h4 id=\"url-parameters\">URL Parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Mandatory</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>Integer</td>\n<td>Yes</td>\n<td>The unique identifier of the receipt to be updated. Example: <code>374030</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"request-body-structure\">Request Body Structure</h3>\n<h4 id=\"root-parameters-in-body\">Root Parameters (In Body)</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Mandatory</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>receipt_date</code></td>\n<td>String</td>\n<td>Yes</td>\n<td>The updated date for the receipt. Format: <code>MM/DD/YYYY</code>. Example: \"11/09/2024\".</td>\n</tr>\n<tr>\n<td><code>state</code></td>\n<td>String</td>\n<td>Yes</td>\n<td>Updated state of the receipt. Example: \"Approved\".</td>\n</tr>\n<tr>\n<td><code>department_name</code></td>\n<td>String</td>\n<td>No</td>\n<td>The name of the department receiving the goods refers to the department that accepts the delivered items, for example, \"HR\". To configure this, go to the Admin Dashboard, then navigate to Company Settings. Here, you'll find settings to restrict department assignment and control which departments can be assigned to receive goods.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"line-items-parameters-in-body\">Line Items Parameters (In Body)</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Mandatory</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Unique identifier for the purchase order line item. Example: <code>3821459</code>.</td>\n</tr>\n<tr>\n<td><code>line_no</code></td>\n<td>Integer</td>\n<td>Yes</td>\n<td>Line number of the item in the purchase order. Example: <code>1</code>.</td>\n</tr>\n<tr>\n<td><code>received_qty</code></td>\n<td>String</td>\n<td>Yes</td>\n<td>Updated quantity received for this item. Example: \"1.0\".</td>\n</tr>\n<tr>\n<td><code>is_received</code></td>\n<td>Boolean</td>\n<td>Yes</td>\n<td>Indicates if the item has been fully received. Example: <code>true</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"complete-request-example\">Complete Request Example</h3>\n<h4 id=\"request-url\">Request URL</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>httpCopy codePUT https://myprocuredesk.com/api/v2/receipts/374030\n\n</code></pre><h4 id=\"request-body\">Request Body</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>jsonCopy code{\n   \"receipt_date\": \"11/09/2024\",\n   \"state\": \"Approved\",\n   \"department_name\": \"HR\",\n   \"line_items\": [\n       {\n           \"id\": 3821459,\n           \"line_no\": 1,\n           \"received_qty\": \"1.0\",\n           \"is_received\": true\n       }\n   ]\n}\n\n</code></pre><hr />\n<h3 id=\"sample-response\">Sample Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>jsonCopy code{\n    \"success\": true,\n    \"message\": \"Receipt updated successfully.\",\n    \"receipt_details\": {\n        \"id\": 374030,\n        \"receipt_date\": \"11/09/2024\",\n        \"state\": \"Approved\",\n        \"department_name\": \"HR\",\n        \"line_items\": [\n            {\n                \"id\": 3821459,\n                \"line_no\": 1,\n                \"received_qty\": \"1.0\",\n                \"is_received\": true\n            }\n        ]\n    }\n}\n\n</code></pre><hr />\n<h3 id=\"response-fields-explained\">Response Fields Explained</h3>\n<h4 id=\"root-fields\">Root Fields</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>success</code></td>\n<td>Boolean</td>\n<td>Indicates whether the receipt was successfully updated.</td>\n</tr>\n<tr>\n<td><code>message</code></td>\n<td>String</td>\n<td>Describes the outcome of the operation. Example: \"Receipt updated successfully.\"</td>\n</tr>\n<tr>\n<td><code>receipt_details</code></td>\n<td>Object</td>\n<td>Contains the updated details of the receipt.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"fields-in-receipt_details\">Fields in <code>receipt_details</code></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>Integer</td>\n<td>ID of the updated receipt. Example: <code>374030</code>.</td>\n</tr>\n<tr>\n<td><code>receipt_date</code></td>\n<td>String</td>\n<td>Updated date of the receipt.</td>\n</tr>\n<tr>\n<td><code>state</code></td>\n<td>String</td>\n<td>Updated state of the receipt.</td>\n</tr>\n<tr>\n<td><code>department_name</code></td>\n<td>String</td>\n<td>Updated name of the department receiving the goods.</td>\n</tr>\n<tr>\n<td><code>line_items</code></td>\n<td>Array</td>\n<td>List of line items included in the updated receipt.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"notes\">Notes</h3>\n<ul>\n<li><p><strong>URL Parameter</strong>:</p>\n<ul>\n<li>The <code>{id}</code> in the URL must be replaced with the unique receipt ID to update.</li>\n</ul>\n</li>\n<li><p><strong>Validation</strong>:</p>\n<ul>\n<li><p>Ensure the <code>id</code> in <code>line_items</code> matches valid line items from the original receipt or associated purchase order.</p>\n</li>\n<li><p>The <code>received_qty</code> must not exceed the original ordered quantity.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>Error Handling</strong>:</p>\n<ul>\n<li>If the receipt ID does not exist, the API will return an error message.</li>\n</ul>\n</li>\n<li><p><strong>Authorization</strong>: Only users with the appropriate permissions can update receipts.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","v2","receipts","374030"],"host":["myprocuredesk","com"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[],"_postman_id":"f0e85c12-ec1e-453f-a45d-e466ca8c4ebc"},{"name":"Delete","id":"91b36098-4146-458e-ada6-a1d971189b5f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://myprocuredesk.com/api/v2/receipts/374028","description":"<h3 id=\"endpoint\">Endpoint</h3>\n<p><strong>Method</strong>: <code>DELETE</code><br /><strong>Endpoint</strong>: <code>/api/v2/receipts/{id}</code></p>\n<hr />\n<h3 id=\"description\">Description</h3>\n<p>This endpoint is used to delete an existing receipt based on its unique ID. Once deleted, the receipt cannot be recovered.</p>\n<hr />\n<h3 id=\"parameters\">Parameters</h3>\n<h4 id=\"url-parameters\">URL Parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Mandatory</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>Integer</td>\n<td>Yes</td>\n<td>The unique identifier of the receipt to be deleted. Example: <code>374028</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"complete-request-example\">Complete Request Example</h3>\n<h4 id=\"request-method\">Request Method</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>DELETE /api/v2/receipts/{id}\n\n</code></pre><h4 id=\"example\">Example</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>DELETE /api/v2/receipts/374028\n\n</code></pre><hr />\n<h3 id=\"sample-response\">Sample Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"message\": \"Receipt deleted successfully.\"\n}\n\n</code></pre>\n<hr />\n<h3 id=\"response-fields-explained\">Response Fields Explained</h3>\n<h4 id=\"root-fields\">Root Fields</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>success</code></td>\n<td>Boolean</td>\n<td>Indicates whether the receipt was successfully deleted.</td>\n</tr>\n<tr>\n<td><code>message</code></td>\n<td>String</td>\n<td>Describes the outcome of the operation. Example: \"Receipt deleted successfully.\"</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"notes\">Notes</h3>\n<ul>\n<li><p><strong>URL Parameter</strong>:</p>\n<ul>\n<li>The <code>{id}</code> must be replaced with the unique receipt ID to delete.</li>\n</ul>\n</li>\n<li><p><strong>Irreversible Action</strong>:</p>\n<ul>\n<li>Once a receipt is deleted, it cannot be recovered.</li>\n</ul>\n</li>\n<li><p><strong>Error Handling</strong>:</p>\n<ul>\n<li><p>If the receipt ID does not exist, the API will return an error message.</p>\n</li>\n<li><p>Ensure the receipt is not linked to any ongoing processes before deleting.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>Authorization</strong>: Only users with the appropriate permissions can delete receipts.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","v2","receipts","374028"],"host":["myprocuredesk","com"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[],"_postman_id":"91b36098-4146-458e-ada6-a1d971189b5f"},{"name":"Read","id":"cec5698d-74e9-4a46-82db-750d99987b6d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://myprocuredesk.com/api/v2/receipts/373690","description":"<h3 id=\"endpoint\">Endpoint</h3>\n<p><strong>Method</strong>: <code>GET</code><br /><strong>Endpoint</strong>: <code>/api/v2/receipts/{id}</code></p>\n<hr />\n<h3 id=\"description\">Description</h3>\n<p>This endpoint retrieves details of a specific receipt using its unique ID. The response contains metadata about the receipt, associated line items, and attachments.</p>\n<hr />\n<h3 id=\"parameters\">Parameters</h3>\n<h4 id=\"url-parameters\">URL Parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Mandatory</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>Integer</td>\n<td>Yes</td>\n<td>The unique identifier of the receipt to be retrieved. Example: <code>373690</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"sample-request\">Sample Request</h3>\n<h4 id=\"request-method\">Request Method</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET /api/v2/receipts/{id}\n\n</code></pre><h4 id=\"example\">Example</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET /api/v2/receipts/373690\n\n</code></pre><hr />\n<h3 id=\"sample-response\">Sample Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"result\": {\n        \"id\": 373690,\n        \"number\": \"30000780\",\n        \"slug\": \"30000780\",\n        \"packing_number\": \"\",\n        \"receipt_date\": \"11/08/2024\",\n        \"shipping_date\": \"11/08/2024\",\n        \"state\": \"Approved\",\n        \"po_slug\": \"po-2024-30277\",\n        \"created_at\": \"11/08/2024\",\n        \"department_name\": \"IT\",\n        \"department_label_name\": \"Site\",\n        \"inventory_location_name\": null,\n        \"inventory_location_id\": null,\n        \"is_inventory\": false,\n        \"attachment_name\": null,\n        \"attachment_url\": null,\n        \"line_items\": [\n            {\n                \"id\": 962756,\n                \"line_no\": 1,\n                \"is_received\": true,\n                \"item_no\": \"IT1\",\n                \"item_description\": \"Laptop for the new hire\",\n                \"ordered_qty\": \"1.0\",\n                \"invoiced_qty\": \"1.0\",\n                \"received_qty\": \"1.0\",\n                \"uom\": \"DZ\",\n                \"list_price\": \"500.0\"\n            },\n            {\n                \"id\": 962757,\n                \"line_no\": 2,\n                \"is_received\": true,\n                \"item_no\": \"IT2\",\n                \"item_description\": \"Bag for the laptop\",\n                \"ordered_qty\": \"1.0\",\n                \"invoiced_qty\": \"1.0\",\n                \"received_qty\": \"1.0\",\n                \"uom\": \"DZ\",\n                \"list_price\": \"100.0\"\n            }\n        ],\n        \"attachments\": []\n    }\n}\n\n</code></pre>\n<hr />\n<h3 id=\"response-fields-explained\">Response Fields Explained</h3>\n<h4 id=\"root-fields\">Root Fields</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>success</code></td>\n<td>Boolean</td>\n<td>Indicates whether the request was successful.</td>\n</tr>\n<tr>\n<td><code>result</code></td>\n<td>Object</td>\n<td>Contains the details of the receipt.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"fields-in-result\">Fields in <code>result</code></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>Integer</td>\n<td>Unique identifier for the receipt. Example: <code>373690</code>.</td>\n</tr>\n<tr>\n<td><code>number</code></td>\n<td>String</td>\n<td>Receipt number. Example: \"30000780\".</td>\n</tr>\n<tr>\n<td><code>slug</code></td>\n<td>String</td>\n<td>Slug identifier for the receipt. Example: \"30000780\".</td>\n</tr>\n<tr>\n<td><code>packing_number</code></td>\n<td>String</td>\n<td>Packing number associated with the receipt.</td>\n</tr>\n<tr>\n<td><code>receipt_date</code></td>\n<td>String</td>\n<td>Date when the receipt was created. Example: \"11/08/2024\".</td>\n</tr>\n<tr>\n<td><code>shipping_date</code></td>\n<td>String</td>\n<td>Date when the items were shipped. Example: \"11/08/2024\".</td>\n</tr>\n<tr>\n<td><code>state</code></td>\n<td>String</td>\n<td>State of the receipt. Example: \"Approved\".</td>\n</tr>\n<tr>\n<td><code>po_slug</code></td>\n<td>String</td>\n<td>Slug of the associated purchase order. Example: \"po-2024-30277\".</td>\n</tr>\n<tr>\n<td><code>created_at</code></td>\n<td>String</td>\n<td>Timestamp when the receipt was created.</td>\n</tr>\n<tr>\n<td><code>department_name</code></td>\n<td>String</td>\n<td>Name of the department receiving the goods. Example: \"IT\".</td>\n</tr>\n<tr>\n<td><code>department_label_name</code></td>\n<td>String</td>\n<td>This is the type of location of the inventory. Example: \"Site\".</td>\n</tr>\n<tr>\n<td><code>inventory_location_name</code></td>\n<td>String</td>\n<td>Name of the inventory location, if applicable.</td>\n</tr>\n<tr>\n<td><code>inventory_location_id</code></td>\n<td>Integer</td>\n<td>ID of the inventory location, if applicable.</td>\n</tr>\n<tr>\n<td><code>is_inventory</code></td>\n<td>Boolean</td>\n<td>Indicates whether the receipt is associated with inventory.</td>\n</tr>\n<tr>\n<td><code>attachment_name</code></td>\n<td>String</td>\n<td>Name of the associated attachment.</td>\n</tr>\n<tr>\n<td><code>attachment_url</code></td>\n<td>String</td>\n<td>URL for the attachment, if any.</td>\n</tr>\n<tr>\n<td><code>line_items</code></td>\n<td>Array</td>\n<td>List of items included in the receipt. See details below.</td>\n</tr>\n<tr>\n<td><code>attachments</code></td>\n<td>Array</td>\n<td>List of attachments linked to the receipt.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h4 id=\"fields-in-line_items-array-item\">Fields in <code>line_items</code> (Array Item)</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>Integer</td>\n<td>Unique identifier for the line item. Example: <code>962756</code>.</td>\n</tr>\n<tr>\n<td><code>line_no</code></td>\n<td>Integer</td>\n<td>The line number for the item in the receipt. Example: <code>1</code>.</td>\n</tr>\n<tr>\n<td><code>is_received</code></td>\n<td>Boolean</td>\n<td>Indicates if the item has been fully received.</td>\n</tr>\n<tr>\n<td><code>item_no</code></td>\n<td>String</td>\n<td>Item number. Example: \"IT1\".</td>\n</tr>\n<tr>\n<td><code>item_description</code></td>\n<td>String</td>\n<td>Description of the item. Example: \"Laptop for the new hire\".</td>\n</tr>\n<tr>\n<td><code>ordered_qty</code></td>\n<td>String</td>\n<td>Quantity ordered for the item. Example: \"1.0\".</td>\n</tr>\n<tr>\n<td><code>invoiced_qty</code></td>\n<td>String</td>\n<td>Quantity invoiced for the item. Example: \"1.0\".</td>\n</tr>\n<tr>\n<td><code>received_qty</code></td>\n<td>String</td>\n<td>Quantity received for the item. Example: \"1.0\".</td>\n</tr>\n<tr>\n<td><code>uom</code></td>\n<td>String</td>\n<td>Unit of measure. Example: \"DZ\".</td>\n</tr>\n<tr>\n<td><code>list_price</code></td>\n<td>String</td>\n<td>The list price of the item. Example: \"100.0\".</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"notes\">Notes</h3>\n<ul>\n<li><p><strong>URL Parameter</strong>:</p>\n<ul>\n<li>The <code>{id}</code> in the URL must be replaced with the unique receipt ID to retrieve details.</li>\n</ul>\n</li>\n<li><p><strong>Response Structure</strong>:</p>\n<ul>\n<li>The <code>line_items</code> array provides a detailed breakdown of items received in the receipt.</li>\n</ul>\n</li>\n<li><p><strong>Error Handling</strong>:</p>\n<ul>\n<li>If the receipt ID does not exist, the API will return an error message.</li>\n</ul>\n</li>\n<li><p><strong>Authorization</strong>: Only users with the appropriate permissions can access this endpoint.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","v2","receipts","373690"],"host":["myprocuredesk","com"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[],"_postman_id":"cec5698d-74e9-4a46-82db-750d99987b6d"},{"name":"Read All","id":"bdb47fe7-86e3-400e-8395-82a4108518d4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://myprocuredesk.com/api/v2/receipts/all_receipts?Page=2&modified_date=2024-11-08&max_results=2","description":"<h3 id=\"endpoint\">Endpoint</h3>\n<p><strong>Method</strong>: <code>GET</code><br /><strong>Endpoint</strong>: <code>/api/v2/receipts/all_receipts</code></p>\n<hr />\n<h3 id=\"description\">Description</h3>\n<p>This endpoint retrieves a paginated list of all receipts, with optional filtering by modification date. The response includes metadata for each receipt and supports pagination for large datasets.</p>\n<hr />\n<h3 id=\"parameters\">Parameters</h3>\n<h4 id=\"query-parameters\">Query Parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Mandatory</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>page</code></td>\n<td>Integer</td>\n<td>No</td>\n<td>Page number to fetch. Default is the first page. Example: <code>2</code>.</td>\n</tr>\n<tr>\n<td><code>max_results</code></td>\n<td>Integer</td>\n<td>No</td>\n<td>Maximum number of results to return per page. Example: <code>2</code>.</td>\n</tr>\n<tr>\n<td><code>modified_date</code></td>\n<td>String</td>\n<td>No</td>\n<td>Filters receipts modified on or after the specified date. Format: <code>YYYY-MM-DD</code>. Example: <code>2024-11-08</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"sample-request\">Sample Request</h3>\n<h4 id=\"request-url\">Request URL</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET /api/v2/receipts/all_receipts?page=2&amp;modified_date=2024-11-08&amp;max_results=2\n\n</code></pre><hr />\n<h3 id=\"sample-response\">Sample Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"result\": [\n        {\n            \"id\": 375167,\n            \"slug\": \"30000783\",\n            \"number\": \"30000783\",\n            \"packing_number\": \"\",\n            \"receipt_date\": \"11/13/2024\",\n            \"state\": \"Approved\",\n            \"purchase_order_id\": 479584\n        },\n        {\n            \"id\": 374603,\n            \"slug\": \"30000782\",\n            \"number\": \"30000782\",\n            \"packing_number\": null,\n            \"receipt_date\": \"11/12/2024\",\n            \"state\": \"Draft\",\n            \"purchase_order_id\": 477549\n        }\n    ],\n    \"pagination\": {\n        \"current_page\": 2,\n        \"max_results\": 2,\n        \"total_pages\": 5,\n        \"total_results\": 10\n    }\n}\n\n</code></pre>\n<hr />\n<h3 id=\"response-fields-explained\">Response Fields Explained</h3>\n<h4 id=\"root-fields\">Root Fields</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>success</code></td>\n<td>Boolean</td>\n<td>Indicates whether the request was successful.</td>\n</tr>\n<tr>\n<td><code>result</code></td>\n<td>Array</td>\n<td>List of receipts matching the query parameters.</td>\n</tr>\n<tr>\n<td><code>pagination</code></td>\n<td>Object</td>\n<td>Details about pagination for the current request.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"fields-in-result-array-item\">Fields in <code>result</code> (Array Item)</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>Integer</td>\n<td>Unique identifier for the receipt. Example: <code>375167</code>.</td>\n</tr>\n<tr>\n<td><code>slug</code></td>\n<td>String</td>\n<td>Unique slug identifier for the receipt. Example: \"30000783\".</td>\n</tr>\n<tr>\n<td><code>number</code></td>\n<td>String</td>\n<td>Receipt number. Example: \"30000783\".</td>\n</tr>\n<tr>\n<td><code>packing_number</code></td>\n<td>String</td>\n<td>Packing number associated with the receipt. Example: \"\".</td>\n</tr>\n<tr>\n<td><code>receipt_date</code></td>\n<td>String</td>\n<td>Date of the receipt. Example: \"11/13/2024\".</td>\n</tr>\n<tr>\n<td><code>state</code></td>\n<td>String</td>\n<td>State of the receipt. Example: \"Approved\" or \"Draft\".</td>\n</tr>\n<tr>\n<td><code>purchase_order_id</code></td>\n<td>Integer</td>\n<td>ID of the associated purchase order. Example: <code>479584</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"fields-in-pagination\">Fields in <code>pagination</code></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>current_page</code></td>\n<td>Integer</td>\n<td>Current page of results. Example: <code>2</code>.</td>\n</tr>\n<tr>\n<td><code>max_results</code></td>\n<td>Integer</td>\n<td>Maximum number of results per page. Example: <code>2</code>.</td>\n</tr>\n<tr>\n<td><code>total_pages</code></td>\n<td>Integer</td>\n<td>Total number of pages available. Example: <code>5</code>.</td>\n</tr>\n<tr>\n<td><code>total_results</code></td>\n<td>Integer</td>\n<td>Total number of receipts matching the query. Example: <code>10</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"notes\">Notes</h3>\n<ul>\n<li><p><strong>Query Parameters</strong>:</p>\n<ul>\n<li><p>Use <code>page</code> and <code>max_results</code> together for paginated results.</p>\n</li>\n<li><p>Use <code>modified_date</code> to filter receipts modified on or after the given date.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>Response Structure</strong>:</p>\n<ul>\n<li><p>Each receipt in the <code>result</code> array includes metadata like <code>id</code>, <code>number</code>, <code>state</code>, and <code>purchase_order_id</code>.</p>\n</li>\n<li><p>Pagination details are provided in the <code>pagination</code> object.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>Error Handling</strong>:</p>\n<ul>\n<li>If no receipts match the query, an empty <code>result</code> array will be returned.</li>\n</ul>\n</li>\n<li><p><strong>Authorization</strong>: Only users with the appropriate permissions can access this endpoint.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","v2","receipts","all_receipts"],"host":["myprocuredesk","com"],"query":[{"key":"Page","value":"2"},{"description":{"content":"<p>Date format: Year-Month-Date</p>\n","type":"text/plain"},"key":"modified_date","value":"2024-11-08"},{"key":"max_results","value":"2"}],"variable":[]}},"response":[],"_postman_id":"bdb47fe7-86e3-400e-8395-82a4108518d4"}],"id":"8579a168-c207-4738-a6d4-304cba69669b","description":"<p>The <strong>Receipts API</strong> is a comprehensive interface for managing receipt records within a procurement workflow. It allows systems to seamlessly track, create, update, delete, and retrieve receipts, ensuring accurate documentation and reconciliation of goods or services received against purchase orders.</p>\n","_postman_id":"8579a168-c207-4738-a6d4-304cba69669b"},{"name":"Invoices","item":[{"name":"Create - Pending","id":"ead2680f-db19-4403-936e-daab9d860a6d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"\n","options":{"raw":{"language":"json"}}},"url":"https://myprocuredesk.com/api/v2/invoice/create_invoice","description":"<p>⚠<strong>This endpoint is currently not available in this version.</strong></p>\n","urlObject":{"protocol":"https","path":["api","v2","invoice","create_invoice"],"host":["myprocuredesk","com"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[],"_postman_id":"ead2680f-db19-4403-936e-daab9d860a6d"},{"name":"Update - Pending","id":"6b9a33bb-b4a7-411a-87c9-a06b0873a5cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://myprocuredesk.com/api/v2/invoice/create_invoice","description":"<p>⚠<strong>This endpoint is currently not available in this version.</strong></p>\n","urlObject":{"protocol":"https","path":["api","v2","invoice","create_invoice"],"host":["myprocuredesk","com"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[],"_postman_id":"6b9a33bb-b4a7-411a-87c9-a06b0873a5cd"},{"name":"Delete - pending","id":"cc43731c-f043-489b-9077-cb1dae8bae36","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://myprocuredesk.com/api/v2/po/create_po","description":"<p>⚠<strong>This endpoint is currently not available in this version.</strong></p>\n","urlObject":{"protocol":"https","path":["api","v2","po","create_po"],"host":["myprocuredesk","com"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[],"_postman_id":"cc43731c-f043-489b-9077-cb1dae8bae36"},{"name":"Read","id":"8b21ddfb-2b09-46b2-a0cd-ada5a724b38e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://myprocuredesk.com/api/v2/invoices/?id=1244832","description":"<p>You can retrieve a specific invoice from ProcureDesk using their API, you can utilize the <code>GET /api/v2/invoices</code> endpoint with the <code>id</code> parameter. Here's how to structure your request:</p>\n<p><strong>Endpoint:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET https://myprocuredesk.com/api/v2/invoices/?id=1244832\n\n</code></pre><p><strong>Parameters:</strong></p>\n<ul>\n<li><code>id</code>: The unique identifier of the invoice you wish to retrieve. In this example, the <code>id</code> is <code>1244832</code>.</li>\n</ul>\n<p><strong>Sample Request:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET /api/v2/invoices/?id=1244832\n\n</code></pre><p><strong>Response:</strong><br />A successful request will return a JSON object containing the invoice details. Here's an example of the response structure:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"result\": {\n        \"id\": 1244832,\n        \"supplier_invoice_num\": \"INV123456\",\n        \"supplier_name\": \"ABC Supplies\",\n        \"invoice_date\": \"2024-11-15\",\n        \"amount\": \"500.00\",\n        \"state\": \"approved\",\n        \"line_items\": [\n            {\n                \"item_description\": \"Office Chairs\",\n                \"unit_price\": \"100.00\",\n                \"quantity\": \"5\",\n                \"total_price\": \"500.00\"\n            }\n        ]\n        // Additional invoice fields...\n    }\n}\n\n</code></pre>\n<p><strong>Note:</strong><br />Ensure you replace <code>YOUR_ACCESS_TOKEN</code> with your actual API access token. The response will include various fields related to the invoice, such as <code>supplier_invoice_num</code>, <code>supplier_name</code>, <code>invoice_date</code>, <code>amount</code>, <code>state</code>, and <code>line_items</code>. The <code>line_items</code> array provides details about each item included in the invoice.</p>\n<p>For more detailed information on ProcureDesk's API and its capabilities, you can refer to their official documentation or contact their support team.</p>\n","urlObject":{"protocol":"https","path":["api","v2","invoices",""],"host":["myprocuredesk","com"],"query":[{"key":"id","value":"1244832"}],"variable":[]}},"response":[],"_postman_id":"8b21ddfb-2b09-46b2-a0cd-ada5a724b38e"},{"name":"Read All","id":"70ebb2fc-9ba8-4209-9f23-514147a05bcc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://myprocuredesk.com/api/v2/invoices?max_results=2","description":"<h3 id=\"endpoint\">Endpoint</h3>\n<p><strong>Method</strong>: <code>GET</code><br /><strong>Endpoint</strong>: <code>/api/v2/invoices</code></p>\n<hr />\n<h3 id=\"description\">Description</h3>\n<p>This endpoint retrieves a list of invoices, filtered by parameters such as <code>max_results</code>, <code>modified_date</code>, and <code>status</code>. The response includes detailed information about each invoice, including supplier details, amounts, line items, and associated purchase orders.</p>\n<hr />\n<h3 id=\"parameters\">Parameters</h3>\n<h4 id=\"query-parameters\">Query Parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Mandatory</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>max_results</code></td>\n<td>Integer</td>\n<td>No</td>\n<td>Maximum number of invoices to return per request. Example: <code>2</code>.</td>\n</tr>\n<tr>\n<td><code>modified_date</code></td>\n<td>String</td>\n<td>No</td>\n<td>Filters invoices modified on or after this date. Format: <code>YYYY-MM-DD</code>. Example: <code>2024-11-08</code>.</td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td>String</td>\n<td>No</td>\n<td>Filters invoices by their status (e.g., <code>Approved</code>, <code>Draft</code>).</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"sample-request\">Sample Request</h3>\n<h4 id=\"request-url\">Request URL</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET /api/v2/invoices?max_results=2&amp;modified_date=2024-11-08&amp;status=Approved\n\n</code></pre><hr />\n<h3 id=\"sample-response\">Sample Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"result\": [\n        {\n            \"id\": 1244821,\n            \"supplier_invoice_num\": \"INV83864684683\",\n            \"supplier_name\": null,\n            \"invoice_date\": \"2024-11-15\",\n            \"received_date\": \"2024-11-13\",\n            \"amount\": \"320.0\",\n            \"state\": \"approved\",\n            \"attachment\": \"Invoice_1288_from_TrueInsight_LLC-241115100458.pdf\",\n            \"purchase_order_id\": 481364,\n            \"due_date\": \"2024-12-15\",\n            \"total_amount\": \"320.0\",\n            \"base_currency\": \"ZAR\",\n            \"base_currency_rate\": \"1.0\",\n            \"base_currency_amount\": \"320.0\",\n            \"business_unit\": \"ProcureDesk\",\n            \"associated_po_number\": \"PO-2024-30290\",\n            \"created_by\": \"Anubhav Srivastava\",\n            \"ship_to\": \"LOC VVIP4454, Aguila, AZ, US, 22132\",\n            \"line_items\": [\n                {\n                    \"id\": 3863644,\n                    \"item_no\": \"IT2\",\n                    \"item_description\": \"dcjduyfcuydfcd\",\n                    \"unit_price\": \"120.0\",\n                    \"total_price\": \"120.0\",\n                    \"quantity\": \"1.0\"\n                },\n                {\n                    \"id\": 3863637,\n                    \"item_no\": \"IT1\",\n                    \"item_description\": \"kjdguegdieu\",\n                    \"unit_price\": \"100.0\",\n                    \"total_price\": \"200.0\",\n                    \"quantity\": \"2.0\"\n                }\n            ]\n        },\n        {\n            \"id\": 1241221,\n            \"supplier_invoice_num\": \"6t3724rh\",\n            \"supplier_name\": null,\n            \"invoice_date\": \"2024-11-13\",\n            \"received_date\": \"2024-11-13\",\n            \"amount\": \"100.0\",\n            \"state\": \"approved\",\n            \"attachment\": \"mm-67110-Airtel_network-241113142815.pdf\",\n            \"purchase_order_id\": 479584,\n            \"due_date\": \"2024-12-13\",\n            \"total_amount\": \"100.0\",\n            \"base_currency\": \"ZAR\",\n            \"base_currency_rate\": \"0.05519\",\n            \"base_currency_amount\": \"1811.92245\",\n            \"business_unit\": \"ProcureDesk\",\n            \"associated_po_number\": \"PO-2024-30287\",\n            \"created_by\": \"Utkarsh\",\n            \"ship_to\": \"K-29 Sector 12, Cincinnati, OH, US, 201301\",\n            \"line_items\": [\n                {\n                    \"id\": 3845911,\n                    \"item_no\": \"IT1\",\n                    \"item_description\": \"savhb\",\n                    \"unit_price\": \"100.0\",\n                    \"total_price\": \"100.0\",\n                    \"quantity\": \"1.0\"\n                }\n            ]\n        }\n    ]\n}\n\n</code></pre>\n<hr />\n<h3 id=\"response-fields-explained\">Response Fields Explained</h3>\n<h4 id=\"root-fields\">Root Fields</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>success</code></td>\n<td>Boolean</td>\n<td>Indicates whether the request was successful.</td>\n</tr>\n<tr>\n<td><code>result</code></td>\n<td>Array</td>\n<td>List of invoices matching the query parameters.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"fields-in-result-invoice-details\">Fields in <code>result</code> (Invoice Details)</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>Integer</td>\n<td>Unique identifier for the invoice. Example: <code>1244821</code>.</td>\n</tr>\n<tr>\n<td><code>supplier_invoice_num</code></td>\n<td>String</td>\n<td>Supplier's invoice number. Example: <code>\"INV83864684683\"</code>.</td>\n</tr>\n<tr>\n<td><code>supplier_name</code></td>\n<td>String</td>\n<td>Name of the supplier for the invoice. Example: <code>null</code>.</td>\n</tr>\n<tr>\n<td><code>invoice_date</code></td>\n<td>String</td>\n<td>Date the invoice was issued. Example: <code>\"2024-11-15\"</code>.</td>\n</tr>\n<tr>\n<td><code>received_date</code></td>\n<td>String</td>\n<td>Date the invoice was received. Example: <code>\"2024-11-13\"</code>.</td>\n</tr>\n<tr>\n<td><code>amount</code></td>\n<td>String</td>\n<td>Total amount of the invoice. Example: <code>\"320.0\"</code>.</td>\n</tr>\n<tr>\n<td><code>state</code></td>\n<td>String</td>\n<td>Current state of the invoice (e.g., <code>approved</code>, <code>draft</code>).</td>\n</tr>\n<tr>\n<td><code>attachment</code></td>\n<td>String</td>\n<td>Name of the file attached to the invoice. Example: <code>\"Invoice_1288_from_TrueInsight_LLC-241115100458.pdf\"</code>.</td>\n</tr>\n<tr>\n<td><code>purchase_order_id</code></td>\n<td>Integer</td>\n<td>ID of the purchase order associated with the invoice. Example: <code>481364</code>.</td>\n</tr>\n<tr>\n<td><code>due_date</code></td>\n<td>String</td>\n<td>Due date for the invoice. Example: <code>\"2024-12-15\"</code>.</td>\n</tr>\n<tr>\n<td><code>total_amount</code></td>\n<td>String</td>\n<td>Total amount including taxes and other charges. Example: <code>\"320.0\"</code>.</td>\n</tr>\n<tr>\n<td><code>base_currency</code></td>\n<td>String</td>\n<td>Base currency of the invoice. Example: <code>\"ZAR\"</code>.</td>\n</tr>\n<tr>\n<td><code>base_currency_rate</code></td>\n<td>String</td>\n<td>Exchange rate for the base currency. Example: <code>\"1.0\"</code>.</td>\n</tr>\n<tr>\n<td><code>base_currency_amount</code></td>\n<td>String</td>\n<td>Total amount in the base currency. Example: <code>\"320.0\"</code>.</td>\n</tr>\n<tr>\n<td><code>business_unit</code></td>\n<td>String</td>\n<td>Name of the business unit. Example: <code>\"ProcureDesk\"</code>.</td>\n</tr>\n<tr>\n<td><code>associated_po_number</code></td>\n<td>String</td>\n<td>Associated purchase order number. Example: <code>\"PO-2024-30290\"</code>.</td>\n</tr>\n<tr>\n<td><code>created_by</code></td>\n<td>String</td>\n<td>Name of the user who created the invoice. Example: <code>\"Anubhav Srivastava\"</code>.</td>\n</tr>\n<tr>\n<td><code>ship_to</code></td>\n<td>String</td>\n<td>Shipping address for the invoice. Example: <code>\"LOC VVIP4454, Aguila, AZ, US, 22132\"</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"fields-in-line_items-array\">Fields in <code>line_items</code> (Array)</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>Integer</td>\n<td>Unique identifier for the line item. Example: <code>3863644</code>.</td>\n</tr>\n<tr>\n<td><code>item_no</code></td>\n<td>String</td>\n<td>Item number associated with the line item. Example: <code>\"IT2\"</code>.</td>\n</tr>\n<tr>\n<td><code>item_description</code></td>\n<td>String</td>\n<td>Description of the item. Example: <code>\"dcjduyfcuydfcd\"</code>.</td>\n</tr>\n<tr>\n<td><code>unit_price</code></td>\n<td>String</td>\n<td>Price per unit of the item. Example: <code>\"120.0\"</code>.</td>\n</tr>\n<tr>\n<td><code>total_price</code></td>\n<td>String</td>\n<td>Total price for the line item. Example: <code>\"120.0\"</code>.</td>\n</tr>\n<tr>\n<td><code>quantity</code></td>\n<td>String</td>\n<td>Quantity of the item. Example: <code>\"1.0\"</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"notes\">Notes</h3>\n<ol>\n<li><p><strong>Filtering</strong>:</p>\n<ul>\n<li><p>Use <code>max_results</code> to limit the number of invoices returned per page.</p>\n</li>\n<li><p>Filter invoices by <code>modified_date</code> or <code>status</code> for more refined results.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>Pagination</strong>:</p>\n<ul>\n<li>If the total results exceed <code>max_results</code>, use the next page parameters for additional data.</li>\n</ul>\n</li>\n<li><p><strong>Error Handling</strong>:</p>\n<ul>\n<li>If no invoices match the query, an empty <code>result</code> array will be returned.</li>\n</ul>\n</li>\n</ol>\n","urlObject":{"protocol":"https","path":["api","v2","invoices"],"host":["myprocuredesk","com"],"query":[{"key":"max_results","value":"2"},{"disabled":true,"description":{"content":"<p>Format: Year - Date - Month</p>\n","type":"text/plain"},"key":"modified_date","value":"2024-11-08"},{"disabled":true,"description":{"content":"<p>Available status: Approved</p>\n","type":"text/plain"},"key":"status","value":"Approved"}],"variable":[]}},"response":[],"_postman_id":"70ebb2fc-9ba8-4209-9f23-514147a05bcc"}],"id":"58b34316-50b5-4176-9284-b697497ac0fa","description":"<p>The Invoices section of the API documentation provides endpoints for managing invoices within ProcureDesk. It enables users to create, retrieve, update, and manage invoice data seamlessly. These endpoints support features like linking invoices to purchase orders, tracking payment statuses, and ensuring accurate financial records. This section ensures efficient handling of invoice workflows through automation and integration.</p>\n","_postman_id":"58b34316-50b5-4176-9284-b697497ac0fa"},{"name":"Suppliers","item":[{"name":"Create","id":"a468725d-72ec-49f7-b01c-82aa74bc8db9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"supplier\": {\n    \"s_number\": \"222\",\n    \"name\": \"test\",\n    \"payment_term_id\": 704,\n    \"payment_method_id\": 159,\n    \"business_unit\": \"Mobile App\",\n    \"tax_id_type\": \"EIN\",\n    \"tax_id\": \"38-1428955\",\n    \"state\": \"draft\",\n    \"default_account_id\": 0000,\n    \"currency\": \"USD\",\n    \"status\": \"true\",\n    \"po_type\": \"Email\",\n    \"supplier_locations_attributes\": [\n      {\n        \"loc_type\": \"Purchase\",\n        \"line_1\": \"Test 1\",\n        \"line_2\": \"\",\n        \"city\": \"CHICAGO\",\n        \"state\": \"IL\",\n        \"zip_code\": \"60899\",\n        \"contact_email\": \"test@test.com\",\n        \"contact_name\": \"tester\",\n        \"contact_phone\": \"9999999987\",\n        \"country\": \"US\"\n      }\n    ]\n  }\n}\n\n\n\n\n\n\n","options":{"raw":{"language":"json"}}},"url":"https://myprocuredesk.com/api/v2/suppliers","description":"<h3 id=\"endpoint\">Endpoint</h3>\n<p><strong>Method</strong>: <code>POST</code><br /><strong>Endpoint</strong>: <code>/api/v2/suppliers</code></p>\n<hr />\n<h3 id=\"description\">Description</h3>\n<p>This endpoint is used to create a new supplier in the system. It allows you to specify key supplier details, including unique identifiers, payment terms, and business associations.</p>\n<hr />\n<h3 id=\"request-body-structure\">Request Body Structure</h3>\n<h3 id=\"supplier-header-information\"><strong>Supplier Header Information</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong><code>s_number</code></strong></td>\n<td>String</td>\n<td>Unique identifier assigned to the supplier. In this case, it's <code>\"Test88889999\"</code>.</td>\n</tr>\n<tr>\n<td><strong><code>name</code></strong></td>\n<td>String</td>\n<td>Name of the supplier, which is <code>\"Test New\"</code>.</td>\n</tr>\n<tr>\n<td><strong><code>payment_term_id</code></strong></td>\n<td>Integer</td>\n<td>Represents the payment terms ID linked to this supplier. It refers to predefined terms for payments, such as Net 30, Net 60, etc. (<code>704</code>).</td>\n</tr>\n<tr>\n<td><strong><code>payment_method_id</code></strong></td>\n<td>Integer</td>\n<td>Specifies the method by which payments are made to the supplier (e.g., Wire Transfer, Credit Card, PayPal). Here, it is ID <code>159</code>.</td>\n</tr>\n<tr>\n<td><strong><code>business_unit</code></strong></td>\n<td>String</td>\n<td>Defines which business unit the supplier is associated with. Here, it is <code>\"Mobile App\"</code>, meaning this supplier is linked to the Mobile App business unit.</td>\n</tr>\n<tr>\n<td><strong><code>tax_id_type</code></strong></td>\n<td>String</td>\n<td>Specifies the type of tax ID used by the supplier. <code>\"EIN\"</code> (Employer Identification Number) is commonly used in the U.S. for businesses.</td>\n</tr>\n<tr>\n<td><strong><code>tax_id</code></strong></td>\n<td>String</td>\n<td>The supplier's tax identification number. In this case, <code>\"38-1428955\"</code>.</td>\n</tr>\n<tr>\n<td><strong><code>state</code></strong></td>\n<td>String</td>\n<td>The supplier's current state in the system. <code>\"draft\"</code> means the supplier record is not yet finalized or approved.</td>\n</tr>\n<tr>\n<td><strong><code>default_account_id</code></strong></td>\n<td>String</td>\n<td>This is typically used to link the supplier to an account within an accounting system. It is empty in this case (<code>\"\"</code>).</td>\n</tr>\n<tr>\n<td><strong><code>currency</code></strong></td>\n<td>String</td>\n<td>Specifies the default currency in which transactions will be processed with this supplier. <code>\"USD\"</code> indicates U.S. Dollars.</td>\n</tr>\n<tr>\n<td><strong><code>status</code></strong></td>\n<td>String</td>\n<td>Indicates whether the supplier is active or not. <code>\"true\"</code> means the supplier is active.</td>\n</tr>\n<tr>\n<td><strong><code>po_type</code></strong></td>\n<td>String</td>\n<td>Specifies how purchase orders (POs) are sent to this supplier. <code>\"Email\"</code> means POs will be sent via email.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"supplier-locations-supplier_locations_attributes\"><strong>Supplier Locations (<strong><strong><code>supplier_locations_attributes</code></strong></strong>)</strong></h3>\n<p>This section contains details about the supplier's locations. It is an <strong>array of objects</strong>, meaning a supplier can have multiple locations.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong><code>loc_type</code></strong></td>\n<td>String</td>\n<td>Specifies the type of location for the supplier. <code>\"Purchase\"</code> indicates this is a purchasing location.</td>\n</tr>\n<tr>\n<td><strong><code>line_1</code></strong></td>\n<td>String</td>\n<td>First line of the address (<code>\"test\"</code>). This is typically the street address or building name.</td>\n</tr>\n<tr>\n<td><strong><code>line_2</code></strong></td>\n<td>String</td>\n<td>Second line of the address, used if needed for additional details (empty in this case).</td>\n</tr>\n<tr>\n<td><strong><code>city</code></strong></td>\n<td>String</td>\n<td>City where the supplier is located (<code>\"CHICAGO\"</code>).</td>\n</tr>\n<tr>\n<td><strong><code>state</code></strong></td>\n<td>String</td>\n<td>State or province where the supplier is located (<code>\"IL\"</code> for Illinois).</td>\n</tr>\n<tr>\n<td><strong><code>zip_code</code></strong></td>\n<td>String</td>\n<td>Postal ZIP code for the supplier’s address (<code>\"34343\"</code>).</td>\n</tr>\n<tr>\n<td><strong><code>contact_email</code></strong></td>\n<td>String</td>\n<td>Email address of the supplier’s contact person (<code>\"test@test.com\"</code>). This is useful for communication regarding orders and invoices.</td>\n</tr>\n<tr>\n<td><strong><code>contact_name</code></strong></td>\n<td>String</td>\n<td>Name of the primary contact person or department (<code>\"Tester\"</code>).</td>\n</tr>\n<tr>\n<td><strong><code>contact_phone</code></strong></td>\n<td>String</td>\n<td>Contact phone number (<code>\"8787878765\"</code>), used for direct communication with the supplier.</td>\n</tr>\n<tr>\n<td><strong><code>country</code></strong></td>\n<td>String</td>\n<td>Specifies the country where the supplier is located. It is <strong>empty</strong> (<code>\"\"</code>) in this case, meaning no country was provided.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"key-observations\"><strong>Key Observations</strong></h3>\n<ul>\n<li><p><strong>Single Supplier Location</strong>: The supplier currently has <strong>only one</strong> location in the <code>supplier_locations_attributes</code> array.</p>\n</li>\n<li><p><strong>Missing Fields</strong>: Some fields like <code>default_account_id</code> and <code>country</code> are empty, meaning they may not be required or the data is unavailable.</p>\n</li>\n<li><p><strong>Draft State</strong>: Since the <code>state</code> is <code>\"draft\"</code>, this supplier record might still be in the setup phase and not yet finalized for transactions.</p>\n</li>\n</ul>\n<h4 id=\"email-communication-for-pos-since-po_type-is-email-this-supplier-is-configured-to-receive-purchase-orders-via-email\"><strong>Email Communication for POs</strong>: Since <code>po_type</code> is <code>\"Email\"</code>, this supplier is configured to receive purchase orders via email.</h4>\n<p>Root Object: <code>supplier</code></p>\n<hr />\n<h3 id=\"sample-request\">Sample Request</h3>\n<h4 id=\"request-body\">Request Body</h4>\n<p>{<br />\"supplier\": {<br />\"s_number\": \"Test88889999\",<br />\"name\": \"NS1122F Test New\",<br />\"payment_term_id\": 704,<br />\"payment_method_id\": 159,<br />\"business_unit\": \"Mobile App\",<br />\"tax_id_type\": \"EIN\",<br />\"tax_id\": \"38-1428955\",<br />\"state\": \"draft\",<br />\"default_account_id\": \"\",<br />\"currency\": \"USD\",<br />\"status\": \"true\",<br />\"po_type\": \"Email\",<br />\"supplier_locations_attributes\": [<br />{<br />\"loc_type\": \"Purchase\",<br />\"line_1\": \"test\",<br />\"line_2\": \"\",<br />\"city\": \"CHICAGO\",<br />\"state\": \"IL\",<br />\"zip_code\": \"545453\",<br />\"contact_email\": \"<a href=\"https://mailto:test@test.com\">test@test.com</a>\",<br />\"contact_name\": \"Tester\",<br />\"contact_phone\": \"8787878765\",<br />\"country\": \"US\"<br />}<br />]<br />}<br />}</p>\n<hr />\n<h3 id=\"sample-response\">Sample Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"result\": {\n        \"id\": 16675,\n        \"s_number\": \"88889999\",\n        \"name\": \"test72722\",\n        \"status\": true,\n        \"payment_term_id\": 704,\n        \"payment_method_id\": 159,\n        \"tax_id_type\": \"EIN\",\n        \"tax_id\": \"38-1428955\",\n        \"dba\": null,\n        \"form\": {\n            \"url\": \"/assets/svg/boy.svg\",\n            \"thumb\": {\n                \"url\": \"/assets/svg/boy.svg\"\n            },\n            \"large\": {\n                \"url\": \"/assets/svg/boy.svg\"\n            }\n        },\n        \"currency\": \"USD\",\n        \"allow_non_po_invoice\": false,\n        \"default_account_id\": null,\n        \"state\": \"draft\",\n        \"po_type\": \"Email\",\n        \"business_unit_id\": 70,\n        \"disable_receipt\": null,\n        \"internal_contact_id\": null,\n        \"track_payments_for_1099\": false,\n        \"account_name\": null,\n        \"erp_vendor_id\": null,\n        \"created_at\": \"2025-02-18T06:05:18.671Z\",\n        \"updated_at\": \"2025-02-18T06:05:18.671Z\",\n        \"supplier_locations\": [\n            {\n                \"id\": 16290,\n                \"supplier_id\": 16675,\n                \"loc_code\": null,\n                \"name\": null,\n                \"loc_type\": \"Purchase\",\n                \"line_1\": \"test\",\n                \"line_2\": \"\",\n                \"country\": \"US\",\n                \"city\": \"CHICAGO\",\n                \"state\": \"IL\",\n                \"zip_code\": \"60683\",\n                \"contact_name\": \"Tester\",\n                \"contact_email\": \"test@test.com\",\n                \"contact_phone\": \"8787878765\",\n                \"is_address_sync\": true\n            }\n        ]\n    }\n}\n\n</code></pre>\n<hr />\n<h3 id=\"response-fields-explained\">Response Fields Explained</h3>\n<h2 id=\"supplier-information\"><strong>Supplier Information</strong></h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong><code>id</code></strong></td>\n<td>Integer</td>\n<td>Unique identifier for the supplier. (<code>16675</code>)</td>\n</tr>\n<tr>\n<td><strong><code>s_number</code></strong></td>\n<td>String</td>\n<td>Supplier number used for internal tracking. (<code>\"88889999\"</code>)</td>\n</tr>\n<tr>\n<td><strong><code>name</code></strong></td>\n<td>String</td>\n<td>Supplier name. (<code>\"test72722\"</code>)</td>\n</tr>\n<tr>\n<td><strong><code>status</code></strong></td>\n<td>Boolean</td>\n<td>Indicates if the supplier is active (<code>true</code> means active).</td>\n</tr>\n<tr>\n<td><strong><code>payment_term_id</code></strong></td>\n<td>Integer</td>\n<td>The payment terms ID (<code>704</code>), defining how payments are made (e.g., Net 30, Net 60).</td>\n</tr>\n<tr>\n<td><strong><code>payment_method_id</code></strong></td>\n<td>Integer</td>\n<td>The method of payment (<code>159</code>), such as Wire Transfer, PayPal, or Bank Transfer.</td>\n</tr>\n<tr>\n<td><strong><code>tax_id_type</code></strong></td>\n<td>String</td>\n<td>Type of tax ID used by the supplier (<code>\"EIN\"</code>, which stands for Employer Identification Number in the U.S.).</td>\n</tr>\n<tr>\n<td><strong><code>tax_id</code></strong></td>\n<td>String</td>\n<td>Supplier's tax identification number (<code>\"38-1428955\"</code>).</td>\n</tr>\n<tr>\n<td><strong><code>dba</code></strong></td>\n<td>String</td>\n<td>\"Doing Business As\" (DBA) name. If a supplier operates under a different name, it is stored here. (<code>null</code>, meaning no DBA provided).</td>\n</tr>\n<tr>\n<td><strong><code>currency</code></strong></td>\n<td>String</td>\n<td>The currency in which transactions are made (<code>\"USD\"</code>, U.S. Dollars).</td>\n</tr>\n<tr>\n<td><strong><code>allow_non_po_invoice</code></strong></td>\n<td>Boolean</td>\n<td>Indicates whether the supplier allows invoices without a purchase order (<code>false</code>, meaning PO is required).</td>\n</tr>\n<tr>\n<td><strong><code>default_account_id</code></strong></td>\n<td>Integer</td>\n<td>Default account ID for accounting purposes. (<code>null</code>, meaning not assigned).</td>\n</tr>\n<tr>\n<td><strong><code>state</code></strong></td>\n<td>String</td>\n<td>Supplier’s current status in the system (<code>\"draft\"</code>, meaning not yet approved for transactions).</td>\n</tr>\n<tr>\n<td><strong><code>po_type</code></strong></td>\n<td>String</td>\n<td>Method of sending purchase orders (<code>\"Email\"</code>, meaning POs are sent via email).</td>\n</tr>\n<tr>\n<td><strong><code>business_unit_id</code></strong></td>\n<td>Integer</td>\n<td>Business unit associated with the supplier (<code>70</code>).</td>\n</tr>\n<tr>\n<td><strong><code>disable_receipt</code></strong></td>\n<td>Boolean</td>\n<td>Determines whether receipts are disabled (<code>null</code>, meaning no specific setting).</td>\n</tr>\n<tr>\n<td><strong><code>internal_contact_id</code></strong></td>\n<td>Integer</td>\n<td>Internal contact assigned to manage the supplier (<code>null</code>, meaning no assigned contact).</td>\n</tr>\n<tr>\n<td><strong><code>track_payments_for_1099</code></strong></td>\n<td>Boolean</td>\n<td>Indicates if payments need to be tracked for IRS Form 1099 reporting (<code>false</code>, meaning no tracking required).</td>\n</tr>\n<tr>\n<td><strong><code>account_name</code></strong></td>\n<td>String</td>\n<td>Accounting system's name for this supplier (<code>null</code>, meaning not set).</td>\n</tr>\n<tr>\n<td><strong><code>erp_vendor_id</code></strong></td>\n<td>String</td>\n<td>The ERP (Enterprise Resource Planning) system’s vendor ID (<code>null</code>, meaning not linked to an ERP system).</td>\n</tr>\n<tr>\n<td><strong><code>created_at</code></strong></td>\n<td>String (Timestamp)</td>\n<td>Date and time the supplier record was created (<code>\"2025-02-18T06:05:18.671Z\"</code>).</td>\n</tr>\n<tr>\n<td><strong><code>updated_at</code></strong></td>\n<td>String (Timestamp)</td>\n<td>Date and time the supplier record was last updated (<code>\"2025-02-18T06:05:18.671Z\"</code>).</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"form-information\"><strong>Form Information</strong></h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong><code>form.url</code></strong></td>\n<td>String</td>\n<td>URL of the form associated with the supplier (<code>\"/assets/svg/boy.svg\"</code>).</td>\n</tr>\n<tr>\n<td><strong><code>form.thumb.url</code></strong></td>\n<td>String</td>\n<td>URL of the thumbnail image (<code>\"/assets/svg/boy.svg\"</code>).</td>\n</tr>\n<tr>\n<td><strong><code>form.large.url</code></strong></td>\n<td>String</td>\n<td>URL of the large image (<code>\"/assets/svg/boy.svg\"</code>).</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"supplier-locations-array\"><strong>Supplier Locations (Array)</strong></h2>\n<p>This section contains <strong>one</strong> location object but can have multiple locations.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong><code>id</code></strong></td>\n<td>Integer</td>\n<td>Unique identifier for the location (<code>16290</code>).</td>\n</tr>\n<tr>\n<td><strong><code>supplier_id</code></strong></td>\n<td>Integer</td>\n<td>The supplier’s ID associated with this location (<code>16675</code>).</td>\n</tr>\n<tr>\n<td><strong><code>loc_code</code></strong></td>\n<td>String</td>\n<td>Location code for internal tracking (<code>null</code>, meaning not assigned).</td>\n</tr>\n<tr>\n<td><strong><code>name</code></strong></td>\n<td>String</td>\n<td>Name of the location (<code>null</code>, meaning not provided).</td>\n</tr>\n<tr>\n<td><strong><code>loc_type</code></strong></td>\n<td>String</td>\n<td>Type of location (<code>\"Purchase\"</code>, meaning it's a purchasing location).</td>\n</tr>\n<tr>\n<td><strong><code>line_1</code></strong></td>\n<td>String</td>\n<td>Address line 1 (<code>\"test\"</code>).</td>\n</tr>\n<tr>\n<td><strong><code>line_2</code></strong></td>\n<td>String</td>\n<td>Address line 2 (empty in this case).</td>\n</tr>\n<tr>\n<td><strong><code>country</code></strong></td>\n<td>String</td>\n<td>Country (<code>\"US\"</code>, United States).</td>\n</tr>\n<tr>\n<td><strong><code>city</code></strong></td>\n<td>String</td>\n<td>City where the supplier is located (<code>\"CHICAGO\"</code>).</td>\n</tr>\n<tr>\n<td><strong><code>state</code></strong></td>\n<td>String</td>\n<td>State or province where the supplier is located (<code>\"IL\"</code> for Illinois).</td>\n</tr>\n<tr>\n<td><strong><code>zip_code</code></strong></td>\n<td>String</td>\n<td>Postal ZIP code (<code>\"60686\"</code>).</td>\n</tr>\n<tr>\n<td><strong><code>contact_name</code></strong></td>\n<td>String</td>\n<td>Name of the primary contact person (<code>\"Tester\"</code>).</td>\n</tr>\n<tr>\n<td><strong><code>contact_email</code></strong></td>\n<td>String</td>\n<td>Email of the contact person (<code>\"test@test.com\"</code>).</td>\n</tr>\n<tr>\n<td><strong><code>contact_phone</code></strong></td>\n<td>String</td>\n<td>Contact phone number (<code>\"8787878765\"</code>).</td>\n</tr>\n<tr>\n<td><strong><code>is_address_sync</code></strong></td>\n<td>Boolean</td>\n<td>Indicates if the address is synchronized with another system (<code>true</code>, meaning it is in sync).</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"key-observations-1\"><strong>Key Observations</strong></h2>\n<ol>\n<li><p><strong>Draft Status</strong>: The supplier is still in <code>\"draft\"</code> state, meaning it is not yet active for transactions.</p>\n</li>\n<li><p><strong>Single Supplier Location</strong>: This supplier currently has <strong>one</strong> location under <code>\"supplier_locations\"</code>, but the system allows multiple.</p>\n</li>\n<li><p><strong>No ERP Linkage</strong>: The <code>erp_vendor_id</code> field is <code>null</code>, meaning this supplier is not yet integrated with an ERP system.</p>\n</li>\n<li><p><strong>No DBA Name</strong>: The <code>\"dba\"</code> field is <code>null</code>, indicating that the supplier does not operate under a different business name.</p>\n</li>\n<li><p><strong>Purchase Orders via Email</strong>: <code>\"po_type\": \"Email\"</code> means the supplier prefers receiving POs via email.</p>\n</li>\n</ol>\n","urlObject":{"protocol":"https","path":["api","v2","suppliers"],"host":["myprocuredesk","com"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[],"_postman_id":"a468725d-72ec-49f7-b01c-82aa74bc8db9"},{"name":"Update","id":"695b035d-d017-4cb0-86ef-07b398073fb6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"supplier\": {\n    \"s_number\": \"222\",\n    \"name\": \"test\",\n    \"payment_term_id\": 704,\n    \"payment_method_id\": 159,\n    \"business_unit\": \"Mobile App\",\n    \"tax_id_type\": \"EIN\",\n    \"tax_id\": \"38-1428955\",\n    \"state\": \"draft\",\n    \"default_account_id\": 0000,\n    \"currency\": \"USD\",\n    \"status\": \"true\",\n    \"po_type\": \"Email\",\n    \"supplier_locations_attributes\": [\n      {\n        \"id\": 16290,\n        \"loc_type\": \"Purchase\",\n        \"line_1\": \"test\",\n        \"line_2\": \"\",\n        \"city\": \"CHICAGO\",\n        \"state\": \"IL\",\n        \"zip_code\": \"34343\",\n        \"contact_email\": \"test@test.com\",\n        \"contact_name\": \"tester\",\n        \"contact_phone\": \"8787878765\",\n        \"country\": \"US\"\n      }\n    ]\n  }\n}\n","options":{"raw":{"language":"json"}}},"url":"https://myprocuredesk.com/api/v2/suppliers/576456","description":"<h3 id=\"endpoint\">Endpoint</h3>\n<p><strong>Method</strong>: <code>PUT</code><br /><strong>Endpoint</strong>: <code>/api/v2/suppliers/{id}</code></p>\n<hr />\n<h3 id=\"description\">Description</h3>\n<p>This endpoint updates the details of an existing supplier using the supplier's unique identifier. Fields such as name, payment terms, status, and business unit can be modified.</p>\n<hr />\n<h2 id=\"supplier-information\"><strong>Supplier Information</strong></h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Value</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong><code>s_number</code></strong></td>\n<td>String</td>\n<td>Unique supplier number.</td>\n<td><code>\"222\"</code></td>\n</tr>\n<tr>\n<td><strong><code>name</code></strong></td>\n<td>String</td>\n<td>Name of the supplier.</td>\n<td><code>\"test\"</code></td>\n</tr>\n<tr>\n<td><strong><code>payment_term_id</code></strong></td>\n<td>Integer</td>\n<td>Payment terms ID (defines the agreed payment period, e.g., Net 30, Net 60).</td>\n<td><code>704</code></td>\n</tr>\n<tr>\n<td><strong><code>payment_method_id</code></strong></td>\n<td>Integer</td>\n<td>Payment method ID (e.g., Wire Transfer, PayPal, etc.).</td>\n<td><code>159</code></td>\n</tr>\n<tr>\n<td><strong><code>business_unit</code></strong></td>\n<td>String</td>\n<td>Business unit the supplier is associated with.</td>\n<td><code>\"Mobile App\"</code></td>\n</tr>\n<tr>\n<td><strong><code>tax_id_type</code></strong></td>\n<td>String</td>\n<td>Type of tax identification used.</td>\n<td><code>\"EIN\"</code> (Employer Identification Number)</td>\n</tr>\n<tr>\n<td><strong><code>tax_id</code></strong></td>\n<td>String</td>\n<td>Supplier's tax identification number.</td>\n<td><code>\"38-1428955\"</code></td>\n</tr>\n<tr>\n<td><strong><code>state</code></strong></td>\n<td>String</td>\n<td>Current state/status of the supplier in the system.</td>\n<td><code>\"draft\"</code> (Not yet approved for transactions)</td>\n</tr>\n<tr>\n<td><strong><code>default_account_id</code></strong></td>\n<td>Integer</td>\n<td>Default account ID used for accounting.</td>\n<td><code>0000</code></td>\n</tr>\n<tr>\n<td><strong><code>currency</code></strong></td>\n<td>String</td>\n<td>Currency used for transactions.</td>\n<td><code>\"USD\"</code> (U.S. Dollars)</td>\n</tr>\n<tr>\n<td><strong><code>status</code></strong></td>\n<td>Boolean (String)</td>\n<td>Indicates if the supplier is active.</td>\n<td><code>\"true\"</code> (Active)</td>\n</tr>\n<tr>\n<td><strong><code>po_type</code></strong></td>\n<td>String</td>\n<td>Preferred method of sending purchase orders.</td>\n<td><code>\"Email\"</code> (Sent via email)</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"supplier-location\"><strong>Supplier Location</strong></h2>\n<p>This section contains <strong>one</strong> location, but the system allows multiple locations.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Value</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong><code>id</code></strong></td>\n<td>Integer</td>\n<td>Unique identifier for the location.</td>\n<td><code>16290</code></td>\n</tr>\n<tr>\n<td><strong><code>loc_type</code></strong></td>\n<td>String</td>\n<td>Type of location (e.g., Purchase, Warehouse, Office).</td>\n<td><code>\"Purchase\"</code></td>\n</tr>\n<tr>\n<td><strong><code>line_1</code></strong></td>\n<td>String</td>\n<td>Address line 1.</td>\n<td><code>\"test\"</code></td>\n</tr>\n<tr>\n<td><strong><code>line_2</code></strong></td>\n<td>String</td>\n<td>Address line 2 (optional).</td>\n<td><code>\"\"</code> (Empty)</td>\n</tr>\n<tr>\n<td><strong><code>city</code></strong></td>\n<td>String</td>\n<td>City where the supplier is located.</td>\n<td><code>\"CHICAGO\"</code></td>\n</tr>\n<tr>\n<td><strong><code>state</code></strong></td>\n<td>String</td>\n<td>State or province.</td>\n<td><code>\"IL\"</code> (Illinois)</td>\n</tr>\n<tr>\n<td><strong><code>zip_code</code></strong></td>\n<td>String</td>\n<td>Postal ZIP code.</td>\n<td><code>\"60686-0061\"</code></td>\n</tr>\n<tr>\n<td><strong><code>country</code></strong></td>\n<td>String</td>\n<td>Country where the supplier is located.</td>\n<td><code>\"US\"</code> (United States)</td>\n</tr>\n<tr>\n<td><strong><code>contact_name</code></strong></td>\n<td>String</td>\n<td>Name of the contact person at this location.</td>\n<td><code>\"Tester\"</code></td>\n</tr>\n<tr>\n<td><strong><code>contact_email</code></strong></td>\n<td>String</td>\n<td>Email of the contact person.</td>\n<td><code>\"test@test.com\"</code></td>\n</tr>\n<tr>\n<td><strong><code>contact_phone</code></strong></td>\n<td>String</td>\n<td>Contact phone number.</td>\n<td><code>\"8787878765\"</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"key-observations\"><strong>Key Observations</strong></h2>\n<ol>\n<li><p><strong>Draft Status</strong>: The supplier is in <code>\"draft\"</code> mode, meaning it is <strong>not yet active</strong> for transactions.</p>\n</li>\n<li><p><strong>Active Supplier</strong>: Despite being in draft, the <code>\"status\"</code> field is <code>\"true\"</code>, indicating that once approved, it will be active.</p>\n</li>\n<li><p><strong>Single Supplier Location</strong>: The supplier currently has <strong>one</strong> location under <code>\"supplier_locations_attributes\"</code>, but additional locations can be added.</p>\n</li>\n<li><p><strong>POs via Email</strong>: The supplier prefers receiving purchase orders through <code>\"Email\"</code>.</p>\n</li>\n</ol>\n<hr />\n<h4 id=\"root-object-supplier\">Root Object: <code>supplier</code></h4>\n<hr />\n<h3 id=\"sample-request\">Sample Request</h3>\n<h4 id=\"request-url\">Request URL</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>PUT /api/v2/suppliers/576456\n\n</code></pre><h4 id=\"request-body\">Request Body</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"supplier\": {\n    \"s_number\": \"222\",\n    \"name\": \"test\",\n    \"payment_term_id\": 704,\n    \"payment_method_id\": 159,\n    \"business_unit\": \"Mobile App\",\n    \"tax_id_type\": \"EIN\",\n    \"tax_id\": \"38-1428955\",\n    \"state\": \"draft\",\n    \"default_account_id\": 0000,\n    \"currency\": \"USD\",\n    \"status\": \"true\",\n    \"po_type\": \"Email\",\n    \"supplier_locations_attributes\": [\n      {\n        \"id\": 16290,\n        \"loc_type\": \"Purchase\",\n        \"line_1\": \"Test\",\n        \"line_2\": \"\",\n        \"city\": \"CHICAGO\",\n        \"state\": \"IL\",\n        \"zip_code\": \"60686\",\n        \"contact_email\": \"Tester\",\n        \"contact_name\": \"test@test.com\",\n        \"contact_phone\": \"8787878765K\",\n        \"country\": \"US\"\n      }\n    ]\n  }\n}\n\n</code></pre>\n<hr />\n<h3 id=\"sample-response\">Sample Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"result\": {\n        \"id\": 16675,\n        \"s_number\": \"88889999\",\n        \"name\": \"test72722\",\n        \"status\": true,\n        \"payment_term_id\": 704,\n        \"payment_method_id\": 159,\n        \"tax_id_type\": \"EIN\",\n        \"tax_id\": \"38-1428955\",\n        \"dba\": null,\n        \"form\": {\n            \"url\": \"/assets/svg/boy.svg\",\n            \"thumb\": {\n                \"url\": \"/assets/svg/boy.svg\"\n            },\n            \"large\": {\n                \"url\": \"/assets/svg/boy.svg\"\n            }\n        },\n        \"currency\": \"USD\",\n        \"allow_non_po_invoice\": false,\n        \"default_account_id\": null,\n        \"state\": \"draft\",\n        \"po_type\": \"Email\",\n        \"business_unit_id\": 70,\n        \"disable_receipt\": null,\n        \"internal_contact_id\": null,\n        \"track_payments_for_1099\": false,\n        \"account_name\": null,\n        \"erp_vendor_id\": null,\n        \"created_at\": \"2025-02-18T06:05:18.671Z\",\n        \"updated_at\": \"2025-02-18T06:05:18.671Z\",\n        \"supplier_locations\": [\n            {\n                \"id\": 16290,\n                \"supplier_id\": 16675,\n                \"loc_code\": null,\n                \"name\": null,\n                \"loc_type\": \"Purchase\",\n                \"line_1\": \"Test\",\n                \"line_2\": \"\",\n                \"country\": \"US\",\n                \"city\": \"CHICAGO\",\n                \"state\": \"IL\",\n                \"zip_code\": \"60686\",\n                \"contact_name\": \"Test\",\n                \"contact_email\": \"test@test.com\",\n                \"contact_phone\": \"9898987678\",\n                \"is_address_sync\": true\n            }\n        ]\n    }\n}\n\n</code></pre>\n<hr />\n<h2 id=\"supplier-information-1\"><strong>Supplier Information</strong></h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Value</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong><code>id</code></strong></td>\n<td>Integer</td>\n<td>Unique identifier for the supplier.</td>\n<td><code>16675</code></td>\n</tr>\n<tr>\n<td><strong><code>s_number</code></strong></td>\n<td>String</td>\n<td>Supplier number (Unique ID for tracking).</td>\n<td><code>\"88889999\"</code></td>\n</tr>\n<tr>\n<td><strong><code>name</code></strong></td>\n<td>String</td>\n<td>Name of the supplier.</td>\n<td><code>\"test72722\"</code></td>\n</tr>\n<tr>\n<td><strong><code>status</code></strong></td>\n<td>Boolean</td>\n<td>Indicates if the supplier is active.</td>\n<td><code>true</code> (Active)</td>\n</tr>\n<tr>\n<td><strong><code>payment_term_id</code></strong></td>\n<td>Integer</td>\n<td>Payment terms ID (Defines payment period, e.g., Net 30, Net 60).</td>\n<td><code>704</code></td>\n</tr>\n<tr>\n<td><strong><code>payment_method_id</code></strong></td>\n<td>Integer</td>\n<td>Payment method ID (e.g., Wire Transfer, PayPal, etc.).</td>\n<td><code>159</code></td>\n</tr>\n<tr>\n<td><strong><code>tax_id_type</code></strong></td>\n<td>String</td>\n<td>Type of tax identification used.</td>\n<td><code>\"EIN\"</code> (Employer Identification Number)</td>\n</tr>\n<tr>\n<td><strong><code>tax_id</code></strong></td>\n<td>String</td>\n<td>Supplier's tax identification number.</td>\n<td><code>\"38-1428955\"</code></td>\n</tr>\n<tr>\n<td><strong><code>dba</code></strong></td>\n<td>Null</td>\n<td>\"Doing Business As\" name (if applicable).</td>\n<td><code>null</code> (Not provided)</td>\n</tr>\n<tr>\n<td><strong><code>currency</code></strong></td>\n<td>String</td>\n<td>Currency used for transactions.</td>\n<td><code>\"USD\"</code> (U.S. Dollars)</td>\n</tr>\n<tr>\n<td><strong><code>allow_non_po_invoice</code></strong></td>\n<td>Boolean</td>\n<td>Whether the supplier allows invoices without purchase orders.</td>\n<td><code>false</code> (Not allowed)</td>\n</tr>\n<tr>\n<td><strong><code>default_account_id</code></strong></td>\n<td>Null</td>\n<td>Default account ID used for accounting.</td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td><strong><code>state</code></strong></td>\n<td>String</td>\n<td>Current state/status of the supplier in the system.</td>\n<td><code>\"draft\"</code> (Not yet approved for transactions)</td>\n</tr>\n<tr>\n<td><strong><code>po_type</code></strong></td>\n<td>String</td>\n<td>Preferred method of sending purchase orders.</td>\n<td><code>\"Email\"</code> (Sent via email)</td>\n</tr>\n<tr>\n<td><strong><code>business_unit_id</code></strong></td>\n<td>Integer</td>\n<td>Business unit ID the supplier is associated with.</td>\n<td><code>70</code></td>\n</tr>\n<tr>\n<td><strong><code>disable_receipt</code></strong></td>\n<td>Null</td>\n<td>Indicates whether receipt is disabled.</td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td><strong><code>internal_contact_id</code></strong></td>\n<td>Null</td>\n<td>Internal contact person ID.</td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td><strong><code>track_payments_for_1099</code></strong></td>\n<td>Boolean</td>\n<td>Whether payments should be tracked for IRS 1099 tax reporting.</td>\n<td><code>false</code></td>\n</tr>\n<tr>\n<td><strong><code>account_name</code></strong></td>\n<td>Null</td>\n<td>Supplier's account name.</td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td><strong><code>erp_vendor_id</code></strong></td>\n<td>Null</td>\n<td>ERP system vendor ID (if integrated with an ERP system).</td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td><strong><code>created_at</code></strong></td>\n<td>String (Timestamp)</td>\n<td>Date and time the supplier was created.</td>\n<td><code>\"2025-02-18T06:05:18.671Z\"</code></td>\n</tr>\n<tr>\n<td><strong><code>updated_at</code></strong></td>\n<td>String (Timestamp)</td>\n<td>Last update time.</td>\n<td><code>\"2025-02-18T06:05:18.671Z\"</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"supplier-form-logoimage-data\"><strong>Supplier Form (Logo/Image Data)</strong></h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Value</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong><code>form.url</code></strong></td>\n<td>String</td>\n<td>URL of the supplier's form image.</td>\n<td><code>\"/assets/svg/boy.svg\"</code></td>\n</tr>\n<tr>\n<td><strong><code>form.thumb.url</code></strong></td>\n<td>String</td>\n<td>URL of the thumbnail image.</td>\n<td><code>\"/assets/svg/boy.svg\"</code></td>\n</tr>\n<tr>\n<td><strong><code>form.large.url</code></strong></td>\n<td>String</td>\n<td>URL of the large image.</td>\n<td><code>\"/assets/svg/boy.svg\"</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"supplier-location-1\"><strong>Supplier Location</strong></h2>\n<p>This section contains <strong>one</strong> location, but the system allows multiple locations.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n<th><strong>Value</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong><code>id</code></strong></td>\n<td>Integer</td>\n<td>Unique identifier for the location.</td>\n<td><code>16290</code></td>\n</tr>\n<tr>\n<td><strong><code>supplier_id</code></strong></td>\n<td>Integer</td>\n<td>ID of the supplier to which this location belongs.</td>\n<td><code>16675</code></td>\n</tr>\n<tr>\n<td><strong><code>loc_code</code></strong></td>\n<td>Null</td>\n<td>Location code (if applicable).</td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td><strong><code>name</code></strong></td>\n<td>Null</td>\n<td>Name of the location.</td>\n<td><code>null</code></td>\n</tr>\n<tr>\n<td><strong><code>loc_type</code></strong></td>\n<td>String</td>\n<td>Type of location (e.g., Purchase, Warehouse, Office).</td>\n<td><code>\"Purchase\"</code></td>\n</tr>\n<tr>\n<td><strong><code>line_1</code></strong></td>\n<td>String</td>\n<td>Address line 1.</td>\n<td><code>\"Test\"</code></td>\n</tr>\n<tr>\n<td><strong><code>line_2</code></strong></td>\n<td>String</td>\n<td>Address line 2 (optional).</td>\n<td><code>\"\"</code> (Empty)</td>\n</tr>\n<tr>\n<td><strong><code>city</code></strong></td>\n<td>String</td>\n<td>City where the supplier is located.</td>\n<td><code>\"CHICAGO\"</code></td>\n</tr>\n<tr>\n<td><strong><code>state</code></strong></td>\n<td>String</td>\n<td>State or province.</td>\n<td><code>\"IL\"</code> (Illinois)</td>\n</tr>\n<tr>\n<td><strong><code>zip_code</code></strong></td>\n<td>String</td>\n<td>Postal ZIP code.</td>\n<td><code>\"60686\"</code></td>\n</tr>\n<tr>\n<td><strong><code>country</code></strong></td>\n<td>String</td>\n<td>Country where the supplier is located.</td>\n<td><code>\"US\"</code> (United States)</td>\n</tr>\n<tr>\n<td><strong><code>contact_name</code></strong></td>\n<td>String</td>\n<td>Name of the contact person at this location.</td>\n<td><code>\"Tester\"</code></td>\n</tr>\n<tr>\n<td><strong><code>contact_email</code></strong></td>\n<td>String</td>\n<td>Email of the contact person.</td>\n<td><code>\"test@test.com\"</code></td>\n</tr>\n<tr>\n<td><strong><code>contact_phone</code></strong></td>\n<td>String</td>\n<td>Contact phone number.</td>\n<td><code>\"8787878765\"</code></td>\n</tr>\n<tr>\n<td><strong><code>is_address_sync</code></strong></td>\n<td>Boolean</td>\n<td>Whether the address is synced with another system.</td>\n<td><code>true</code></td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h2 id=\"key-observations-1\"><strong>Key Observations</strong></h2>\n<ol>\n<li><p><strong>Draft Status</strong>: The supplier is in <code>\"draft\"</code> mode, meaning it is <strong>not yet active</strong> for transactions.</p>\n</li>\n<li><p><strong>Active Supplier</strong>: Despite being in draft, the <code>\"status\"</code> field is <code>true</code>, meaning the supplier will be <strong>active once approved</strong>.</p>\n</li>\n<li><p><strong>No Non-PO Invoices Allowed</strong>: The supplier does not allow invoicing without purchase orders.</p>\n</li>\n<li><p><strong>Single Supplier Location</strong>: The supplier has <strong>one</strong> location but can have more in the future.</p>\n</li>\n<li><p><strong>POs via Email</strong>: The supplier prefers receiving purchase orders through <code>\"Email\"</code>.</p>\n</li>\n<li><p><strong>Tax Information Provided</strong>: The supplier has an EIN-based tax ID (<code>\"38-1428955\"</code>), required for financial transactions.</p>\n</li>\n<li><p><strong>ERP Vendor ID Not Set</strong>: The supplier is not yet linked to an ERP system.</p>\n</li>\n</ol>\n","urlObject":{"protocol":"https","path":["api","v2","suppliers","576456"],"host":["myprocuredesk","com"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[],"_postman_id":"695b035d-d017-4cb0-86ef-07b398073fb6"},{"name":"Delete-Pending","id":"bd64c08b-c576-4c50-b767-78f1847ce22a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://myprocuredesk.com/api/v2/suppliers/576456","description":"<p>⚠<strong>This endpoint is currently not available in this version.</strong></p>\n","urlObject":{"protocol":"https","path":["api","v2","suppliers","576456"],"host":["myprocuredesk","com"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[],"_postman_id":"bd64c08b-c576-4c50-b767-78f1847ce22a"},{"name":"Read","id":"3680ccee-a18f-411d-a22d-4921e0c8fc61","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://myprocuredesk.com/api/v2/suppliers/555479","description":"<h3 id=\"endpoint\">Endpoint</h3>\n<p><strong>Method</strong>: <code>GET</code><br /><strong>Endpoint</strong>: <code>/api/v2/suppliers/{id}</code></p>\n<hr />\n<h3 id=\"description\">Description</h3>\n<p>This endpoint retrieves details for a specific supplier using their unique identifier. It provides comprehensive information about the supplier, including their status, payment terms, tax details, and associated business unit.</p>\n<hr />\n<h3 id=\"parameters\">Parameters</h3>\n<h4 id=\"url-parameters\">URL Parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Mandatory</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>Integer</td>\n<td>Yes</td>\n<td>The unique identifier of the supplier to retrieve. Example: <code>555479</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"sample-request\">Sample Request</h3>\n<h4 id=\"request-url\">Request URL</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET /api/v2/suppliers/555479\n\n</code></pre><hr />\n<h3 id=\"sample-response\">Sample Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"result\": {\n        \"id\": 555479,\n        \"s_number\": \"1727332803\",\n        \"name\": \"Test 37884\",\n        \"status\": true,\n        \"payment_term_id\": 1,\n        \"payment_method_id\": 1,\n        \"tax_id_type\": \"EIN\",\n        \"tax_id\": \"\",\n        \"dba\": \"\",\n        \"form\": {\n            \"url\": \"/assets/svg/boy.svg\",\n            \"thumb\": {\n                \"url\": \"/assets/svg/boy.svg\"\n            },\n            \"large\": {\n                \"url\": \"/assets/svg/boy.svg\"\n            }\n        },\n        \"currency\": null,\n        \"allow_non_po_invoice\": false,\n        \"default_account_id\": 144924,\n        \"state\": \"approved\",\n        \"po_type\": \"Email\",\n        \"business_unit_id\": 1,\n        \"disable_receipt\": false,\n        \"internal_contact_id\": null,\n        \"track_payments_for_1099\": false,\n        \"account_name\": \"\",\n        \"erp_vendor_id\": null,\n        \"created_at\": \"2024-09-26T06:40:03.040Z\",\n        \"updated_at\": \"2024-09-26T06:40:24.305Z\"\n    }\n}\n\n</code></pre>\n<hr />\n<h3 id=\"response-fields-explained\">Response Fields Explained</h3>\n<h4 id=\"root-fields\">Root Fields</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>success</code></td>\n<td>Boolean</td>\n<td>Indicates whether the request was successful.</td>\n</tr>\n<tr>\n<td><code>result</code></td>\n<td>Object</td>\n<td>Contains the detailed information about the supplier.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"fields-in-result\">Fields in <code>result</code></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>Integer</td>\n<td>Unique identifier for the supplier. Example: <code>555479</code>.</td>\n</tr>\n<tr>\n<td><code>s_number</code></td>\n<td>String</td>\n<td>Supplier number or identifier. Example: <code>\"1727332803\"</code>.</td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td>String</td>\n<td>Name of the supplier. Example: <code>\"Test 37884\"</code>.</td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td>Boolean</td>\n<td>Indicates if the supplier is active (<code>true</code>) or inactive (<code>false</code>).</td>\n</tr>\n<tr>\n<td><code>payment_term_id</code></td>\n<td>Integer</td>\n<td>ID of the payment term associated with the supplier.</td>\n</tr>\n<tr>\n<td><code>payment_method_id</code></td>\n<td>Integer</td>\n<td>ID of the payment method associated with the supplier.</td>\n</tr>\n<tr>\n<td><code>tax_id_type</code></td>\n<td>String</td>\n<td>Type of tax ID (e.g., <code>\"EIN\"</code>).</td>\n</tr>\n<tr>\n<td><code>tax_id</code></td>\n<td>String</td>\n<td>Tax ID for the supplier (if applicable).</td>\n</tr>\n<tr>\n<td><code>dba</code></td>\n<td>String</td>\n<td>Doing Business As (DBA) name for the supplier.</td>\n</tr>\n<tr>\n<td><code>form</code></td>\n<td>Object</td>\n<td>Contains URLs for supplier forms or documents.</td>\n</tr>\n<tr>\n<td><code>form.url</code></td>\n<td>String</td>\n<td>URL of the document. Example: <code>\"/assets/svg/boy.svg\"</code>.</td>\n</tr>\n<tr>\n<td><code>form.thumb.url</code></td>\n<td>String</td>\n<td>URL for a thumbnail version of the document.</td>\n</tr>\n<tr>\n<td><code>form.large.url</code></td>\n<td>String</td>\n<td>URL for a large version of the document.</td>\n</tr>\n<tr>\n<td><code>currency</code></td>\n<td>String</td>\n<td>Default currency for the supplier.</td>\n</tr>\n<tr>\n<td><code>allow_non_po_invoice</code></td>\n<td>Boolean</td>\n<td>Indicates if non-PO invoices are allowed for this supplier.</td>\n</tr>\n<tr>\n<td><code>default_account_id</code></td>\n<td>Integer</td>\n<td>Default account ID associated with the supplier.</td>\n</tr>\n<tr>\n<td><code>state</code></td>\n<td>String</td>\n<td>State of the supplier (e.g., <code>\"approved\"</code>).</td>\n</tr>\n<tr>\n<td><code>po_type</code></td>\n<td>String</td>\n<td>Preferred purchase order type (e.g., <code>\"Email\"</code>).</td>\n</tr>\n<tr>\n<td><code>business_unit_id</code></td>\n<td>Integer</td>\n<td>ID of the business unit associated with the supplier.</td>\n</tr>\n<tr>\n<td><code>disable_receipt</code></td>\n<td>Boolean</td>\n<td>Indicates if receipt functionality is disabled for this supplier.</td>\n</tr>\n<tr>\n<td><code>internal_contact_id</code></td>\n<td>Integer</td>\n<td>Internal contact ID for the supplier, if any.</td>\n</tr>\n<tr>\n<td><code>track_payments_for_1099</code></td>\n<td>Boolean</td>\n<td>Indicates if payments are tracked for 1099 reporting.</td>\n</tr>\n<tr>\n<td><code>account_name</code></td>\n<td>String</td>\n<td>Account name associated with the supplier.</td>\n</tr>\n<tr>\n<td><code>erp_vendor_id</code></td>\n<td>String</td>\n<td>ERP-specific vendor ID, if applicable.</td>\n</tr>\n<tr>\n<td><code>created_at</code></td>\n<td>String</td>\n<td>Timestamp when the supplier was created. Example: <code>\"2024-09-26T06:40:03.040Z\"</code>.</td>\n</tr>\n<tr>\n<td><code>updated_at</code></td>\n<td>String</td>\n<td>Timestamp when the supplier was last updated. Example: <code>\"2024-09-26T06:40:24.305Z\"</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"notes\">Notes</h3>\n<ol>\n<li><p><strong>URL Parameter</strong>:</p>\n<ul>\n<li>The <code>{id}</code> in the endpoint must be replaced with the unique supplier ID to retrieve the correct details.</li>\n</ul>\n</li>\n<li><p><strong>Response Structure</strong>:</p>\n<ul>\n<li><p>The response includes metadata about the supplier, such as tax ID, payment terms, and associated business units.</p>\n</li>\n<li><p>The <code>form</code> object provides URLs for any documents associated with the supplier.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>Error Handling</strong>:</p>\n<ul>\n<li>If the supplier ID does not exist, the API will return an error message.</li>\n</ul>\n</li>\n<li><p><strong>Authorization</strong>:</p>\n<ul>\n<li>Only users with the appropriate permissions can access supplier details.</li>\n</ul>\n</li>\n</ol>\n","urlObject":{"protocol":"https","path":["api","v2","suppliers","555479"],"host":["myprocuredesk","com"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[],"_postman_id":"3680ccee-a18f-411d-a22d-4921e0c8fc61"},{"name":"Read All","id":"6884ac2a-6612-4763-8918-5bcca3d64244","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://myprocuredesk.com/api/v2/suppliers?max_results=3&modified_date=&page=1","description":"<h3 id=\"endpoint\">Endpoint</h3>\n<p><strong>Method</strong>: <code>GET</code><br /><strong>Endpoint</strong>: <code>/api/v2/suppliers</code></p>\n<hr />\n<h3 id=\"description\">Description</h3>\n<p>This endpoint retrieves a paginated list of all suppliers. It includes detailed information about each supplier, such as their tax details, status, payment terms, and associated business units.</p>\n<hr />\n<h3 id=\"parameters\">Parameters</h3>\n<h4 id=\"query-parameters\">Query Parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Mandatory</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>max_results</code></td>\n<td>Integer</td>\n<td>No</td>\n<td>Maximum number of results to return per page. Example: <code>3</code>.</td>\n</tr>\n<tr>\n<td><code>page</code></td>\n<td>Integer</td>\n<td>No</td>\n<td>Specifies the page number to fetch. Default is <code>1</code>. Example: <code>1</code>.</td>\n</tr>\n<tr>\n<td><code>modified_date</code></td>\n<td>String</td>\n<td>No</td>\n<td>Filters suppliers modified on or after the specified date. Format: <code>YYYY-MM-DD</code>. Example: <code>\"\"</code> (no filtering).</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"sample-request\">Sample Request</h3>\n<h4 id=\"request-url\">Request URL</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET /api/v2/suppliers?max_results=3&amp;modified_date=&amp;page=1\n\n</code></pre><hr />\n<h3 id=\"sample-response\">Sample Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"result\": [\n        {\n            \"id\": 16675,\n            \"s_number\": \"88889999\",\n            \"name\": \"test72722\",\n            \"status\": true,\n            \"payment_term_id\": 704,\n            \"payment_method_id\": 159,\n            \"tax_id_type\": \"EIN\",\n            \"tax_id\": \"38-1428955\",\n            \"dba\": null,\n            \"form\": {\n                \"url\": \"/assets/svg/boy.svg\",\n                \"thumb\": {\n                    \"url\": \"/assets/svg/boy.svg\"\n                },\n                \"large\": {\n                    \"url\": \"/assets/svg/boy.svg\"\n                }\n            },\n            \"currency\": \"USD\",\n            \"allow_non_po_invoice\": false,\n            \"default_account_id\": null,\n            \"state\": \"draft\",\n            \"po_type\": \"Email\",\n            \"business_unit_id\": 70,\n            \"disable_receipt\": null,\n            \"internal_contact_id\": null,\n            \"track_payments_for_1099\": false,\n            \"account_name\": null,\n            \"erp_vendor_id\": null,\n            \"created_at\": \"2025-02-18T06:05:18.671Z\",\n            \"updated_at\": \"2025-02-18T06:05:18.671Z\",\n            \"supplier_locations\": [\n                {\n                    \"id\": 16290,\n                    \"supplier_id\": 16675,\n                    \"loc_code\": null,\n                    \"name\": null,\n                    \"loc_type\": \"Purchase\",\n                    \"line_1\": \"Test\",\n                    \"line_2\": \"\",\n                    \"country\": \"US\",\n                    \"city\": \"CHICAGO\",\n                    \"state\": \"IL\",\n                    \"zip_code\": \"60686\",\n                    \"contact_name\": \"Tester\",\n                    \"contact_email\": \"test@test.com\",\n                    \"contact_phone\": \"8787878765\",\n                    \"is_address_sync\": true\n                }\n            ]\n        }\n\n</code></pre>\n<hr />\n<h3 id=\"api-response-table\"><strong>API Response Table:</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Value</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>success</strong></td>\n<td><code>true</code></td>\n<td>Indicates whether the API call was successful.</td>\n</tr>\n<tr>\n<td><strong>result</strong></td>\n<td>Array of Supplier Objects</td>\n<td>Contains the list of suppliers. In this case, there is one supplier.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"supplier-object-inside-result\"><strong>Supplier Object (Inside \"result\")</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Value</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>id</strong></td>\n<td><code>16675</code></td>\n<td>Unique identifier for the supplier.</td>\n</tr>\n<tr>\n<td><strong>s_number</strong></td>\n<td><code>88889999</code></td>\n<td>Supplier number for internal identification.</td>\n</tr>\n<tr>\n<td><strong>name</strong></td>\n<td><code>test72722</code></td>\n<td>Name of the supplier.</td>\n</tr>\n<tr>\n<td><strong>status</strong></td>\n<td><code>true</code></td>\n<td>Whether the supplier is active (true = active, false = inactive).</td>\n</tr>\n<tr>\n<td><strong>payment_term_id</strong></td>\n<td><code>704</code></td>\n<td>Identifier for the payment term.</td>\n</tr>\n<tr>\n<td><strong>payment_method_id</strong></td>\n<td><code>159</code></td>\n<td>Identifier for the payment method.</td>\n</tr>\n<tr>\n<td><strong>tax_id_type</strong></td>\n<td><code>EIN</code></td>\n<td>Type of tax ID. This indicates that the supplier uses an Employer Identification Number (EIN) for tax purposes.</td>\n</tr>\n<tr>\n<td><strong>tax_id</strong></td>\n<td><code>38-1428955</code></td>\n<td>The tax ID of the supplier, formatted as EIN (Employer Identification Number).</td>\n</tr>\n<tr>\n<td><strong>dba</strong></td>\n<td><code>null</code></td>\n<td>\"Doing Business As\" name. It’s null, which means this supplier doesn’t have a separate DBA name.</td>\n</tr>\n<tr>\n<td><strong>form</strong></td>\n<td>Object (Image URLs)</td>\n<td>Contains URLs for different image sizes (form URL, thumb, and large). These are likely used for the supplier's logo or profile picture.</td>\n</tr>\n<tr>\n<td><strong>currency</strong></td>\n<td><code>USD</code></td>\n<td>Currency used for transactions with this supplier (United States Dollar).</td>\n</tr>\n<tr>\n<td><strong>allow_non_po_invoice</strong></td>\n<td><code>false</code></td>\n<td>Whether the supplier allows invoices without a purchase order (PO). In this case, they do not.</td>\n</tr>\n<tr>\n<td><strong>default_account_id</strong></td>\n<td><code>null</code></td>\n<td>Default account ID for the supplier (null means there is no default account set).</td>\n</tr>\n<tr>\n<td><strong>state</strong></td>\n<td><code>draft</code></td>\n<td>Current status of the supplier. A \"draft\" state suggests this supplier is not finalized or active yet.</td>\n</tr>\n<tr>\n<td><strong>po_type</strong></td>\n<td><code>Email</code></td>\n<td>Indicates the preferred purchase order type. In this case, it’s email-based.</td>\n</tr>\n<tr>\n<td><strong>business_unit_id</strong></td>\n<td><code>70</code></td>\n<td>Identifier for the business unit associated with this supplier.</td>\n</tr>\n<tr>\n<td><strong>disable_receipt</strong></td>\n<td><code>null</code></td>\n<td>Whether receipts are disabled for this supplier (null indicates this setting has not been configured).</td>\n</tr>\n<tr>\n<td><strong>internal_contact_id</strong></td>\n<td><code>null</code></td>\n<td>Internal contact ID for the supplier (null means no contact is assigned).</td>\n</tr>\n<tr>\n<td><strong>track_payments_for_1099</strong></td>\n<td><code>false</code></td>\n<td>Whether payments to this supplier should be tracked for 1099 reporting (false means it's not tracked).</td>\n</tr>\n<tr>\n<td><strong>account_name</strong></td>\n<td><code>null</code></td>\n<td>The account name associated with the supplier (null means no account name has been specified).</td>\n</tr>\n<tr>\n<td><strong>erp_vendor_id</strong></td>\n<td><code>null</code></td>\n<td>The ERP system's vendor ID for this supplier (null means no ID is available).</td>\n</tr>\n<tr>\n<td><strong>created_at</strong></td>\n<td><code>2025-02-18T06:05:18.671Z</code></td>\n<td>Timestamp indicating when the supplier was created in the system.</td>\n</tr>\n<tr>\n<td><strong>updated_at</strong></td>\n<td><code>2025-02-18T06:05:18.671Z</code></td>\n<td>Timestamp indicating the last time the supplier data was updated.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"supplier-locations-inside-supplier_locations\"><strong>Supplier Locations (Inside \"supplier_locations\")</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Value</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>id</strong></td>\n<td><code>16290</code></td>\n<td>Unique identifier for the supplier location.</td>\n</tr>\n<tr>\n<td><strong>supplier_id</strong></td>\n<td><code>16675</code></td>\n<td>The ID of the associated supplier.</td>\n</tr>\n<tr>\n<td><strong>loc_code</strong></td>\n<td><code>null</code></td>\n<td>Location code for the supplier’s address (null means no code is specified).</td>\n</tr>\n<tr>\n<td><strong>name</strong></td>\n<td><code>null</code></td>\n<td>The name of the location (null suggests no specific name is provided).</td>\n</tr>\n<tr>\n<td><strong>loc_type</strong></td>\n<td><code>Purchase</code></td>\n<td>Type of the location (here it’s marked as \"Purchase\").</td>\n</tr>\n<tr>\n<td><strong>line_1</strong></td>\n<td><code>Test</code></td>\n<td>First line of the supplier’s address.</td>\n</tr>\n<tr>\n<td><strong>line_2</strong></td>\n<td><code>\"\"</code> (Empty String)</td>\n<td>Second line of the supplier’s address (empty in this case).</td>\n</tr>\n<tr>\n<td><strong>city</strong></td>\n<td><code>CHICAGO</code></td>\n<td>The city of the supplier’s location.</td>\n</tr>\n<tr>\n<td><strong>state</strong></td>\n<td><code>IL</code></td>\n<td>The state abbreviation of the supplier’s location (Illinois).</td>\n</tr>\n<tr>\n<td><strong>zip_code</strong></td>\n<td><code>60686</code></td>\n<td>The zip code of the supplier’s location.</td>\n</tr>\n<tr>\n<td><strong>contact_name</strong></td>\n<td><code>Tester</code></td>\n<td>The name of the contact person for this supplier location.</td>\n</tr>\n<tr>\n<td><strong>contact_email</strong></td>\n<td><code>test@test.com</code></td>\n<td>Contact email address for the supplier.</td>\n</tr>\n<tr>\n<td><strong>contact_phone</strong></td>\n<td><code>8787878765</code></td>\n<td>Contact phone number for the supplier.</td>\n</tr>\n<tr>\n<td><strong>country</strong></td>\n<td><code>US</code></td>\n<td>The country of the supplier’s location.</td>\n</tr>\n<tr>\n<td><strong>is_address_sync</strong></td>\n<td><code>true</code></td>\n<td>Whether the address is synchronized with another system (true means synchronized).</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"explanation-of-fields\"><strong>Explanation of Fields:</strong></h3>\n<ul>\n<li><p><strong><code>form</code></strong>: Includes links to image assets for the supplier's visual representation (likely a logo), with different sizes for different uses.</p>\n</li>\n<li><p><strong><code>currency</code></strong>: Specifies the currency used for transactions (USD).</p>\n</li>\n<li><p><strong><code>allow_non_po_invoice</code></strong>: States whether invoices are allowed without a corresponding purchase order (false means not allowed).</p>\n</li>\n<li><p><strong>Supplier Location</strong>: Includes the address, contact info, and other details for the supplier’s specific location.</p>\n</li>\n<li><p><strong><code>state</code></strong>: Indicates whether the supplier is in a \"draft\" or \"active\" state. \"Draft\" may indicate it's in an unfinalized state.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","v2","suppliers"],"host":["myprocuredesk","com"],"query":[{"key":"max_results","value":"3"},{"key":"modified_date","value":""},{"key":"page","value":"1"}],"variable":[]}},"response":[],"_postman_id":"6884ac2a-6612-4763-8918-5bcca3d64244"}],"id":"38975a6f-78e9-4196-88cc-30868ae8e570","description":"<p>The Suppliers API allows users to manage supplier information within the system, providing endpoints to create, update, retrieve, and delete supplier records. Through this API, users can access supplier details like name, contact information, address, tax ID, and other relevant data to ensure accurate procurement and payment processes.</p>\n<h3 id=\"key-endpoints\">Key Endpoints:</h3>\n<ul>\n<li><p><strong>GET /suppliers</strong>: Retrieve a list of all suppliers, with optional filters for searching by name, status, or category.</p>\n</li>\n<li><p><strong>GET /suppliers/{id}</strong>: Retrieve detailed information about a specific supplier by supplier ID.</p>\n</li>\n<li><p><strong>POST /suppliers</strong>: Create a new supplier record, including mandatory fields such as name, address, and contact details.</p>\n</li>\n<li><p><strong>PUT /suppliers/{id}</strong>: Update an existing supplier's details by supplier ID.</p>\n</li>\n</ul>\n","_postman_id":"38975a6f-78e9-4196-88cc-30868ae8e570"},{"name":"Projects","item":[{"name":"Create","id":"3c892944-5b80-4f61-9c25-7468fc81bf96","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"job_project\": {\n    \"name\": \"Construction for the new office\",\n    \"description\": \"Construction for the new office\",\n    \"owner_id\": \"4\",\n    \"start_date\": \"2024-11-09\",\n    \"end_date\": \"2025-11-09\",\n    \"budget_lines_attributes\": [\n      {\n        \"description\": \"Materials\",\n        \"budgeted_amount\": \"5000\",\n        \"start_date\": \"2024-11-09\",\n        \"end_date\": \"2025-11-09\"\n      },\n      {\n        \"description\": \"Services\",\n        \"budgeted_amount\": \"5000\",\n        \"start_date\": \"2024-11-09\",\n        \"end_date\": \"2025-11-09\"\n      }\n    ]\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://myprocuredesk.com/api/v2/job_projects","description":"<h3 id=\"api-documentation-create-job-project\">API Documentation: Create Job Project</h3>\n<hr />\n<h3 id=\"endpoint\">Endpoint</h3>\n<p><strong>Method</strong>: <code>POST</code><br /><strong>Endpoint</strong>: <code>/api/v2/job_projects</code></p>\n<hr />\n<h3 id=\"description\">Description</h3>\n<p>This endpoint is used to create a new job project, including its associated budget lines. It allows the specification of project details such as name, description, owner, start and end dates, and budget line allocations.</p>\n<hr />\n<h3 id=\"request-body-structure\">Request Body Structure</h3>\n<h4 id=\"root-object-job_project\">Root Object: <code>job_project</code></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Mandatory</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>String</td>\n<td>Yes</td>\n<td>Name of the job project. Example: <code>\"Construction for the new office\"</code>.</td>\n</tr>\n<tr>\n<td><code>description</code></td>\n<td>String</td>\n<td>Yes</td>\n<td>Description of the job project. Example: <code>\"Construction for the new office\"</code>.</td>\n</tr>\n<tr>\n<td><code>owner_id</code></td>\n<td>String</td>\n<td>Yes</td>\n<td>ID of the owner responsible for the project. Example: <code>\"4\"</code>.</td>\n</tr>\n<tr>\n<td><code>start_date</code></td>\n<td>String</td>\n<td>Yes</td>\n<td>Start date of the project. Format: <code>YYYY-MM-DD</code>. Example: <code>\"2024-11-09\"</code>.</td>\n</tr>\n<tr>\n<td><code>end_date</code></td>\n<td>String</td>\n<td>Yes</td>\n<td>End date of the project. Format: <code>YYYY-MM-DD</code>. Example: <code>\"2025-11-09\"</code>.</td>\n</tr>\n<tr>\n<td><code>budget_lines_attributes</code></td>\n<td>Array</td>\n<td>No</td>\n<td>List of budget lines associated with the project. See details below.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h4 id=\"fields-in-budget_lines_attributes-array-item\">Fields in <code>budget_lines_attributes</code> (Array Item)</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Mandatory</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>description</code></td>\n<td>String</td>\n<td>Yes</td>\n<td>Description of the budget line. Example: <code>\"Materials\"</code>.</td>\n</tr>\n<tr>\n<td><code>budgeted_amount</code></td>\n<td>String</td>\n<td>Yes</td>\n<td>Allocated budget amount for this line. Example: <code>\"5000\"</code>.</td>\n</tr>\n<tr>\n<td><code>start_date</code></td>\n<td>String</td>\n<td>Yes</td>\n<td>Start date for this budget line. Format: <code>YYYY-MM-DD</code>.</td>\n</tr>\n<tr>\n<td><code>end_date</code></td>\n<td>String</td>\n<td>Yes</td>\n<td>End date for this budget line. Format: <code>YYYY-MM-DD</code>.</td>\n</tr>\n<tr>\n<td>budget_type:</td>\n<td>String</td>\n<td>Yes</td>\n<td>User can select the capital and expense in the budget type</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"sample-request\">Sample Request</h3>\n<h4 id=\"request-body\">Request Body</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"job_project\": {\n    \"name\": \"Construction for the new office\",\n    \"description\": \"Construction for the new office\",\n    \"owner_id\": \"4\",\n    \"start_date\": \"2024-11-09\",\n    \"end_date\": \"2025-11-09\",\n    \"budget_lines_attributes\": [\n      {\n        \"description\": \"Materials\",\n        \"budgeted_amount\": \"5000\",\n        \"start_date\": \"2024-11-09\",\n        \"end_date\": \"2025-11-09\"\n      },\n      {\n        \"description\": \"Services\",\n        \"budgeted_amount\": \"5000\",\n        \"start_date\": \"2024-11-09\",\n        \"end_date\": \"2025-11-09\"\n      }\n    ]\n  }\n}\n\n</code></pre>\n<hr />\n<h3 id=\"sample-response\">Sample Response</h3>\n<h4 id=\"successful-response\">Successful Response</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"result\": \"Job Project created / updated successfully\"\n}\n\n</code></pre>\n<hr />\n<h3 id=\"response-fields-explained\">Response Fields Explained</h3>\n<h4 id=\"root-fields\">Root Fields</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>success</code></td>\n<td>Boolean</td>\n<td>Indicates whether the job project was successfully created.</td>\n</tr>\n<tr>\n<td><code>result</code></td>\n<td>String</td>\n<td>Provides a success message. Example: <code>\"Job Project created / updated successfully\"</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"notes\">Notes</h3>\n<ol>\n<li><p><strong>Validation</strong>:</p>\n<ul>\n<li><p>All mandatory fields in the <code>job_project</code> and <code>budget_lines_attributes</code> objects must be provided.</p>\n</li>\n<li><p>The <code>start_date</code> must be earlier than or equal to the <code>end_date</code>.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>Error Handling</strong>:</p>\n<ul>\n<li>Missing or invalid fields will result in a descriptive error response.</li>\n</ul>\n</li>\n<li><p><strong>Authorization</strong>:</p>\n<ul>\n<li>Only users with the appropriate permissions can create job projects.</li>\n</ul>\n</li>\n<li><p><strong>Budget Lines</strong>:</p>\n<ul>\n<li>Budget lines are optional. If included, they must specify descriptions, amounts, and dates.</li>\n</ul>\n</li>\n</ol>\n","urlObject":{"protocol":"https","path":["api","v2","job_projects"],"host":["myprocuredesk","com"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[],"_postman_id":"3c892944-5b80-4f61-9c25-7468fc81bf96"},{"name":"Update","id":"bb5f986a-f2a9-4a87-8e4d-96b2770ddfc2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"job_project\": {\n    \"name\": \"Construction for the new office\",\n    \"description\": \"Construction for the new office\",\n    \"owner_id\": \"4\",\n    \"start_date\": \"2024-11-09\",\n    \"end_date\": \"2025-11-09\",\n    \"budget_lines_attributes\": [\n      {\n        \"description\": \"Materials\",\n        \"budgeted_amount\": \"5000\",\n        \"start_date\": \"2024-11-09\",\n        \"end_date\": \"2025-11-09\"\n      },\n      {\n        \"description\": \"Services\",\n        \"budgeted_amount\": \"6000\",\n        \"start_date\": \"2024-11-09\",\n        \"end_date\": \"2025-11-09\"\n      }\n    ]\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://myprocuredesk.com/api/v2/job_projects","description":"<h3 id=\"endpoint\">Endpoint</h3>\n<p><strong>Method</strong>: <code>PUT</code><br /><strong>Endpoint</strong>: <code>/api/v2/job_projects/{id}</code></p>\n<hr />\n<h3 id=\"description\">Description</h3>\n<p>This endpoint updates the details of an existing job project using the project’s unique identifier. It allows you to modify project details, such as name, description, owner, dates, and associated budget lines.</p>\n<hr />\n<h3 id=\"parameters\">Parameters</h3>\n<h4 id=\"url-parameters\">URL Parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Mandatory</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>Integer</td>\n<td>Yes</td>\n<td>The unique identifier of the job project to update. Example: <code>12345</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"request-body-structure\">Request Body Structure</h3>\n<h4 id=\"root-object-job_project\">Root Object: <code>job_project</code></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Mandatory</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>String</td>\n<td>Yes</td>\n<td>Updated name of the job project. Example: <code>\"Construction for the new office\"</code>.</td>\n</tr>\n<tr>\n<td><code>description</code></td>\n<td>String</td>\n<td>Yes</td>\n<td>Updated description of the job project. Example: <code>\"Construction for the new office\"</code>.</td>\n</tr>\n<tr>\n<td><code>owner_id</code></td>\n<td>String</td>\n<td>Yes</td>\n<td>ID of the owner responsible for the project. Example: <code>\"4\"</code>.</td>\n</tr>\n<tr>\n<td><code>start_date</code></td>\n<td>String</td>\n<td>Yes</td>\n<td>Updated start date of the project. Format: <code>YYYY-MM-DD</code>. Example: <code>\"2024-11-09\"</code>.</td>\n</tr>\n<tr>\n<td><code>end_date</code></td>\n<td>String</td>\n<td>Yes</td>\n<td>Updated end date of the project. Format: <code>YYYY-MM-DD</code>. Example: <code>\"2025-11-09\"</code>.</td>\n</tr>\n<tr>\n<td><code>budget_lines_attributes</code></td>\n<td>Array</td>\n<td>No</td>\n<td>List of updated budget lines associated with the project. See details below.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h4 id=\"fields-in-budget_lines_attributes-array-item\">Fields in <code>budget_lines_attributes</code> (Array Item)</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Mandatory</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>description</code></td>\n<td>String</td>\n<td>Yes</td>\n<td>Description of the budget line. Example: <code>\"Materials\"</code>.</td>\n</tr>\n<tr>\n<td><code>budgeted_amount</code></td>\n<td>String</td>\n<td>Yes</td>\n<td>Updated budget amount for this line. Example: <code>\"6000\"</code>.</td>\n</tr>\n<tr>\n<td><code>start_date</code></td>\n<td>String</td>\n<td>Yes</td>\n<td>Start date for this budget line. Format: <code>YYYY-MM-DD</code>.</td>\n</tr>\n<tr>\n<td><code>end_date</code></td>\n<td>String</td>\n<td>Yes</td>\n<td>End date for this budget line. Format: <code>YYYY-MM-DD</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"sample-request\">Sample Request</h3>\n<h4 id=\"request-url\">Request URL</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>PUT /api/v2/job_projects/12345\n\n</code></pre><h4 id=\"request-body\">Request Body</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"job_project\": {\n    \"name\": \"Construction for the new office\",\n    \"description\": \"Construction for the new office\",\n    \"owner_id\": \"4\",\n    \"start_date\": \"2024-11-09\",\n    \"end_date\": \"2025-11-09\",\n    \"budget_lines_attributes\": [\n      {\n        \"description\": \"Materials\",\n        \"budgeted_amount\": \"5000\",\n        \"start_date\": \"2024-11-09\",\n        \"end_date\": \"2025-11-09\"\n      },\n      {\n        \"description\": \"Services\",\n        \"budgeted_amount\": \"6000\",\n        \"start_date\": \"2024-11-09\",\n        \"end_date\": \"2025-11-09\"\n      }\n    ]\n  }\n}\n\n</code></pre>\n<hr />\n<h3 id=\"sample-response\">Sample Response</h3>\n<h4 id=\"successful-response\">Successful Response</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"result\": \"Job Project created / updated successfully\"\n}\n\n</code></pre>\n<hr />\n<h3 id=\"response-fields-explained\">Response Fields Explained</h3>\n<h4 id=\"root-fields\">Root Fields</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>success</code></td>\n<td>Boolean</td>\n<td>Indicates whether the job project was successfully updated.</td>\n</tr>\n<tr>\n<td><code>result</code></td>\n<td>String</td>\n<td>Provides a success message. Example: <code>\"Job Project created / updated successfully\"</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"notes\">Notes</h3>\n<ol>\n<li><p><strong>Validation</strong>:</p>\n<ul>\n<li><p>The <code>{id}</code> in the URL must match the ID of an existing job project.</p>\n</li>\n<li><p>All mandatory fields in the <code>job_project</code> and <code>budget_lines_attributes</code> objects must be provided.</p>\n</li>\n<li><p>The <code>start_date</code> must be earlier than or equal to the <code>end_date</code>.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>Error Handling</strong>:</p>\n<ul>\n<li><p>Missing or invalid fields will result in a descriptive error response.</p>\n</li>\n<li><p>If the project ID does not exist, the API will return an error message.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>Authorization</strong>:</p>\n<ul>\n<li>Only users with the appropriate permissions can update job projects.</li>\n</ul>\n</li>\n<li><p><strong>Budget Lines</strong>:</p>\n<ul>\n<li>Budget lines are optional. If included, they must specify updated descriptions, amounts, and dates.</li>\n</ul>\n</li>\n</ol>\n","urlObject":{"protocol":"https","path":["api","v2","job_projects"],"host":["myprocuredesk","com"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[],"_postman_id":"bb5f986a-f2a9-4a87-8e4d-96b2770ddfc2"},{"name":"Delete - Not implemented","id":"c1b8fa28-54ab-459e-b366-141c81925884","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://myprocuredesk.com/api/v2/po/create_po","description":"<p>⚠<strong>This endpoint is currently not available in this version.</strong></p>\n","urlObject":{"protocol":"https","path":["api","v2","po","create_po"],"host":["myprocuredesk","com"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[],"_postman_id":"c1b8fa28-54ab-459e-b366-141c81925884"},{"name":"Read - Not Implemented","id":"1e169c59-85e7-498b-9abc-4bc8586c0b60","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://myprocuredesk.com/api/v2/job_projects","description":"<p>⚠<strong>This endpoint is currently not available in this version.</strong></p>\n","urlObject":{"protocol":"https","path":["api","v2","job_projects"],"host":["myprocuredesk","com"],"query":[{"disabled":true,"key":"","value":""},{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[],"_postman_id":"1e169c59-85e7-498b-9abc-4bc8586c0b60"},{"name":"Read All","id":"503e10ef-2ab5-43dd-84dd-be50aecb5677","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://myprocuredesk.com/api/v2/job_projects?max_results=2","description":"<h3 id=\"endpoint\">Endpoint</h3>\n<p><strong>Method</strong>: <code>GET</code><br /><strong>Endpoint</strong>: <code>/api/v2/job_projects</code></p>\n<hr />\n<h3 id=\"description\">Description</h3>\n<p>This endpoint retrieves a paginated list of all job projects. It allows optional filtering and customization of the number of results per page.</p>\n<hr />\n<h3 id=\"parameters\">Parameters</h3>\n<h4 id=\"query-parameters\">Query Parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Mandatory</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>max_results</code></td>\n<td>Integer</td>\n<td>No</td>\n<td>Maximum number of results to return per page. Example: <code>2</code>.</td>\n</tr>\n<tr>\n<td><code>page</code></td>\n<td>Integer</td>\n<td>No</td>\n<td>Specifies the page number to fetch. Default is <code>1</code>. Example: <code>1</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"sample-request\">Sample Request</h3>\n<h4 id=\"request-url\">Request URL</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET /api/v2/job_projects?max_results=2&amp;page=1\n\n</code></pre><hr />\n<h3 id=\"sample-response\">Sample Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"result\": [\n        {\n            \"id\": 1001,\n            \"name\": \"Construction for the new office\",\n            \"description\": \"Office expansion project\",\n            \"owner_id\": 4,\n            \"start_date\": \"2024-11-09\",\n            \"end_date\": \"2025-11-09\",\n            \"state\": \"active\",\n            \"budget_lines\": [\n                {\n                    \"id\": 2001,\n                    \"description\": \"Materials\",\n                    \"budgeted_amount\": \"5000\",\n                    \"start_date\": \"2024-11-09\",\n                    \"end_date\": \"2025-11-09\"\n                },\n                {\n                    \"id\": 2002,\n                    \"description\": \"Services\",\n                    \"budgeted_amount\": \"6000\",\n                    \"start_date\": \"2024-11-09\",\n                    \"end_date\": \"2025-11-09\"\n                }\n            ]\n        },\n        {\n            \"id\": 1002,\n            \"name\": \"Marketing Campaign 2024\",\n            \"description\": \"Annual marketing initiatives\",\n            \"owner_id\": 5,\n            \"start_date\": \"2024-01-01\",\n            \"end_date\": \"2024-12-31\",\n            \"state\": \"completed\",\n            \"budget_lines\": [\n                {\n                    \"id\": 3001,\n                    \"description\": \"Digital Ads\",\n                    \"budgeted_amount\": \"10000\",\n                    \"start_date\": \"2024-01-01\",\n                    \"end_date\": \"2024-12-31\"\n                }\n            ]\n        }\n    ],\n    \"pagination\": {\n        \"current_page\": 1,\n        \"max_results\": 2,\n        \"total_pages\": 5,\n        \"total_results\": 10\n    }\n}\n\n</code></pre>\n<hr />\n<h3 id=\"response-fields-explained\">Response Fields Explained</h3>\n<h4 id=\"root-fields\">Root Fields</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>success</code></td>\n<td>Boolean</td>\n<td>Indicates whether the request was successful.</td>\n</tr>\n<tr>\n<td><code>result</code></td>\n<td>Array</td>\n<td>List of job projects matching the query parameters.</td>\n</tr>\n<tr>\n<td><code>pagination</code></td>\n<td>Object</td>\n<td>Details about pagination for the current request.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"fields-in-result-array-item\">Fields in <code>result</code> (Array Item)</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>Integer</td>\n<td>Unique identifier for the job project. Example: <code>1001</code>.</td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td>String</td>\n<td>Name of the job project. Example: <code>\"Construction for the new office\"</code>.</td>\n</tr>\n<tr>\n<td><code>description</code></td>\n<td>String</td>\n<td>Description of the job project. Example: <code>\"Office expansion project\"</code>.</td>\n</tr>\n<tr>\n<td><code>owner_id</code></td>\n<td>Integer</td>\n<td>ID of the project owner. Example: <code>4</code>.</td>\n</tr>\n<tr>\n<td><code>start_date</code></td>\n<td>String</td>\n<td>Start date of the project. Example: <code>\"2024-11-09\"</code>.</td>\n</tr>\n<tr>\n<td><code>end_date</code></td>\n<td>String</td>\n<td>End date of the project. Example: <code>\"2025-11-09\"</code>.</td>\n</tr>\n<tr>\n<td><code>state</code></td>\n<td>String</td>\n<td>Current state of the project (e.g., <code>\"active\"</code>, <code>\"completed\"</code>).</td>\n</tr>\n<tr>\n<td><code>budget_lines</code></td>\n<td>Array</td>\n<td>List of associated budget lines for the project.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"fields-in-budget_lines-array-item\">Fields in <code>budget_lines</code> (Array Item)</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>Integer</td>\n<td>Unique identifier for the budget line. Example: <code>2001</code>.</td>\n</tr>\n<tr>\n<td><code>description</code></td>\n<td>String</td>\n<td>Description of the budget line. Example: <code>\"Materials\"</code>.</td>\n</tr>\n<tr>\n<td><code>budgeted_amount</code></td>\n<td>String</td>\n<td>Budgeted amount for the line. Example: <code>\"5000\"</code>.</td>\n</tr>\n<tr>\n<td><code>start_date</code></td>\n<td>String</td>\n<td>Start date for the budget line. Example: <code>\"2024-11-09\"</code>.</td>\n</tr>\n<tr>\n<td><code>end_date</code></td>\n<td>String</td>\n<td>End date for the budget line. Example: <code>\"2025-11-09\"</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"fields-in-pagination\">Fields in <code>pagination</code></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>current_page</code></td>\n<td>Integer</td>\n<td>Current page of results. Example: <code>1</code>.</td>\n</tr>\n<tr>\n<td><code>max_results</code></td>\n<td>Integer</td>\n<td>Maximum number of results per page. Example: <code>2</code>.</td>\n</tr>\n<tr>\n<td><code>total_pages</code></td>\n<td>Integer</td>\n<td>Total number of pages available. Example: <code>5</code>.</td>\n</tr>\n<tr>\n<td><code>total_results</code></td>\n<td>Integer</td>\n<td>Total number of job projects matching the query. Example: <code>10</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"notes\">Notes</h3>\n<ol>\n<li><p><strong>Query Parameters</strong>:</p>\n<ul>\n<li><p>Use <code>max_results</code> to control the number of job projects returned per page.</p>\n</li>\n<li><p>Use <code>page</code> to navigate through paginated results.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>Response Structure</strong>:</p>\n<ul>\n<li>Each job project includes detailed information such as name, owner, state, and associated budget lines.</li>\n</ul>\n</li>\n<li><p><strong>Error Handling</strong>:</p>\n<ul>\n<li>If no job projects match the query, an empty <code>result</code> array will be returned.</li>\n</ul>\n</li>\n<li><p><strong>Authorization</strong>:</p>\n<ul>\n<li>Only users with the appropriate permissions can access job projects</li>\n</ul>\n</li>\n</ol>\n","urlObject":{"protocol":"https","path":["api","v2","job_projects"],"host":["myprocuredesk","com"],"query":[{"key":"max_results","value":"2"}],"variable":[]}},"response":[],"_postman_id":"503e10ef-2ab5-43dd-84dd-be50aecb5677"}],"id":"7723d417-cca4-4edb-8f7d-76ca7447fdc6","description":"<h3 id=\"introduction-to-job-projects-api\">Introduction to Job Projects API</h3>\n<p>The <strong>Job Projects API</strong> is designed to manage and track projects within your organization. It allows users to create, update, retrieve, and manage detailed project information, including budgets, timelines, and ownership. This API is especially useful for organizations that need to oversee multiple projects, allocate budgets, and ensure alignment with business objectives.</p>\n<hr />\n<h3 id=\"key-features-of-the-job-projects-api\">Key Features of the Job Projects API:</h3>\n<ol>\n<li><p><strong>Project Creation</strong>:</p>\n<ul>\n<li>Easily create new job projects with detailed information, including names, descriptions, start and end dates, and owner assignments.</li>\n</ul>\n</li>\n<li><p><strong>Budget Allocation</strong>:</p>\n<ul>\n<li>Assign multiple budget lines to a project, specifying amounts, descriptions, and timelines for each budget line.</li>\n</ul>\n</li>\n<li><p><strong>Project Management</strong>:</p>\n<ul>\n<li>Update project details to reflect changes in scope, timelines, or budget allocations.</li>\n</ul>\n</li>\n<li><p><strong>Retrieve Project Details</strong>:</p>\n<ul>\n<li>Access detailed information about specific projects, including their associated budget lines and current statuses.</li>\n</ul>\n</li>\n<li><p><strong>List All Projects</strong>:</p>\n<ul>\n<li>Retrieve a paginated list of all projects, with support for filtering and pagination to manage large datasets effectively.</li>\n</ul>\n</li>\n</ol>\n","_postman_id":"7723d417-cca4-4edb-8f7d-76ca7447fdc6"},{"name":"Catalogs","item":[{"name":"Create","id":"d8c44859-efda-4f2e-b12e-51e609bc544a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n \"catalog\": {\n    \"name\": \"Supplies for new office\",\n    \"description\": \"Catalog for new supplies\",\n    \"status\": true,\n    \"is_sync\": false,\n    \"customer_catalog\": false\n }\n}","options":{"raw":{"language":"json"}}},"url":"https://myprocuredesk.com/api/v2/catalogs","description":"<h3 id=\"endpoint\">Endpoint</h3>\n<p><strong>Method</strong>: <code>POST</code><br /><strong>Endpoint</strong>: <code>/api/v2/catalogs</code></p>\n<hr />\n<h3 id=\"description\">Description</h3>\n<p>This endpoint is used to create a new catalog in the system. Catalogs are used to organize and manage items, making it easier to track and source them for procurement processes.</p>\n<hr />\n<h3 id=\"request-body-structure\">Request Body Structure</h3>\n<h4 id=\"root-object-catalog\">Root Object: <code>catalog</code></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Mandatory</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>String</td>\n<td>Yes</td>\n<td>Name of the catalog. Example: <code>\"Supplies for office\"</code>.</td>\n</tr>\n<tr>\n<td><code>description</code></td>\n<td>String</td>\n<td>Yes</td>\n<td>Description of the catalog. Example: <code>\"Catalog for supplies\"</code>.</td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td>Boolean</td>\n<td>Yes</td>\n<td>Indicates whether the catalog is active (<code>true</code>) or inactive (<code>false</code>).</td>\n</tr>\n<tr>\n<td><code>is_sync</code></td>\n<td>Boolean</td>\n<td>No</td>\n<td>Specifies if the catalog should sync with external systems. Default: <code>false</code>.</td>\n</tr>\n<tr>\n<td><code>customer_catalog</code></td>\n<td>Boolean</td>\n<td>No</td>\n<td>Indicates if the catalog is specific to the items that you sell to the customers instead of purchasing. Default: <code>false</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"sample-request\">Sample Request</h3>\n<h4 id=\"request-body\">Request Body</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n \"catalog\": {\n    \"name\": \"Supplies for office\",\n    \"description\": \"Catalog for supplies\",\n    \"status\": true,\n    \"is_sync\": false,\n    \"customer_catalog\": false\n }\n}\n\n</code></pre>\n<hr />\n<h3 id=\"sample-response\">Sample Response</h3>\n<h4 id=\"successful-response\">Successful Response</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"status\": true,\n    \"catalog_id\": 2134\n}\n\n</code></pre>\n<hr />\n<h3 id=\"response-fields-explained\">Response Fields Explained</h3>\n<h4 id=\"root-fields\">Root Fields</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>status</code></td>\n<td>Boolean</td>\n<td>Indicates whether the catalog creation was successful.</td>\n</tr>\n<tr>\n<td><code>catalog_id</code></td>\n<td>Integer</td>\n<td>Unique identifier for the newly created catalog. Example: <code>2134</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"notes\">Notes</h3>\n<ol>\n<li><p><strong>Validation</strong>:</p>\n<ul>\n<li><p>The <code>name</code> and <code>description</code> fields are mandatory and must be unique across catalogs.</p>\n</li>\n<li><p>The <code>status</code> field determines whether the catalog will be immediately active.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>Optional Fields</strong>:</p>\n<ul>\n<li>If <code>is_sync</code> is set to <code>true</code>, ensure the system is configured to handle external synchronization.</li>\n</ul>\n</li>\n<li><p><strong>Error Handling</strong>:</p>\n<ul>\n<li><p>Missing mandatory fields will result in a validation error response.</p>\n</li>\n<li><p>If the catalog name already exists, the API will return an error.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>Authorization</strong>:</p>\n<ul>\n<li>Only users with the appropriate permissions can create new catalogs.</li>\n</ul>\n</li>\n</ol>\n","urlObject":{"protocol":"https","path":["api","v2","catalogs"],"host":["myprocuredesk","com"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[],"_postman_id":"d8c44859-efda-4f2e-b12e-51e609bc544a"},{"name":"Update - Pending","id":"0620f046-dae9-4ef6-8d2b-87657a1f5358","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n \"catalog\": {\n    \"name\": \"Supplies for new office\",\n    \"description\": \"Catalog for new supplies - updated description\",\n    \"status\": true,\n    \"is_sync\": false,\n    \"customer_catalog\": false\n }\n}","options":{"raw":{"language":"json"}}},"url":"https://myprocuredesk.com/api/v2/catalogs/2134","description":"<p>⚠<strong>This endpoint is currently not available in this version.</strong></p>\n","urlObject":{"protocol":"https","path":["api","v2","catalogs","2134"],"host":["myprocuredesk","com"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[],"_postman_id":"0620f046-dae9-4ef6-8d2b-87657a1f5358"},{"name":"Delete - Pending","id":"561da8f4-f3ca-4bee-ab97-39a3315a3f4b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://myprocuredesk.com/api/v2/catalogs","description":"<p>⚠<strong>This endpoint is currently not available in this version.</strong></p>\n","urlObject":{"protocol":"https","path":["api","v2","catalogs"],"host":["myprocuredesk","com"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[],"_postman_id":"561da8f4-f3ca-4bee-ab97-39a3315a3f4b"},{"name":"Read All","id":"ab4f5aa6-dc12-4f10-8665-43cb0666b13e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://myprocuredesk.com/api/v2/catalogs","description":"<h3 id=\"endpoint\">Endpoint</h3>\n<p><strong>Method</strong>: <code>GET</code><br /><strong>Endpoint</strong>: <code>/api/v2/catalogs</code></p>\n<hr />\n<h3 id=\"description\">Description</h3>\n<p>This endpoint retrieves a paginated list of all catalogs available in the system. It provides detailed information about each catalog, including its name, description, status, and creation date.</p>\n<hr />\n<h3 id=\"parameters\">Parameters</h3>\n<h4 id=\"query-parameters\">Query Parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Mandatory</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>max_results</code></td>\n<td>Integer</td>\n<td>No</td>\n<td>Maximum number of results to return per page. Example: <code>2</code>.</td>\n</tr>\n<tr>\n<td><code>page</code></td>\n<td>Integer</td>\n<td>No</td>\n<td>Specifies the page number to fetch. Default is <code>1</code>. Example: <code>1</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"sample-request\">Sample Request</h3>\n<h4 id=\"request-url\">Request URL</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET /api/v2/catalogs?max_results=2&amp;page=1\n\n</code></pre><hr />\n<h3 id=\"sample-response\">Sample Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>[\n    {\n        \"id\": 2134,\n        \"company_id\": 1,\n        \"name\": \"Supplies for new office\",\n        \"description\": \"Catalog for new supplies\",\n        \"status\": true,\n        \"created_at\": \"2024-11-16T16:25:38.590Z\",\n        \"customer_catalog\": false,\n        \"is_sync\": false,\n        \"business_unit_id\": 1\n    },\n    {\n        \"id\": 2113,\n        \"company_id\": 1,\n        \"name\": \"Supplies for office\",\n        \"description\": \"Catalog for supplies\",\n        \"status\": true,\n        \"created_at\": \"2024-11-09T16:16:23.238Z\",\n        \"customer_catalog\": false,\n        \"is_sync\": false,\n        \"business_unit_id\": 1\n    }\n]\n\n</code></pre><hr />\n<h3 id=\"response-fields-explained\">Response Fields Explained</h3>\n<h4 id=\"root-fields\">Root Fields</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>Integer</td>\n<td>Unique identifier for the catalog. Example: <code>2134</code>.</td>\n</tr>\n<tr>\n<td><code>company_id</code></td>\n<td>Integer</td>\n<td>Identifier for the company associated with the catalog. Example: <code>1</code>.</td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td>String</td>\n<td>Name of the catalog. Example: <code>\"Supplies for new office\"</code>.</td>\n</tr>\n<tr>\n<td><code>description</code></td>\n<td>String</td>\n<td>Description of the catalog. Example: <code>\"Catalog for new supplies\"</code>.</td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td>Boolean</td>\n<td>Indicates whether the catalog is active (<code>true</code>) or inactive (<code>false</code>).</td>\n</tr>\n<tr>\n<td><code>created_at</code></td>\n<td>String</td>\n<td>Timestamp when the catalog was created. Example: <code>\"2024-11-16T16:25:38.590Z\"</code>.</td>\n</tr>\n<tr>\n<td><code>customer_catalog</code></td>\n<td>Boolean</td>\n<td>Indicates if the catalog is customer-specific. Example: <code>false</code>.</td>\n</tr>\n<tr>\n<td><code>is_sync</code></td>\n<td>Boolean</td>\n<td>Indicates whether the catalog is synchronized with external systems.</td>\n</tr>\n<tr>\n<td><code>business_unit_id</code></td>\n<td>Integer</td>\n<td>ID of the business unit associated with the catalog. Example: <code>1</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"notes\">Notes</h3>\n<ol>\n<li><p><strong>Query Parameters</strong>:</p>\n<ul>\n<li><p>Use <code>max_results</code> to control the number of catalogs returned per page.</p>\n</li>\n<li><p>Use <code>page</code> to navigate through paginated results.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>Response Structure</strong>:</p>\n<ul>\n<li>Each catalog includes key details such as name, description, status, and whether it is customer-specific or synchronized with external systems.</li>\n</ul>\n</li>\n<li><p><strong>Error Handling</strong>:</p>\n<ul>\n<li>If no catalogs are available or the query parameters are invalid, an empty array will be returned.</li>\n</ul>\n</li>\n<li><p><strong>Authorization</strong>:</p>\n<ul>\n<li>Only users with the appropriate permissions can access catalog information.</li>\n</ul>\n</li>\n</ol>\n","urlObject":{"protocol":"https","path":["api","v2","catalogs"],"host":["myprocuredesk","com"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[],"_postman_id":"ab4f5aa6-dc12-4f10-8665-43cb0666b13e"}],"id":"e0169f03-7dfe-46b0-be65-de8f75eed719","description":"<p>Catalogs serve as a centralized repository for organizing and managing items within the procurement system. They provide an easy way to group related products, services, or resources, ensuring a streamlined and efficient sourcing process. By leveraging catalogs, businesses can standardize their procurement activities, maintain consistency, and simplify the purchasing experience for users.</p>\n","_postman_id":"e0169f03-7dfe-46b0-be65-de8f75eed719"},{"name":"Catalog Lines","item":[{"name":"Get Items by Catalog","id":"2de086f8-ed90-40bb-bba8-c189fd14a366","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://myprocuredesk.com/api/v2/catalogs/2113/items_by_catalog","description":"<h3 id=\"endpoint\">Endpoint</h3>\n<p><strong>Method</strong>: <code>GET</code><br /><strong>Endpoint</strong>: <code>/api/v2/catalogs/{catalog_id}/items_by_catalog</code></p>\n<hr />\n<h3 id=\"description\">Description</h3>\n<p>This endpoint retrieves a list of items within a specified catalog. It provides detailed information about each item, including pricing, description, supplier information, and inventory details.</p>\n<hr />\n<h3 id=\"parameters\">Parameters</h3>\n<h4 id=\"url-parameters\">URL Parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Mandatory</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>catalog_id</code></td>\n<td>Integer</td>\n<td>Yes</td>\n<td>The unique identifier of the catalog whose items are to be retrieved. Example: <code>2113</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"sample-request\">Sample Request</h3>\n<h4 id=\"request-url\">Request URL</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET /api/v2/catalogs/2113/items_by_catalog\n\n</code></pre><hr />\n<h3 id=\"sample-response\">Sample Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"result\": [\n        {\n            \"id\": 680741,\n            \"catalog_id\": 2113,\n            \"item_no\": \"456\",\n            \"item_name\": \"Laptop1\",\n            \"item_description\": \"Laptop for the main office 20GB RAM\",\n            \"supplier_id\": 746,\n            \"price\": \"53.0\",\n            \"account_name\": \"Office Supplies\",\n            \"status\": true,\n            \"preferred_item\": true,\n            \"uom_master_id\": 1,\n            \"created_at\": \"2024-11-13T01:27:06.242Z\",\n            \"updated_at\": \"2024-11-13T01:27:06.242Z\"\n        },\n        {\n            \"id\": 677815,\n            \"catalog_id\": 2113,\n            \"item_no\": \"123\",\n            \"item_name\": \"Laptop1\",\n            \"item_description\": \"Laptop for the main office 20GB RAM\",\n            \"supplier_id\": null,\n            \"price\": null,\n            \"account_name\": \"Office Supplies\",\n            \"status\": true,\n            \"preferred_item\": true,\n            \"uom_master_id\": 1,\n            \"created_at\": \"2024-11-09T21:59:05.069Z\",\n            \"updated_at\": \"2024-11-09T22:00:00.324Z\"\n        }\n    ]\n}\n\n</code></pre>\n<hr />\n<h3 id=\"response-fields-explained\">Response Fields Explained</h3>\n<h4 id=\"root-fields\">Root Fields</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>success</code></td>\n<td>Boolean</td>\n<td>Indicates whether the request was successful.</td>\n</tr>\n<tr>\n<td><code>result</code></td>\n<td>Array</td>\n<td>List of items in the catalog. Each item contains detailed information.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"fields-in-result-array-item\">Fields in <code>result</code> (Array Item)</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>Integer</td>\n<td>Unique identifier for the item. Example: <code>680741</code>.</td>\n</tr>\n<tr>\n<td><code>catalog_id</code></td>\n<td>Integer</td>\n<td>The ID of the catalog this item belongs to. Example: <code>2113</code>.</td>\n</tr>\n<tr>\n<td><code>item_no</code></td>\n<td>String</td>\n<td>Unique item number. Example: <code>\"456\"</code>.</td>\n</tr>\n<tr>\n<td><code>item_name</code></td>\n<td>String</td>\n<td>Name of the item. Example: <code>\"Laptop1\"</code>.</td>\n</tr>\n<tr>\n<td><code>item_description</code></td>\n<td>String</td>\n<td>Description of the item. Example: <code>\"Laptop for the main office 20GB RAM\"</code>.</td>\n</tr>\n<tr>\n<td><code>supplier_id or supplier name</code></td>\n<td>Integer</td>\n<td>ID of the supplier associated with the item. Example: <code>746</code>.</td>\n</tr>\n<tr>\n<td><code>price</code></td>\n<td>String</td>\n<td>The price of the item. Example: <code>\"53.0\"</code>.</td>\n</tr>\n<tr>\n<td><code>account_name</code></td>\n<td>String</td>\n<td>The account associated with the item. Example: <code>\"Office Supplies\"</code>.</td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td>Boolean</td>\n<td>Indicates if the item is active (<code>true</code>) or inactive (<code>false</code>).</td>\n</tr>\n<tr>\n<td><code>preferred_item</code></td>\n<td>Boolean</td>\n<td>Indicates whether the item is marked as preferred (<code>true</code>).</td>\n</tr>\n<tr>\n<td><code>uom_master_id</code></td>\n<td>Integer</td>\n<td>Unit of measure identifier for the item. Example: <code>1</code>.</td>\n</tr>\n<tr>\n<td><code>created_at</code></td>\n<td>String</td>\n<td>Timestamp when the item was created. Example: <code>\"2024-11-13T01:27:06.242Z\"</code>.</td>\n</tr>\n<tr>\n<td><code>updated_at</code></td>\n<td>String</td>\n<td>Timestamp when the item was last updated. Example: <code>\"2024-11-13T01:27:06.242Z\"</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"notes\">Notes</h3>\n<ol>\n<li><p><strong>Filtering and Sorting</strong>:</p>\n<ul>\n<li>The response can include active or inactive items based on the <code>status</code> field.</li>\n</ul>\n</li>\n<li><p><strong>Error Handling</strong>:</p>\n<ul>\n<li>If the specified <code>catalog_id</code> does not exist, the API will return an error message.</li>\n</ul>\n</li>\n<li><p><strong>Usage</strong>:</p>\n<ul>\n<li>Use this endpoint to retrieve all items within a catalog for sourcing, analysis, or procurement workflows.</li>\n</ul>\n</li>\n</ol>\n","urlObject":{"protocol":"https","path":["api","v2","catalogs","2113","items_by_catalog"],"host":["myprocuredesk","com"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[],"_postman_id":"2de086f8-ed90-40bb-bba8-c189fd14a366"},{"name":"Create-Items","id":"4f5a2625-23e9-4773-8d67-0d71a2bfa700","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"line_item\": {\n    \"item_no\": \"0071-009\",\n    \"item_name\": \"Test-0900\",\n    \"item_description\": \"Tester\",\n    \"mfr_name\": \"abc2\",\n    \"mfr_no\": \"xyz\",\n    \"category_id\": \"314\",\n    \"hierarchy_value_id\": \"448\",\n    \"uom_master_id\": \"598\",\n    \"item_type\": \"non_inventory\",\n    \"moq\": 12,\n    \"vendor_items_attributes\": [\n    {\n      \"supplier_name\": \"GBP - TEST6868\",\n      \"supplier_item_no\": \"11221\",\n      \"list_price\": 510,\n      \"preferred\": true\n    },\n    {\n      \"supplier_name\": \"FRIZZIE Corp (DTS)\",\n      \"supplier_item_no\": \"111221\",\n      \"list_price\": 5110,\n      \"preferred\": false\n    }\n    ],\n    \"class_master_id\": \"88\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"POST/api​/v2​/catalogs​/{catalog_id}​/line_items","description":"<h3 id=\"api-endpoint\"><strong>API Endpoint</strong>:</h3>\n<p><code>POST /api/line_item</code></p>\n<h2 id=\"description\">Description:</h2>\n<p>This API is used to <strong>create a new line item</strong> in the system, which typically represents an individual product or service that will be managed within an inventory or procurement system.</p>\n<h3 id=\"request-headers\"><strong>Request Headers</strong>:</h3>\n<ul>\n<li><p><code>Content-Type: application/json</code></p>\n</li>\n<li><p><code>Authorization: Bearer</code> (if authentication is required)</p>\n</li>\n</ul>\n<h3 id=\"request-body\"><strong>Request Body</strong>:</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-bash\">{\n  \"line_item\": {\n    \"item_no\": \"0071-009\",\n    \"item_name\": \"Test-0900\",\n    \"item_description\": \"Tester\",\n    \"mfr_name\": \"abc2\",\n    \"mfr_no\": \"xyz\",\n    \"category_id\": \"314\",\n    \"hierarchy_value_id\": \"448\",\n    \"uom_master_id\": \"598\",\n    \"item_type\": \"non_inventory\",\n    \"moq\": 12,\n    \"vendor_items_attributes\": [\n      {\n        \"supplier_name\": \"GBP - TEST6868\",\n        \"supplier_item_no\": \"11221\",\n        \"list_price\": 510,\n        \"preferred\": true\n      },\n      {\n        \"supplier_name\": \"FRIZZIE Corp (DTS)\",\n        \"supplier_item_no\": \"111221\",\n        \"list_price\": 5110,\n        \"preferred\": false\n      }\n    ],\n    \"class_master_id\": \"88\"\n  }\n}\n\n</code></pre>\n<h3 id=\"explaination\"><strong>Explaination</strong>:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>item_no</strong></td>\n<td>A unique identifier for the line item (e.g., \"0071-009\").</td>\n</tr>\n<tr>\n<td><strong>item_name</strong></td>\n<td>The name of the item (e.g., \"Test-0900\").</td>\n</tr>\n<tr>\n<td><strong>item_description</strong></td>\n<td>A brief description of the item (e.g., \"Tester\").</td>\n</tr>\n<tr>\n<td><strong>mfr_name</strong></td>\n<td>The name of the manufacturer of the item (e.g., \"abc2\").</td>\n</tr>\n<tr>\n<td><strong>mfr_no</strong></td>\n<td>The manufacturer's identifier number (e.g., \"xyz\").</td>\n</tr>\n<tr>\n<td><strong>category_id</strong></td>\n<td>The ID representing the category to which the item belongs (e.g., \"314\").</td>\n</tr>\n<tr>\n<td><strong>hierarchy_value_id</strong></td>\n<td>This is account and we need to post a account id here</td>\n</tr>\n<tr>\n<td><strong>uom_master_id</strong></td>\n<td>The unit of measurement ID for the item (e.g., \"598\").</td>\n</tr>\n<tr>\n<td><strong>item_type</strong></td>\n<td>The type of item, e.g., \"non_inventory\", indicating that this item is not part of inventory management.</td>\n</tr>\n<tr>\n<td><strong>moq (Minimum Order Quantity)</strong></td>\n<td>The minimum number of items that can be ordered (e.g., 12).</td>\n</tr>\n<tr>\n<td><strong>class_master_id</strong></td>\n<td>The ID associated with the classification or grouping of the item (e.g., \"88\").</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"vendor-items\"><strong>Vendor Items</strong>:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Explanation</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>id</strong></td>\n<td>Unique identifier for the vendor item (e.g., 30618).</td>\n</tr>\n<tr>\n<td><strong>line_item_id</strong></td>\n<td>The ID of the line item associated with this vendor item (e.g., 30774).</td>\n</tr>\n<tr>\n<td><strong>supplier_id</strong></td>\n<td>The ID of the supplier providing this item (e.g., 16318).</td>\n</tr>\n<tr>\n<td><strong>list_price</strong></td>\n<td>The price the supplier has listed for this item (e.g., \"510.0\").</td>\n</tr>\n<tr>\n<td><strong>supplier_item_no</strong></td>\n<td>The item number assigned by the supplier (e.g., \"11221\").</td>\n</tr>\n<tr>\n<td><strong>preferred</strong></td>\n<td>Indicates whether this supplier is preferred for the item (true = preferred).</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response\"><strong>Response</strong>:</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"result\": {\n        \"id\": 30774,\n        \"catalog_id\": 162,\n        \"item_no\": \"0071-009\",\n        \"item_name\": \"james bond1-0900\",\n        \"item_description\": \"james bond indian1\",\n        \"supplier_id\": 16318,\n        \"supplier_item_no\": null,\n        \"mfr_name\": \"abc2\",\n        \"mfr_no\": \"xyz\",\n        \"list_price\": \"0.0\",\n        \"price\": \"510.0\",\n        \"lead_time\": null,\n        \"item_type\": \"non_inventory\",\n        \"moq\": \"12\",\n        \"image_url\": null,\n        \"category_id\": 314,\n        \"account_name\": \"JOM\",\n        \"account_id\": 448,\n        \"unspsc_id\": null,\n        \"status\": true,\n        \"preferred_item\": true,\n        \"created_at\": \"2025-02-18T06:45:17.864Z\",\n        \"updated_at\": \"2025-02-18T06:45:17.864Z\",\n        \"uom_master_id\": 598,\n        \"hierarchy_value_id\": 448,\n        \"markup_percentage\": \"0.0\",\n        \"product_bundle_id\": null,\n        \"parent_item\": false,\n        \"total_price\": \"0.0\",\n        \"txn_id\": null,\n        \"sync_token\": 0,\n        \"class_master_id\": 88,\n        \"item_status\": true,\n        \"is_sell\": false,\n        \"sales_description\": null,\n        \"sales_price\": \"0.0\",\n        \"income_account_id\": null,\n        \"inventory_location\": null,\n        \"vendor_items\": [\n            {\n                \"id\": 30618,\n                \"line_item_id\": 30774,\n                \"supplier_id\": 16318,\n                \"list_price\": \"510.0\",\n                \"supplier_item_no\": \"11221\",\n                \"preferred\": true\n            },\n            {\n                \"id\": 30619,\n                \"line_item_id\": 30774,\n                \"supplier_id\": 570,\n                \"list_price\": \"5110.0\",\n                \"supplier_item_no\": \"111221\",\n                \"preferred\": false\n            }\n        ]\n    }\n}\n\n</code></pre>\n<p>Explaination :  </p>\n<p>Here's an explanation of the data in table format:</p>\n<h3 id=\"main-item-details\"><strong>Main Item Details</strong>:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Explanation</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>id</strong></td>\n<td>Unique identifier for the line item (e.g., 30774).</td>\n</tr>\n<tr>\n<td><strong>catalog_id</strong></td>\n<td>The ID of the catalog where the item belongs (e.g., 162).</td>\n</tr>\n<tr>\n<td><strong>item_no</strong></td>\n<td>The unique item number assigned to the product (e.g., \"0071-009\").</td>\n</tr>\n<tr>\n<td><strong>item_name</strong></td>\n<td>The name of the item (e.g., \"james bond1-0900\").</td>\n</tr>\n<tr>\n<td><strong>item_description</strong></td>\n<td>A brief description of the item (e.g., \"james bond indian1\").</td>\n</tr>\n<tr>\n<td><strong>supplier_id</strong></td>\n<td>The ID of the supplier for this item (e.g., 16318).</td>\n</tr>\n<tr>\n<td><strong>supplier_item_no</strong></td>\n<td>The supplier’s item number (null in this case).</td>\n</tr>\n<tr>\n<td><strong>mfr_name</strong></td>\n<td>The name of the manufacturer of the item (e.g., \"abc2\").</td>\n</tr>\n<tr>\n<td><strong>mfr_no</strong></td>\n<td>The manufacturer’s identification number (e.g., \"xyz\").</td>\n</tr>\n<tr>\n<td><strong>list_price</strong></td>\n<td>The list price of the item (e.g., 0.0, which could indicate no price is set).</td>\n</tr>\n<tr>\n<td><strong>price</strong></td>\n<td>The actual price of the item (e.g., 510.0).</td>\n</tr>\n<tr>\n<td><strong>lead_time</strong></td>\n<td>The lead time for the item to be available (null in this case, meaning no value is set).</td>\n</tr>\n<tr>\n<td><strong>item_type</strong></td>\n<td>Type of item, in this case, \"non_inventory,\" meaning it's not part of inventory management.</td>\n</tr>\n<tr>\n<td><strong>moq (Minimum Order Quantity)</strong></td>\n<td>The minimum order quantity for the item (e.g., 12).</td>\n</tr>\n<tr>\n<td><strong>image_url</strong></td>\n<td>URL of the image associated with the item (null in this case).</td>\n</tr>\n<tr>\n<td><strong>category_id</strong></td>\n<td>The ID of the category to which the item belongs (e.g., 314).</td>\n</tr>\n<tr>\n<td><strong>account_name</strong></td>\n<td>The name of the account associated with the item (e.g., \"JOM\").</td>\n</tr>\n<tr>\n<td><strong>account_id</strong></td>\n<td>The ID of the account associated with the item (e.g., 448).</td>\n</tr>\n<tr>\n<td><strong>unspsc_id</strong></td>\n<td>The UNSPSC (United Nations Standard Products and Services Code) ID, used for classifying products (null).</td>\n</tr>\n<tr>\n<td><strong>status</strong></td>\n<td>The status of the item, indicating whether it is active or not (true = active).</td>\n</tr>\n<tr>\n<td><strong>preferred_item</strong></td>\n<td>Indicates whether this item is preferred (true = preferred).</td>\n</tr>\n<tr>\n<td><strong>created_at</strong></td>\n<td>The date and time when the item was created in the system (e.g., 2025-02-18T06:45:17.864Z).</td>\n</tr>\n<tr>\n<td><strong>updated_at</strong></td>\n<td>The date and time when the item was last updated (e.g., 2025-02-18T06:45:17.864Z).</td>\n</tr>\n<tr>\n<td><strong>uom_master_id</strong></td>\n<td>ID for the unit of measurement for the item (e.g., 598).</td>\n</tr>\n<tr>\n<td><strong>hierarchy_value_id</strong></td>\n<td>ID related to the hierarchy in the system for categorization (e.g., 448).</td>\n</tr>\n<tr>\n<td><strong>markup_percentage</strong></td>\n<td>Percentage markup applied to the item (e.g., 0.0).</td>\n</tr>\n<tr>\n<td><strong>product_bundle_id</strong></td>\n<td>ID for a product bundle, if the item is part of one (null, meaning it is not part of a bundle).</td>\n</tr>\n<tr>\n<td><strong>parent_item</strong></td>\n<td>Whether the item is a parent item in a bundle or set (false means it is not a parent item).</td>\n</tr>\n<tr>\n<td><strong>total_price</strong></td>\n<td>The total price for the item, often used to calculate pricing across multiple units (e.g., 0.0).</td>\n</tr>\n<tr>\n<td><strong>txn_id</strong></td>\n<td>Transaction ID associated with the item (null, indicating no transaction ID).</td>\n</tr>\n<tr>\n<td><strong>sync_token</strong></td>\n<td>A synchronization token for managing concurrent updates (e.g., 0).</td>\n</tr>\n<tr>\n<td><strong>class_master_id</strong></td>\n<td>ID for the classification of the item in the system (e.g., 88).</td>\n</tr>\n<tr>\n<td><strong>item_status</strong></td>\n<td>The status of the item, indicating if it is active (true = active).</td>\n</tr>\n<tr>\n<td><strong>is_sell</strong></td>\n<td>Indicates whether the item is for sale (false means it is not available for sale).</td>\n</tr>\n<tr>\n<td><strong>sales_description</strong></td>\n<td>A description related to sales (null, meaning no sales description is provided).</td>\n</tr>\n<tr>\n<td><strong>sales_price</strong></td>\n<td>Price used for sales purposes (e.g., 0.0).</td>\n</tr>\n<tr>\n<td><strong>income_account_id</strong></td>\n<td>Income account ID associated with the item (null, meaning it is not assigned to an income account).</td>\n</tr>\n<tr>\n<td><strong>inventory_location</strong></td>\n<td>The location of the item in the inventory system (null, meaning no specific location).</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"vendor-items-1\"><strong>Vendor Items</strong>:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Explanation</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>id</strong></td>\n<td>Unique identifier for the vendor item (e.g., 30618).</td>\n</tr>\n<tr>\n<td><strong>line_item_id</strong></td>\n<td>The ID of the line item associated with this vendor item (e.g., 30774).</td>\n</tr>\n<tr>\n<td><strong>supplier_id</strong></td>\n<td>The ID of the supplier providing this item (e.g., 16318).</td>\n</tr>\n<tr>\n<td><strong>list_price</strong></td>\n<td>The price the supplier has listed for this item (e.g., \"510.0\").</td>\n</tr>\n<tr>\n<td><strong>supplier_item_no</strong></td>\n<td>The item number assigned by the supplier (e.g., \"11221\").</td>\n</tr>\n<tr>\n<td><strong>preferred</strong></td>\n<td>Indicates whether this supplier is preferred for the item (true = preferred).</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"path":["api​","v2​","catalogs​","{catalog_id}​","line_items"],"host":["POST"],"query":[],"variable":[]}},"response":[],"_postman_id":"4f5a2625-23e9-4773-8d67-0d71a2bfa700"},{"name":"Update-item","id":"2da2ba16-b9f7-45a6-9c27-ded4708b5399","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"line_item\": {\n    \"item_no\": \"8899-121\",\n    \"item_name\": \"West Coast P--new-2323\",\n    \"item_description\": \"Supplier Name 69-1112\",\n    \"mfr_name\": \"abc2\",\n    \"mfr_number\": \"xyz\",\n    \"category_id\": \"314\",\n    \"account_name\": \"JOM\",\n    \"uom_master_id\": \"598\",\n    \"item_type\": \"non_inventory\",\n    \"moq\": 12,\n\"vendor_items_attributes\": [\n    {\n      \"id\": 30583,\n      \"supplier_name\": \"GBP - TEST6868\",\n      \"supplier_item_no\": \"11221\",\n      \"list_price\": 510,\n      \"preferred\": true\n    },\n    {\n      \"id\": 30584,\n      \"supplier_name\": \"FRIZZIE Corp (DTS)\",\n      \"supplier_item_no\": \"111221\",\n      \"list_price\": 5110,\n      \"preferred\": false\n    }\n    ],\n    \"class_master_id\": \"88\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://myprocuredesk.com//api​/v2​/catalogs​/{catalog_id}​/line_items​/{id}","description":"<h3 id=\"end-pointv2catalogscatalog_idline_itemsid\">End point:v2​/catalogs​/{catalog_id}​/line_items​/{id}</h3>\n<p>This API allows you to <strong>update</strong> the details of an existing line item, including its attributes (like item name, description, vendor details, etc.).</p>\n<h4 id=\"request-body\"><strong>Request Body</strong>:</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"line_item\": {\n    \"item_no\": \"8899-121\",\n    \"item_name\": \"West Coast P--new-2323\",\n    \"item_description\": \"Supplier Name 69-1112\",\n    \"mfr_name\": \"abc2\",\n    \"mfr_number\": \"xyz\",\n    \"category_id\": \"314\",\n    \"account_name\": \"JOM\",\n    \"uom_master_id\": \"598\",\n    \"item_type\": \"non_inventory\",\n    \"moq\": 12,\n    \"vendor_items_attributes\": [\n      {\n        \"id\": 30583,\n        \"supplier_name\": \"GBP - TEST6868\",\n        \"supplier_item_no\": \"11221\",\n        \"list_price\": 510,\n        \"preferred\": true\n      },\n      {\n        \"id\": 30584,\n        \"supplier_name\": \"FRIZZIE Corp (DTS)\",\n        \"supplier_item_no\": \"111221\",\n        \"list_price\": 5110,\n        \"preferred\": false\n      }\n    ],\n    \"class_master_id\": \"88\"\n  }\n}\n\n</code></pre>\n<h4 id=\"request-fields\"><strong>Request Fields</strong>:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>item_no</strong></td>\n<td>String</td>\n<td>Unique item number (e.g., \"8899-121\").</td>\n</tr>\n<tr>\n<td><strong>item_name</strong></td>\n<td>String</td>\n<td>Name of the item (e.g., \"West Coast P--new-2323\").</td>\n</tr>\n<tr>\n<td><strong>item_description</strong></td>\n<td>String</td>\n<td>Description of the item (e.g., \"Supplier Name 69-1112\").</td>\n</tr>\n<tr>\n<td><strong>mfr_name</strong></td>\n<td>String</td>\n<td>Manufacturer name (e.g., \"abc2\").</td>\n</tr>\n<tr>\n<td><strong>mfr_number</strong></td>\n<td>String</td>\n<td>Manufacturer number (e.g., \"xyz\").</td>\n</tr>\n<tr>\n<td><strong>category_id</strong></td>\n<td>String</td>\n<td>Category ID the item belongs to (e.g., \"314\").</td>\n</tr>\n<tr>\n<td><strong>account_name</strong></td>\n<td>String</td>\n<td>Account name associated with the item (e.g., \"JOM\").</td>\n</tr>\n<tr>\n<td><strong>uom_master_id</strong></td>\n<td>String</td>\n<td>ID for unit of measurement (e.g., \"598\").</td>\n</tr>\n<tr>\n<td><strong>item_type</strong></td>\n<td>String</td>\n<td>Type of the item (e.g., \"non_inventory\").</td>\n</tr>\n<tr>\n<td><strong>moq</strong></td>\n<td>Integer</td>\n<td>Minimum order quantity (e.g., 12).</td>\n</tr>\n<tr>\n<td><strong>vendor_items_attributes</strong></td>\n<td>Array of Objects</td>\n<td>List of vendor details for the item (see below).</td>\n</tr>\n<tr>\n<td><strong>class_master_id</strong></td>\n<td>String</td>\n<td>Class ID for the item (e.g., \"88\").</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"vendor_items_attributes-fields\"><strong>vendor_items_attributes Fields</strong>:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Explanation</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>id</strong></td>\n<td><strong>30584</strong>: The unique identifier for this vendor item.</td>\n</tr>\n<tr>\n<td><strong>line_item_id</strong></td>\n<td><strong>30747</strong>: The ID of the associated line item in the inventory or catalog.</td>\n</tr>\n<tr>\n<td><strong>supplier_id</strong></td>\n<td><strong>570</strong>: The unique identifier for the supplier providing this item.</td>\n</tr>\n<tr>\n<td><strong>list_price</strong></td>\n<td><strong>5110.0</strong>: The list price of the item as provided by the supplier.</td>\n</tr>\n<tr>\n<td><strong>supplier_item_no</strong></td>\n<td><strong>111221</strong>: The item number assigned by the supplier to this product.</td>\n</tr>\n<tr>\n<td><strong>preferred</strong></td>\n<td><strong>false</strong>: Indicates whether this supplier is preferred for this item (false means it is not preferred).</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"explanation\">Explanation:</h3>\n<ul>\n<li><p>This record represents a specific vendor item with its details, such as the supplier's ID, item number, pricing, and whether the supplier is preferred.</p>\n</li>\n<li><p>The <code>line_item_id</code> links this vendor item to a specific line item in the catalog or inventory system.</p>\n</li>\n<li><p>The <code>preferred</code> field indicates whether the supplier is the preferred choice for this particular item, and in this case, it is marked as <code>false</code>, meaning it is not preferred.</p>\n</li>\n</ul>\n<h4 id=\"request\"><strong>Request</strong>:</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>{\n  \"line_item\": {\n    \"item_no\": \"8899-121\",\n    \"item_name\": \"West Coast P--new-2323\",\n    \"item_description\": \"Supplier Name 69-1112\",\n    \"mfr_name\": \"abc2\",\n    \"mfr_number\": \"xyz\",\n    \"category_id\": \"314\",\n    \"account_name\": \"JOM\",\n    \"uom_master_id\": \"598\",\n    \"item_type\": \"non_inventory\",\n    \"moq\": 12,\n    \"vendor_items_attributes\": [\n      {\n        \"id\": 30583,\n        \"supplier_name\": \"GBP - TEST6868\",\n        \"supplier_item_no\": \"11221\",\n        \"list_price\": 510,\n        \"preferred\": true\n      },\n      {\n        \"id\": 30584,\n        \"supplier_name\": \"FRIZZIE Corp (DTS)\",\n        \"supplier_item_no\": \"111221\",\n        \"list_price\": 5110,\n        \"preferred\": false\n      }\n    ],\n    \"class_master_id\": \"88\"\n  }\n}\n\n</code></pre><h4 id=\"response\"><strong>Response</strong>:</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>success</strong></td>\n<td>Boolean</td>\n<td>Indicates whether the request was successful (true/false).</td>\n</tr>\n<tr>\n<td><strong>result</strong></td>\n<td>Object</td>\n<td>Contains the result of the operation, including the created line item details.</td>\n</tr>\n<tr>\n<td><strong>id</strong></td>\n<td>Integer</td>\n<td>ID of the newly created line item (e.g., 30774).</td>\n</tr>\n<tr>\n<td><strong>catalog_id</strong></td>\n<td>Integer</td>\n<td>ID of the catalog where the item belongs.</td>\n</tr>\n<tr>\n<td><strong>item_no</strong></td>\n<td>String</td>\n<td>The unique item number (e.g., \"8899-121\").</td>\n</tr>\n<tr>\n<td><strong>item_name</strong></td>\n<td>String</td>\n<td>The name of the item (e.g., \"West Coast P--new-2323\").</td>\n</tr>\n<tr>\n<td><strong>item_description</strong></td>\n<td>String</td>\n<td>Description of the item (e.g., \"Supplier Name 69-1112\").</td>\n</tr>\n<tr>\n<td><strong>supplier_id</strong></td>\n<td>Integer</td>\n<td>ID of the supplier (e.g., 16318).</td>\n</tr>\n<tr>\n<td><strong>supplier_item_no</strong></td>\n<td>String</td>\n<td>Supplier's item number (null in this case).</td>\n</tr>\n<tr>\n<td><strong>mfr_name</strong></td>\n<td>String</td>\n<td>Manufacturer name (e.g., \"abc2\").</td>\n</tr>\n<tr>\n<td><strong>mfr_number</strong></td>\n<td>String</td>\n<td>Manufacturer number (e.g., \"xyz\").</td>\n</tr>\n<tr>\n<td><strong>list_price</strong></td>\n<td>String</td>\n<td>List price (e.g., \"0.0\").</td>\n</tr>\n<tr>\n<td><strong>price</strong></td>\n<td>String</td>\n<td>Actual price of the item (e.g., \"510.0\").</td>\n</tr>\n<tr>\n<td><strong>lead_time</strong></td>\n<td>String</td>\n<td>Lead time (null in this case).</td>\n</tr>\n<tr>\n<td><strong>item_type</strong></td>\n<td>String</td>\n<td>Type of the item (e.g., \"non_inventory\").</td>\n</tr>\n<tr>\n<td><strong>moq</strong></td>\n<td>String</td>\n<td>Minimum order quantity (e.g., \"12\").</td>\n</tr>\n<tr>\n<td><strong>image_url</strong></td>\n<td>String</td>\n<td>Image URL of the item (null in this case).</td>\n</tr>\n<tr>\n<td><strong>category_id</strong></td>\n<td>Integer</td>\n<td>Category ID (e.g., 314).</td>\n</tr>\n<tr>\n<td><strong>account_name</strong></td>\n<td>String</td>\n<td>Account name (e.g., \"JOM\").</td>\n</tr>\n<tr>\n<td><strong>account_id</strong></td>\n<td>Integer</td>\n<td>Account ID (e.g., 448).</td>\n</tr>\n<tr>\n<td><strong>status</strong></td>\n<td>Boolean</td>\n<td>Item status (true means active).</td>\n</tr>\n<tr>\n<td><strong>preferred_item</strong></td>\n<td>Boolean</td>\n<td>Indicates whether the item is preferred (true = preferred).</td>\n</tr>\n<tr>\n<td><strong>created_at</strong></td>\n<td>String</td>\n<td>Timestamp for when the item was created.</td>\n</tr>\n<tr>\n<td><strong>updated_at</strong></td>\n<td>String</td>\n<td>Timestamp for when the item was last updated.</td>\n</tr>\n<tr>\n<td><strong>uom_master_id</strong></td>\n<td>Integer</td>\n<td>ID for the unit of measurement (e.g., 598).</td>\n</tr>\n<tr>\n<td><strong>hierarchy_value_id</strong></td>\n<td>Integer</td>\n<td>Hierarchy ID (e.g., 448).</td>\n</tr>\n<tr>\n<td><strong>class_master_id</strong></td>\n<td>Integer</td>\n<td>Class ID (e.g., 88).</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"example-response\"><strong>Example Response</strong>:</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"result\": {\n        \"id\": 30747,\n        \"catalog_id\": 162,\n        \"item_no\": \"8899-121\",\n        \"item_name\": \"West Coast P--new-2323\",\n        \"item_description\": \"Supplier Name 69-1112\",\n        \"supplier_id\": 16318,\n        \"supplier_item_no\": null,\n        \"mfr_name\": \"abc2\",\n        \"mfr_no\": null,\n        \"list_price\": \"0.0\",\n        \"price\": \"510.0\",\n        \"lead_time\": null,\n        \"item_type\": \"non_inventory\",\n        \"moq\": \"12\",\n        \"image_url\": null,\n        \"category_id\": 314,\n        \"account_name\": null,\n        \"account_id\": null,\n        \"unspsc_id\": null,\n        \"status\": true,\n        \"preferred_item\": true,\n        \"created_at\": \"2025-01-27T20:01:55.732Z\",\n        \"updated_at\": \"2025-02-17T09:11:50.897Z\",\n        \"uom_master_id\": 598,\n        \"hierarchy_value_id\": null,\n        \"markup_percentage\": \"0.0\",\n        \"product_bundle_id\": null,\n        \"parent_item\": false,\n        \"total_price\": \"0.0\",\n        \"txn_id\": null,\n        \"sync_token\": 0,\n        \"class_master_id\": 88,\n        \"item_status\": true,\n        \"is_sell\": false,\n        \"sales_description\": null,\n        \"sales_price\": \"0.0\",\n        \"income_account_id\": null,\n        \"inventory_location\": null,\n        \"vendor_items\": [\n            {\n                \"id\": 30583,\n                \"line_item_id\": 30747,\n                \"supplier_id\": 16318,\n                \"list_price\": \"510.0\",\n                \"supplier_item_no\": \"11221\",\n                \"preferred\": true\n            },\n            {\n                \"id\": 30584,\n                \"line_item_id\": 30747,\n                \"supplier_id\": 570,\n                \"list_price\": \"5110.0\",\n                \"supplier_item_no\": \"111221\",\n                \"preferred\": false\n            }\n        ]\n    }\n}\n\n</code></pre>\n<p>Explanation:<br />Here’s a table format breakdown for the provided data along with explanations:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Explanation</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>id</strong></td>\n<td><strong>30747</strong>: The unique identifier for this line item in the catalog or inventory.</td>\n</tr>\n<tr>\n<td><strong>catalog_id</strong></td>\n<td><strong>162</strong>: The ID of the catalog to which this item belongs.</td>\n</tr>\n<tr>\n<td><strong>item_no</strong></td>\n<td><strong>8899-121</strong>: The unique item number of the product.</td>\n</tr>\n<tr>\n<td><strong>item_name</strong></td>\n<td><strong>West Coast P--new-2323</strong>: The name of the item being described.</td>\n</tr>\n<tr>\n<td><strong>item_description</strong></td>\n<td><strong>Supplier Name 69-1112</strong>: A description of the item, typically used for further identification.</td>\n</tr>\n<tr>\n<td><strong>supplier_id</strong></td>\n<td><strong>16318</strong>: The unique identifier for the supplier providing this item.</td>\n</tr>\n<tr>\n<td><strong>supplier_item_no</strong></td>\n<td><strong>null</strong>: No specific item number assigned by the supplier for this product.</td>\n</tr>\n<tr>\n<td><strong>mfr_name</strong></td>\n<td><strong>abc2</strong>: The name of the manufacturer providing the product.</td>\n</tr>\n<tr>\n<td><strong>mfr_no</strong></td>\n<td><strong>null</strong>: No manufacturer number assigned.</td>\n</tr>\n<tr>\n<td><strong>list_price</strong></td>\n<td><strong>0.0</strong>: The list price for the item, usually provided by the catalog or system.</td>\n</tr>\n<tr>\n<td><strong>price</strong></td>\n<td><strong>510.0</strong>: The price of the item, typically the selling price.</td>\n</tr>\n<tr>\n<td><strong>lead_time</strong></td>\n<td><strong>null</strong>: No lead time specified for the item.</td>\n</tr>\n<tr>\n<td><strong>item_type</strong></td>\n<td><strong>non_inventory</strong>: The item type, indicating it's not part of the inventory.</td>\n</tr>\n<tr>\n<td><strong>moq</strong></td>\n<td><strong>12</strong>: The minimum order quantity required for this item.</td>\n</tr>\n<tr>\n<td><strong>image_url</strong></td>\n<td><strong>null</strong>: No image URL provided for this item.</td>\n</tr>\n<tr>\n<td><strong>category_id</strong></td>\n<td><strong>314</strong>: The ID of the category to which this item belongs.</td>\n</tr>\n<tr>\n<td><strong>account_name</strong></td>\n<td><strong>null</strong>: No specific account name associated with this item.</td>\n</tr>\n<tr>\n<td><strong>account_id</strong></td>\n<td><strong>null</strong>: No account ID specified.</td>\n</tr>\n<tr>\n<td><strong>unspsc_id</strong></td>\n<td><strong>null</strong>: No UNSPSC (United Nations Standard Products and Services Code) ID provided.</td>\n</tr>\n<tr>\n<td><strong>status</strong></td>\n<td><strong>true</strong>: The item status indicating that the item is active or available.</td>\n</tr>\n<tr>\n<td><strong>preferred_item</strong></td>\n<td><strong>true</strong>: Indicates whether the item is preferred in the system.</td>\n</tr>\n<tr>\n<td><strong>created_at</strong></td>\n<td><strong>2025-01-27T20:01:55.732Z</strong>: Timestamp for when the item was created.</td>\n</tr>\n<tr>\n<td><strong>updated_at</strong></td>\n<td><strong>2025-02-17T09:11:50.897Z</strong>: Timestamp for the last update of the item.</td>\n</tr>\n<tr>\n<td><strong>uom_master_id</strong></td>\n<td><strong>598</strong>: The unit of measure ID assigned to the item.</td>\n</tr>\n<tr>\n<td><strong>hierarchy_value_id</strong></td>\n<td><strong>null</strong>: No hierarchy value ID assigned to this item.</td>\n</tr>\n<tr>\n<td><strong>markup_percentage</strong></td>\n<td><strong>0.0</strong>: No markup percentage applied to the item.</td>\n</tr>\n<tr>\n<td><strong>product_bundle_id</strong></td>\n<td><strong>null</strong>: No product bundle ID assigned.</td>\n</tr>\n<tr>\n<td><strong>parent_item</strong></td>\n<td><strong>false</strong>: Indicates that this item is not a parent item in a bundle or hierarchy.</td>\n</tr>\n<tr>\n<td><strong>total_price</strong></td>\n<td><strong>0.0</strong>: The total price of the item (could be affected by discounts, etc.).</td>\n</tr>\n<tr>\n<td><strong>txn_id</strong></td>\n<td><strong>null</strong>: No transaction ID linked to this item.</td>\n</tr>\n<tr>\n<td><strong>sync_token</strong></td>\n<td><strong>0</strong>: Sync token used for system synchronization purposes.</td>\n</tr>\n<tr>\n<td><strong>class_master_id</strong></td>\n<td><strong>88</strong>: The class ID assigned to the item.</td>\n</tr>\n<tr>\n<td><strong>item_status</strong></td>\n<td><strong>true</strong>: The item's active status.</td>\n</tr>\n<tr>\n<td><strong>is_sell</strong></td>\n<td><strong>false</strong>: Indicates that this item is not for sale.</td>\n</tr>\n<tr>\n<td><strong>sales_description</strong></td>\n<td><strong>null</strong>: No sales description provided.</td>\n</tr>\n<tr>\n<td><strong>sales_price</strong></td>\n<td><strong>0.0</strong>: The sales price for the item.</td>\n</tr>\n<tr>\n<td><strong>income_account_id</strong></td>\n<td><strong>null</strong>: No income account ID specified for this item.</td>\n</tr>\n<tr>\n<td><strong>inventory_location</strong></td>\n<td><strong>null</strong>: No inventory location provided for this item.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"vendor-items\"><strong>Vendor Items:</strong></h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Explanation</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>id</strong></td>\n<td><strong>30583</strong>: Unique identifier for the first vendor item.</td>\n</tr>\n<tr>\n<td><strong>line_item_id</strong></td>\n<td><strong>30747</strong>: The ID of the line item this vendor item belongs to.</td>\n</tr>\n<tr>\n<td><strong>supplier_id</strong></td>\n<td><strong>16318</strong>: The unique identifier of the supplier for this vendor item.</td>\n</tr>\n<tr>\n<td><strong>list_price</strong></td>\n<td><strong>510.0</strong>: The list price provided by the vendor for this item.</td>\n</tr>\n<tr>\n<td><strong>supplier_item_no</strong></td>\n<td><strong>11221</strong>: The unique item number assigned by the supplier.</td>\n</tr>\n<tr>\n<td><strong>preferred</strong></td>\n<td><strong>true</strong>: Indicates this vendor item is preferred.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["","api​","v2​","catalogs​","{catalog_id}​","line_items​","{id}"],"host":["myprocuredesk","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"2da2ba16-b9f7-45a6-9c27-ded4708b5399"},{"name":"Get-Individual-lineitem","id":"73892d43-bc72-4150-b6fa-8899baafaf15","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://myprocuredesk.com/api/v2​/catalogs​/{catalog_id}​/line_items​/{id}","description":"<p>We can use this API to get a single item response</p>\n<p>GET /catalogs/{catalog_id}/line_items/{id}</p>\n<p>This endpoint retrieves a specific line item from the catalog identified by {catalog_id}.</p>\n<h4 id=\"request\">Request</h4>\n<p>No request body is required for this endpoint.</p>\n<h4 id=\"response\">Response</h4>\n<p>The response will be a JSON object with the following schema:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"type\": \"object\",\n  \"properties\": {\n    \"id\": {\"type\": \"number\"},\n    \"catalog_id\": {\"type\": \"number\"},\n    \"item_no\": {\"type\": \"string\"},\n    \"item_name\": {\"type\": \"string\"},\n    \"item_description\": {\"type\": \"string\"},\n    \"supplier_id\": {\"type\": \"number\"},\n    \"supplier_item_no\": {\"type\": [\"string\", \"null\"]},\n    \"mfr_name\": {\"type\": [\"string\", \"null\"]},\n    \"mfr_no\": {\"type\": [\"string\", \"null\"]},\n    \"list_price\": {\"type\": \"string\"},\n    \"price\": {\"type\": \"string\"},\n    \"lead_time\": {\"type\": [\"string\", \"null\"]},\n    \"item_type\": {\"type\": \"string\"},\n    \"moq\": {\"type\": \"string\"},\n    \"image_url\": {\"type\": [\"string\", \"null\"]},\n    \"category_id\": {\"type\": \"number\"},\n    \"account_name\": {\"type\": [\"string\", \"null\"]},\n    \"account_id\": {\"type\": [\"string\", \"null\"]},\n    \"unspsc_id\": {\"type\": [\"string\", \"null\"]},\n    \"status\": {\"type\": \"boolean\"},\n    \"preferred_item\": {\"type\": \"boolean\"},\n    \"created_at\": {\"type\": \"string\", \"format\": \"date-time\"},\n    \"updated_at\": {\"type\": \"string\", \"format\": \"date-time\"},\n    \"uom_master_id\": {\"type\": \"number\"},\n    \"hierarchy_value_id\": {\"type\": [\"number\", \"null\"]},\n    \"markup_percentage\": {\"type\": \"string\"},\n    \"product_bundle_id\": {\"type\": [\"number\", \"null\"]},\n    \"parent_item\": {\"type\": \"boolean\"},\n    \"total_price\": {\"type\": \"string\"},\n    \"txn_id\": {\"type\": [\"string\", \"null\"]},\n    \"sync_token\": {\"type\": \"number\"},\n    \"class_master_id\": {\"type\": \"number\"},\n    \"item_status\": {\"type\": \"boolean\"},\n    \"is_sell\": {\"type\": \"boolean\"},\n    \"sales_description\": {\"type\": [\"string\", \"null\"]},\n    \"sales_price\": {\"type\": \"string\"},\n    \"income_account_id\": {\"type\": [\"string\", \"null\"]},\n    \"inventory_location\": {\"type\": [\"string\", \"null\"]},\n    \"vendor_items\": {\n      \"type\": \"array\",\n      \"items\": {\n        \"type\": \"object\",\n        \"properties\": {\n          \"id\": {\"type\": \"number\"},\n          \"line_item_id\": {\"type\": \"number\"},\n          \"supplier_id\": {\"type\": \"number\"},\n          \"list_price\": {\"type\": \"string\"},\n          \"supplier_item_no\": {\"type\": [\"string\", \"null\"]},\n          \"preferred\": {\"type\": \"boolean\"}\n        }\n      }\n    }\n  }\n}\n\n</code></pre>\n<p><strong>Method</strong>: <code>GET   Explanation:   </code>Here’s the data you provided in a table format with explanations for each field:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field Name</strong></th>\n<th><strong>Value</strong></th>\n<th><strong>Explanation</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>ID</strong></td>\n<td>30768</td>\n<td>Unique identifier for the item in the system.</td>\n</tr>\n<tr>\n<td><strong>Catalog ID</strong></td>\n<td>162</td>\n<td>Identifier for the catalog to which this item belongs.</td>\n</tr>\n<tr>\n<td><strong>Item No</strong></td>\n<td>8899</td>\n<td>The unique number for this item.</td>\n</tr>\n<tr>\n<td><strong>Item Name</strong></td>\n<td>West Coast P--new-009</td>\n<td>Name of the item.</td>\n</tr>\n<tr>\n<td><strong>Item Description</strong></td>\n<td>Supplier Name 69-1112</td>\n<td>A brief description provided by the supplier for the item.</td>\n</tr>\n<tr>\n<td><strong>Supplier ID</strong></td>\n<td>16318</td>\n<td>Unique identifier for the supplier providing the item.</td>\n</tr>\n<tr>\n<td><strong>Supplier Item No</strong></td>\n<td>null</td>\n<td>The supplier's item number, which is not provided in this case.</td>\n</tr>\n<tr>\n<td><strong>Manufacturer Name</strong></td>\n<td>abc2</td>\n<td>The name of the manufacturer of the item.</td>\n</tr>\n<tr>\n<td><strong>Manufacturer No</strong></td>\n<td>null</td>\n<td>The manufacturer’s number for the item, which is not provided here.</td>\n</tr>\n<tr>\n<td><strong>List Price</strong></td>\n<td>0.0</td>\n<td>The standard listed price of the item, which is $0.00.</td>\n</tr>\n<tr>\n<td><strong>Price</strong></td>\n<td>510.0</td>\n<td>The actual price for the item, which is $510.00.</td>\n</tr>\n<tr>\n<td><strong>Lead Time</strong></td>\n<td>null</td>\n<td>The lead time (time taken for delivery), which is not provided here.</td>\n</tr>\n<tr>\n<td><strong>Item Type</strong></td>\n<td>non_inventory</td>\n<td>The item type, indicating that it is a non-inventory item.</td>\n</tr>\n<tr>\n<td><strong>MOQ (Minimum Order Quantity)</strong></td>\n<td>12</td>\n<td>The minimum quantity that can be ordered, which is 12 in this case.</td>\n</tr>\n<tr>\n<td><strong>Image URL</strong></td>\n<td>null</td>\n<td>The URL for the item's image, which is not provided here.</td>\n</tr>\n<tr>\n<td><strong>Category ID</strong></td>\n<td>314</td>\n<td>The ID for the category to which the item belongs.</td>\n</tr>\n<tr>\n<td><strong>Account Name</strong></td>\n<td>null</td>\n<td>The account name, which is not provided here.</td>\n</tr>\n<tr>\n<td><strong>Account ID</strong></td>\n<td>null</td>\n<td>The account ID, which is not provided here.</td>\n</tr>\n<tr>\n<td><strong>UNSPSC ID</strong></td>\n<td>null</td>\n<td>The UNSPSC (United Nations Standard Products and Services Code) ID, which is not provided here.</td>\n</tr>\n<tr>\n<td><strong>Status</strong></td>\n<td>true</td>\n<td>Indicates whether the item is active or inactive. <code>true</code> means active.</td>\n</tr>\n<tr>\n<td><strong>Preferred Item</strong></td>\n<td>true</td>\n<td>Indicates if the item is preferred or not. <code>true</code> means it is a preferred item.</td>\n</tr>\n<tr>\n<td><strong>Created At</strong></td>\n<td>2025-02-17T08:59:29.989Z</td>\n<td>The timestamp when the item was created in the system.</td>\n</tr>\n<tr>\n<td><strong>Updated At</strong></td>\n<td>2025-02-17T08:59:29.989Z</td>\n<td>The timestamp when the item was last updated.</td>\n</tr>\n<tr>\n<td><strong>UOM Master ID</strong></td>\n<td>598</td>\n<td>The Unit of Measure (UOM) ID, specifying the measurement unit for the item.</td>\n</tr>\n<tr>\n<td><strong>Hierarchy Value ID</strong></td>\n<td>null</td>\n<td>The hierarchy value ID for item classification, which is not provided here.</td>\n</tr>\n<tr>\n<td><strong>Markup Percentage</strong></td>\n<td>0.0</td>\n<td>The markup percentage applied to the price, which is 0%.</td>\n</tr>\n<tr>\n<td><strong>Product Bundle ID</strong></td>\n<td>null</td>\n<td>The product bundle ID, which is not provided here.</td>\n</tr>\n<tr>\n<td><strong>Parent Item</strong></td>\n<td>false</td>\n<td>Indicates whether the item is a parent item in a product hierarchy. <code>false</code> means it is not a parent item.</td>\n</tr>\n<tr>\n<td><strong>Total Price</strong></td>\n<td>0.0</td>\n<td>The total price for the item, which is $0.00 in this case.</td>\n</tr>\n<tr>\n<td><strong>Transaction ID</strong></td>\n<td>null</td>\n<td>The transaction ID associated with the item, which is not provided here.</td>\n</tr>\n<tr>\n<td><strong>Sync Token</strong></td>\n<td>0</td>\n<td>A synchronization token to track the item’s synchronization status.</td>\n</tr>\n<tr>\n<td><strong>Class Master ID</strong></td>\n<td>88</td>\n<td>The class master ID, which groups items by type or category.</td>\n</tr>\n<tr>\n<td><strong>Item Status</strong></td>\n<td>true</td>\n<td>Indicates whether the item is active or inactive in the system. <code>true</code> means it is active.</td>\n</tr>\n<tr>\n<td><strong>Is Sell</strong></td>\n<td>false</td>\n<td>Indicates whether the item is available for sale. <code>false</code> means it is not available for sale.</td>\n</tr>\n<tr>\n<td><strong>Sales Description</strong></td>\n<td>null</td>\n<td>A description for sales, which is not provided here.</td>\n</tr>\n<tr>\n<td><strong>Sales Price</strong></td>\n<td>0.0</td>\n<td>The sales price of the item, which is $0.00.</td>\n</tr>\n<tr>\n<td><strong>Income Account ID</strong></td>\n<td>null</td>\n<td>The income account ID, which is not provided here.</td>\n</tr>\n<tr>\n<td><strong>Inventory Location</strong></td>\n<td>null</td>\n<td>The inventory location for the item, which is not provided here.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"vendor-item-details\">Vendor Item Details:</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field Name</strong></th>\n<th><strong>Value</strong></th>\n<th><strong>Explanation</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>ID</strong></td>\n<td>30608</td>\n<td>Unique identifier for the vendor item.</td>\n</tr>\n<tr>\n<td><strong>Line Item ID</strong></td>\n<td>30768</td>\n<td>ID linking the vendor item to the specific line item in the catalog.</td>\n</tr>\n<tr>\n<td><strong>Supplier ID</strong></td>\n<td>16318</td>\n<td>Unique identifier for the supplier providing the item.</td>\n</tr>\n<tr>\n<td><strong>List Price</strong></td>\n<td>510.0</td>\n<td>The price of the item offered by the supplier.</td>\n</tr>\n<tr>\n<td><strong>Supplier Item No</strong></td>\n<td>11221</td>\n<td>The item number used by the supplier for the product.</td>\n</tr>\n<tr>\n<td><strong>Preferred</strong></td>\n<td>true</td>\n<td>Indicates whether this vendor is the preferred supplier for the item. <code>true</code> means it is preferred.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"response-format-json\"><strong>Response Format</strong>: JSON</h3>\n<h3 id=\"response-example\"><strong>Response Example</strong>:</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>jsonCopyEdit{\n    \"success\": true,\n    \"result\": {\n        \"id\": 30768,\n        \"catalog_id\": 162,\n        \"item_no\": \"8899\",\n        \"item_name\": \"Test\",\n        \"item_description\": \"Tester\",\n        \"supplier_id\": 16318,\n        \"supplier_item_no\": null,\n        \"mfr_name\": \"abc2\",\n        \"mfr_no\": null,\n        \"list_price\": \"0.0\",\n        \"price\": \"510.0\",\n        \"lead_time\": null,\n        \"item_type\": \"non_inventory\",\n        \"moq\": \"12\",\n        \"image_url\": null,\n        \"category_id\": 314,\n        \"account_name\": null,\n        \"account_id\": null,\n        \"unspsc_id\": null,\n        \"status\": true,\n        \"preferred_item\": true,\n        \"created_at\": \"2025-02-17T08:59:29.989Z\",\n        \"updated_at\": \"2025-02-17T08:59:29.989Z\",\n        \"uom_master_id\": 598,\n        \"hierarchy_value_id\": null,\n        \"markup_percentage\": \"0.0\",\n        \"product_bundle_id\": null,\n        \"parent_item\": false,\n        \"total_price\": \"0.0\",\n        \"txn_id\": null,\n        \"sync_token\": 0,\n        \"class_master_id\": 88,\n        \"item_status\": true,\n        \"is_sell\": false,\n        \"sales_description\": null,\n        \"sales_price\": \"0.0\",\n        \"income_account_id\": null,\n        \"inventory_location\": null,\n        \"vendor_items\": [\n            {\n                \"id\": 30608,\n                \"line_item_id\": 30768,\n                \"supplier_id\": 16318,\n                \"list_price\": \"510.0\",\n                \"supplier_item_no\": \"11221\",\n                \"preferred\": true\n            },\n            {\n                \"id\": 30609,\n                \"line_item_id\": 30768,\n                \"supplier_id\": 570,\n                \"list_price\": \"5110.0\",\n                \"supplier_item_no\": \"111221\",\n                \"preferred\": false\n            }\n        ]\n    }\n}\n\n</code></pre>","urlObject":{"protocol":"https","path":["api","v2​","catalogs​","{catalog_id}​","line_items​","{id}"],"host":["myprocuredesk","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"73892d43-bc72-4150-b6fa-8899baafaf15"},{"name":"Delete","id":"e25ea18b-43f7-40f0-8ca4-4d920f232653","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://myprocuredesk.com/api/v2/catalogs/2113/line_items/677814","description":"<h3 id=\"endpoint\">Endpoint</h3>\n<p><strong>Method</strong>: <code>DELETE</code><br /><strong>Endpoint</strong>: <code>/api/v2/catalogs/{catalog_id}/line_items/{line_item_id}</code></p>\n<hr />\n<h3 id=\"description\">Description</h3>\n<p>This endpoint allows you to delete a specific line item from a specified catalog. Deleting a line item removes it permanently from the catalog.</p>\n<hr />\n<h3 id=\"parameters\">Parameters</h3>\n<h4 id=\"url-parameters\">URL Parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Mandatory</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>catalog_id</code></td>\n<td>Integer</td>\n<td>Yes</td>\n<td>The unique identifier of the catalog the line item belongs to. Example: <code>2113</code>.</td>\n</tr>\n<tr>\n<td><code>line_item_id</code></td>\n<td>Integer</td>\n<td>Yes</td>\n<td>The unique identifier of the line item to delete. Example: <code>677814</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"sample-request\">Sample Request</h3>\n<h4 id=\"request-url\">Request URL</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>DELETE /api/v2/catalogs/2113/line_items/677814\n\n</code></pre><hr />\n<h3 id=\"sample-response\">Sample Response</h3>\n<h4 id=\"successful-response\">Successful Response</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"message\": \"Line item deleted successfully.\"\n}\n\n</code></pre>\n<hr />\n<h3 id=\"response-fields-explained\">Response Fields Explained</h3>\n<h4 id=\"root-fields\">Root Fields</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>success</code></td>\n<td>Boolean</td>\n<td>Indicates whether the line item deletion was successful.</td>\n</tr>\n<tr>\n<td><code>message</code></td>\n<td>String</td>\n<td>Describes the result of the request. Example: <code>\"Line item deleted successfully.\"</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"notes\">Notes</h3>\n<ol>\n<li><p><strong>Validation</strong>:</p>\n<ul>\n<li>Ensure the <code>catalog_id</code> and <code>line_item_id</code> are valid and correspond to an existing catalog and line item.</li>\n</ul>\n</li>\n<li><p><strong>Error Handling</strong>:</p>\n<ul>\n<li>If the <code>line_item_id</code> does not exist or belongs to another catalog, the API will return an error message.</li>\n</ul>\n</li>\n<li><p><strong>Authorization</strong>:</p>\n<ul>\n<li>Only users with the appropriate permissions can delete line items from catalogs.</li>\n</ul>\n</li>\n<li><p><strong>Permanent Deletion</strong>:</p>\n<ul>\n<li>Deleting a line item is irreversible. Ensure the operation is intentional.</li>\n</ul>\n</li>\n</ol>\n","urlObject":{"protocol":"https","path":["api","v2","catalogs","2113","line_items","677814"],"host":["myprocuredesk","com"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[],"_postman_id":"e25ea18b-43f7-40f0-8ca4-4d920f232653"},{"name":"Read","id":"b62efdc8-8b83-416b-bab7-df5629068003","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://myprocuredesk.com/api/v2/catalogs/2113/line_items/680741","description":"<h3 id=\"endpoint\">Endpoint</h3>\n<p><strong>Method</strong>: <code>GET</code><br /><strong>Endpoint</strong>: <code>/api/v2/catalogs/{catalog_id}/line_items/{line_item_id}</code></p>\n<hr />\n<h3 id=\"description\">Description</h3>\n<p>This endpoint retrieves detailed information about a specific line item from a specified catalog. The response includes item details, pricing, supplier information, and associated accounts.</p>\n<hr />\n<h3 id=\"parameters\">Parameters</h3>\n<h4 id=\"url-parameters\">URL Parameters</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Mandatory</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>catalog_id</code></td>\n<td>Integer</td>\n<td>Yes</td>\n<td>The unique identifier of the catalog the line item belongs to. Example: <code>2113</code>.</td>\n</tr>\n<tr>\n<td><code>line_item_id</code></td>\n<td>Integer</td>\n<td>Yes</td>\n<td>The unique identifier of the line item to retrieve. Example: <code>680741</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"sample-request\">Sample Request</h3>\n<h4 id=\"request-url\">Request URL</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>GET /api/v2/catalogs/2113/line_items/680741\n\n</code></pre><hr />\n<h3 id=\"sample-response\">Sample Response</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"success\": true,\n    \"result\": {\n        \"id\": 680741,\n        \"catalog_id\": 2113,\n        \"item_no\": \"456\",\n        \"item_name\": \"Laptop1\",\n        \"item_description\": \"Laptop for the main office 20GB RAM\",\n        \"supplier_id\": 746,\n        \"supplier_item_no\": null,\n        \"mfr_name\": null,\n        \"mfr_no\": null,\n        \"list_price\": \"0.0\",\n        \"price\": \"53.0\",\n        \"lead_time\": null,\n        \"item_type\": \"non_inventory\",\n        \"moq\": null,\n        \"image_url\": null,\n        \"category_id\": null,\n        \"account_name\": \"Office Supplies\",\n        \"account_id\": 3,\n        \"unspsc_id\": null,\n        \"status\": true,\n        \"preferred_item\": true,\n        \"created_at\": \"2024-11-13T01:27:06.242Z\",\n        \"updated_at\": \"2024-11-13T01:27:06.242Z\",\n        \"uom_master_id\": 1,\n        \"hierarchy_value_id\": 3,\n        \"markup_percentage\": \"0.0\",\n        \"product_bundle_id\": null,\n        \"parent_item\": false,\n        \"total_price\": \"0.0\",\n        \"txn_id\": null,\n        \"sync_token\": 0,\n        \"class_master_id\": null,\n        \"item_status\": true,\n        \"is_sell\": false,\n        \"sales_description\": null,\n        \"sales_price\": \"0.0\",\n        \"income_account_id\": null,\n        \"inventory_location\": null\n    }\n}\n\n</code></pre>\n<hr />\n<h3 id=\"response-fields-explained\">Response Fields Explained</h3>\n<h4 id=\"root-fields\">Root Fields</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>success</code></td>\n<td>Boolean</td>\n<td>Indicates whether the request was successful.</td>\n</tr>\n<tr>\n<td><code>result</code></td>\n<td>Object</td>\n<td>Contains detailed information about the line item.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"fields-in-result-line-item-details\">Fields in <code>result</code> (Line Item Details)</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>Integer</td>\n<td>Unique identifier for the line item. Example: <code>680741</code>.</td>\n</tr>\n<tr>\n<td><code>catalog_id</code></td>\n<td>Integer</td>\n<td>The ID of the catalog this line item belongs to. Example: <code>2113</code>.</td>\n</tr>\n<tr>\n<td><code>item_no</code></td>\n<td>String</td>\n<td>Unique item number. Example: <code>\"456\"</code>.</td>\n</tr>\n<tr>\n<td><code>item_name</code></td>\n<td>String</td>\n<td>Name of the item. Example: <code>\"Laptop1\"</code>.</td>\n</tr>\n<tr>\n<td><code>item_description</code></td>\n<td>String</td>\n<td>Description of the item. Example: <code>\"Laptop for the main office 20GB RAM\"</code>.</td>\n</tr>\n<tr>\n<td><code>supplier_id</code></td>\n<td>Integer</td>\n<td>ID of the supplier associated with the item. Example: <code>746</code>.</td>\n</tr>\n<tr>\n<td><code>supplier_item_no</code></td>\n<td>String</td>\n<td>Supplier-specific item number. Example: <code>null</code>.</td>\n</tr>\n<tr>\n<td><code>mfr_name</code></td>\n<td>String</td>\n<td>Manufacturer name. Example: <code>null</code>.</td>\n</tr>\n<tr>\n<td><code>mfr_no</code></td>\n<td>String</td>\n<td>Manufacturer part number. Example: <code>null</code>.</td>\n</tr>\n<tr>\n<td><code>list_price</code></td>\n<td>String</td>\n<td>List price of the item. Example: <code>\"0.0\"</code>.</td>\n</tr>\n<tr>\n<td><code>price</code></td>\n<td>String</td>\n<td>Actual price of the item. Example: <code>\"53.0\"</code>.</td>\n</tr>\n<tr>\n<td><code>lead_time</code></td>\n<td>String</td>\n<td>Lead time for the item. Example: <code>null</code>.</td>\n</tr>\n<tr>\n<td><code>item_type</code></td>\n<td>String</td>\n<td>Type of the item (e.g., <code>\"non_inventory\"</code>).</td>\n</tr>\n<tr>\n<td><code>account_name</code></td>\n<td>String</td>\n<td>The account associated with the item. Example: <code>\"Office Supplies\"</code>.</td>\n</tr>\n<tr>\n<td><code>account_id</code></td>\n<td>Integer</td>\n<td>The account ID associated with the item. Example: <code>3</code>.</td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td>Boolean</td>\n<td>Indicates if the item is active (<code>true</code>) or inactive (<code>false</code>).</td>\n</tr>\n<tr>\n<td><code>preferred_item</code></td>\n<td>Boolean</td>\n<td>Indicates whether the item is marked as preferred (<code>true</code>).</td>\n</tr>\n<tr>\n<td><code>created_at</code></td>\n<td>String</td>\n<td>Timestamp when the item was created. Example: <code>\"2024-11-13T01:27:06.242Z\"</code>.</td>\n</tr>\n<tr>\n<td><code>updated_at</code></td>\n<td>String</td>\n<td>Timestamp when the item was last updated. Example: <code>\"2024-11-13T01:27:06.242Z\"</code>.</td>\n</tr>\n<tr>\n<td><code>uom_master_id</code></td>\n<td>Integer</td>\n<td>Unit of measure identifier for the item. Example: <code>1</code>.</td>\n</tr>\n<tr>\n<td><code>hierarchy_value_id</code></td>\n<td>Integer</td>\n<td>ID representing the item's hierarchy. Example: <code>3</code>.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"notes\">Notes</h3>\n<ol>\n<li><p><strong>Usage</strong>:</p>\n<ul>\n<li>This endpoint is useful for retrieving detailed information about a specific catalog line item for review, analysis, or integration purposes.</li>\n</ul>\n</li>\n<li><p><strong>Error Handling</strong>:</p>\n<ul>\n<li>If the specified <code>catalog_id</code> or <code>line_item_id</code> does not exist, the API will return an error message.</li>\n</ul>\n</li>\n<li><p><strong>Authorization</strong>:</p>\n<ul>\n<li>Only users with the appropriate permissions can access catalog line item details.</li>\n</ul>\n</li>\n</ol>\n","urlObject":{"protocol":"https","path":["api","v2","catalogs","2113","line_items","680741"],"host":["myprocuredesk","com"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[],"_postman_id":"b62efdc8-8b83-416b-bab7-df5629068003"}],"id":"6467137c-baa7-4c42-8fe9-d1a8a0ce303c","description":"<p><strong>Catalog Lines</strong> represent individual items or entries within a catalog. They detail specific products, services, or resources that can be sourced or purchased. Catalog lines are the building blocks of catalogs, providing granular information about each item, such as name, description, pricing, and availability.</p>\n","_postman_id":"6467137c-baa7-4c42-8fe9-d1a8a0ce303c"},{"name":"Inventory","item":[{"name":"On Hand Details","id":"8f17ad84-5985-4e70-9506-1222f12f0c72","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://myprocuredesk.com/api/v2/inventories/1552/inventory_locations/44/on_hand_details","description":"<p><strong>Method:</strong><br /><code>GET</code></p>\n<p><strong>Endpoint:</strong> <code>/api/v2/inventories/{inventory_id}/inventory_locations/{inventory_location_id}/on_hand_details</code></p>\n<p><strong>Sample Request:</strong><br /><code>https://myprocuredesk.com/api/v2/inventories/1552/inventory_locations/44/on_hand_details</code></p>\n<p><strong>Sample Response</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{{\n  \"status\": true,\n  \"result\": {\n    \"location_name\": \"Mumbai\",\n    \"on_hand_details\": [\n      {\n        \"on_hand_location_id\": 587,\n        \"item_no\": \"1\",\n        \"receipt_number\": \"30000063\",\n        \"received_on\": \"02/28/2025\",\n        \"on_hand\": 114,\n        \"inventory_value\": \"$22,800.00\",\n        \"unit_price\": \"$200.00\"\n      },\n      {\n        \"on_hand_location_id\": 162,\n        \"item_no\": \"1\",\n        \"receipt_number\": \"30000052\",\n        \"received_on\": \"01/15/2025\",\n        \"on_hand\": 0,\n        \"inventory_value\": \"$0.00\",\n        \"unit_price\": \"$1,000.00\"\n      }\n    ]\n  }\n}\n\n</code></pre>\n<h3 id=\"response-fields-explained\">Response Fields Explained</h3>\n<h4 id=\"root-fields\">Root Fields</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>status</strong></td>\n<td>Boolean</td>\n<td>Indicates whether the API request was successful.</td>\n</tr>\n<tr>\n<td><strong>result</strong></td>\n<td>Hash</td>\n<td>Contains the details of Inventory On Hand Locations.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"result-attribute-detail\">Result Attribute Detail</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>location_name</strong></td>\n<td>String</td>\n<td>Inventory Location Name</td>\n</tr>\n<tr>\n<td><strong>on_hand_details</strong></td>\n<td>Array</td>\n<td>Array of Hash objects.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"on-hand-detail-attribute-detail\">On Hand Detail Attribute Detail</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>on_hand_location_id</strong></td>\n<td>Unique identifier for the storage location</td>\n</tr>\n<tr>\n<td><strong>item_no</strong></td>\n<td>Unique identifier for the item</td>\n</tr>\n<tr>\n<td><strong>receipt_number</strong></td>\n<td>Reference number when the item was received</td>\n</tr>\n<tr>\n<td><strong>received_on</strong></td>\n<td>Date when the item was received in inventory</td>\n</tr>\n<tr>\n<td><strong>on_hand</strong></td>\n<td>Number of units currently available</td>\n</tr>\n<tr>\n<td><strong>inventory_value</strong></td>\n<td>Total value of the available inventory</td>\n</tr>\n<tr>\n<td><strong>unit_price</strong></td>\n<td>Cost per unit of the item</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v2","inventories","1552","inventory_locations","44","on_hand_details"],"host":["myprocuredesk","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"8f17ad84-5985-4e70-9506-1222f12f0c72"},{"name":"Create Return","id":"7ad6bc5b-b310-4c72-a3c0-fe223001b2d8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"inventory\": {\n        \"return_attributes\": {\n            \"return_date\": \"2025-10-14\",\n            \"return_reason\": \"Tsting\",\n            \"return_from_id\": \"1084\",\n            \"inventory_return_items_attributes\": [\n                {\n                    \"quantity\": 5,\n                    \"inventory_location_id\": \"44\",\n                    \"default_account_id\": \"2111\"\n                }\n            ]\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://myprocuredesk.com/api/v2/inventories/1552/returns","description":"<p>Method:<code>POST</code></p>\n<p><strong>Endpoint:</strong><code>/api/v2/inventories/1552/returns**_</code><em>*</em><strong>Request Payload</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"inventory\": {\n        \"return_attributes\": {\n            \"return_date\": \"2025-10-14\",\n            \"return_reason\": \"Tsting\",\n            \"return_from_id\": \"1084\",\n            \"inventory_return_items_attributes\": [\n                {\n                    \"quantity\": 5,\n                    \"inventory_location_id\": \"44\",\n                    \"default_account_id\": \"2111\"\n                }\n            ]\n        }\n    }\n}\n\n</code></pre>\n<p><strong>Request Body Structure</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>inventory</strong></td>\n<td>Object</td>\n<td>Contains inventory return details.</td>\n</tr>\n<tr>\n<td><strong>return_attributes</strong></td>\n<td>Object</td>\n<td>Contains return-related attributes.</td>\n</tr>\n<tr>\n<td><strong>return_attributes-&gt;return_date</strong></td>\n<td>String</td>\n<td>Date of return (<code>YYYY-MM-DD</code>).</td>\n</tr>\n<tr>\n<td><strong>return_attributes-&gt; return_reason</strong></td>\n<td>String</td>\n<td>Reason for return.</td>\n</tr>\n<tr>\n<td><strong>return_attributes-&gt;return_from_id</strong></td>\n<td>String</td>\n<td>ID of the user from whom the inventory is being returned.</td>\n</tr>\n<tr>\n<td><strong>return_attributes-&gt;inventory_return_items_attributes</strong></td>\n<td>Array</td>\n<td>List of returned inventory items.</td>\n</tr>\n<tr>\n<td><strong>return_attributes-&gt;inventory_return_items_attributes -&gt; quantity</strong></td>\n<td>Number</td>\n<td>Quantity to be return</td>\n</tr>\n<tr>\n<td><strong>return_attributes-&gt;inventory_return_items_attributes -&gt; inventory_location_id</strong></td>\n<td>Number</td>\n<td>That Location Id to which line_item should be inward</td>\n</tr>\n<tr>\n<td><strong>return_attributes-&gt;inventory_return_items_attributes -&gt; default_account_id</strong></td>\n<td>Number</td>\n<td>ID to be sync with Quickbook</td>\n</tr>\n</tbody>\n</table>\n</div><p><em><strong>Sample Request:</strong></em><code>https://myprocuredesk.com/api/v2/inventories/1552/returns</code></p>\n<p><strong>Sample Response</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": true,\n  \"result\": {\n    \"return_detail\": {\n      \"created_by\": {\n        \"id\": 1084,\n        \"name\": \"Approver User\"\n      },\n      \"return_from\": {\n        \"id\": 1084,\n        \"name\": \"Approver User\"\n      },\n      \"return_date\": \"03/06/2025\",\n      \"return_reason\": \"\",\n      \"return_items\": [\n        {\n          \"id\": 159,\n          \"return_quantity\": 5.0,\n          \"inventory_location\": {\n            \"id\": 44,\n            \"name\": \"Mumbai\"\n          },\n          \"inventory_account_detail\": {\n            \"account_id\": 2111,\n            \"account_name\": \"Test\"\n          }\n        }\n      ],\n      \"created_at\": \"03/06/2025\",\n      \"updated_at\": \"03/06/2025\"\n    }\n  }\n}\n\n</code></pre>\n<h3 id=\"response-structure\"><strong>Response Structure</strong></h3>\n<h3 id=\"root-node\"><strong>Root Node</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>status</strong></td>\n<td>Boolean</td>\n<td>Indicates whether the API call was successful (<code>true</code>) or failed (<code>false</code>).</td>\n</tr>\n<tr>\n<td><strong>result</strong></td>\n<td>Object</td>\n<td>Contains the details of the return.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"return-detail-nested-inside-resultrelease_detail\"><strong>Return Detail (Nested Inside</strong> <strong><code>result.release_detail</code></strong>)</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>created_by</strong></td>\n<td>Object</td>\n<td>Details of the user who created the return.</td>\n</tr>\n<tr>\n<td><strong>created_by.id</strong></td>\n<td>Integer</td>\n<td>ID of the creator.</td>\n</tr>\n<tr>\n<td><strong>created_by.name</strong></td>\n<td>String</td>\n<td>Name of the creator.</td>\n</tr>\n<tr>\n<td><strong>return_from</strong></td>\n<td>Object</td>\n<td>Details of the user from whom the inventory is returned.</td>\n</tr>\n<tr>\n<td><strong>return_from.id</strong></td>\n<td>Integer</td>\n<td>ID of the return source.</td>\n</tr>\n<tr>\n<td><strong>return_from.name</strong></td>\n<td>String</td>\n<td>Name of the return source.</td>\n</tr>\n<tr>\n<td><strong>return_date</strong></td>\n<td>String</td>\n<td>Date of return (<code>MM/DD/YYYY</code>).</td>\n</tr>\n<tr>\n<td><strong>return_reason</strong></td>\n<td>String</td>\n<td>Reason for return (empty in this case).</td>\n</tr>\n<tr>\n<td><strong>return_items</strong></td>\n<td>Array</td>\n<td>List of returned inventory items.</td>\n</tr>\n<tr>\n<td><strong>created_at</strong></td>\n<td>String</td>\n<td>Timestamp when the return record was created (<code>MM/DD/YYYY</code>).</td>\n</tr>\n<tr>\n<td><strong>updated_at</strong></td>\n<td>String</td>\n<td>Timestamp when the return record was last updated (<code>MM/DD/YYYY</code>).</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"return-items-nested-inside-return_detailreturn_items-array\"><strong>Return Items (Nested Inside</strong> <strong><code>return_detail.return_items</code></strong> <strong>Array)</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>id</strong></td>\n<td>Integer</td>\n<td>Unique ID for the returned inventory item.</td>\n</tr>\n<tr>\n<td><strong>return_quantity</strong></td>\n<td>Integer</td>\n<td>Quantity of the item that was returned.</td>\n</tr>\n<tr>\n<td><strong>inventory_location</strong></td>\n<td>Object</td>\n<td>Information about the inventory location.</td>\n</tr>\n<tr>\n<td><strong>inventory_location.id</strong></td>\n<td>Integer</td>\n<td>ID of the inventory location.</td>\n</tr>\n<tr>\n<td><strong>inventory_location.name</strong></td>\n<td>String</td>\n<td>Name of the inventory location.</td>\n</tr>\n<tr>\n<td><strong>inventory_account_detail</strong></td>\n<td>Object</td>\n<td>Details of the inventory account associated with the return.</td>\n</tr>\n<tr>\n<td><strong>inventory_account_detail.account_id</strong></td>\n<td>Integer</td>\n<td>ID of the inventory account.</td>\n</tr>\n<tr>\n<td><strong>inventory_account_detail.account_name</strong></td>\n<td>String</td>\n<td>Name of the inventory account.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v2","inventories","1552","returns"],"host":["myprocuredesk","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"7ad6bc5b-b310-4c72-a3c0-fe223001b2d8"},{"name":"Create Release ","id":"06e7fc63-539c-48e0-837b-48fa7d8cb1a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"inventory\": {\n        \"release_attributes\": {\n            \"date\": \"2025-10-14\",\n            \"shipping_information\": \"Tsting\",\n            \"notes\": \"Test\",\n            \"release_to_id\": \"1084\",\n            \"project_code_id\": \"\",\n            \"release_items_attributes\": [\n                {\n                    \"released_quantity\": 5,\n                    \"inventory_location_id\": \"44\",\n                    \"default_account_id\": \"2110\"\n                }\n            ]\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://myprocuredesk.com/api/v2/inventories/1552/releases","description":"<p><strong>Method:</strong><br /><code>POST</code></p>\n<p><strong>Endpoint:</strong><br /><code>/api/v2/inventories/{inventory_id}/releases</code></p>\n<p><strong>Request Payload Structure:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"inventory\": {\n    \"release_attributes\": {\n      \"date\": \"2025-10-14\",\n      \"shipping_information\": \"Tsting\",\n      \"notes\": \"Test\",\n      \"release_to_id\": \"1084\",\n      \"project_code_id\": \"\",\n      \"release_items_attributes\": [\n        {\n          \"released_quantity\": 5,\n          \"inventory_location_id\": \"44\",\n          \"default_account_id\": \"2110\"\n        }\n      ]\n    }\n  }\n}\n\n</code></pre>\n<p><strong>Payload Structure in Table Format:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>inventory</strong></td>\n<td>Parent object containing inventory release details</td>\n</tr>\n<tr>\n<td><strong>release_attributes</strong></td>\n<td>Contains attributes related to the inventory release</td>\n</tr>\n<tr>\n<td><strong>release_attributes -&gt; date</strong></td>\n<td>Date of the inventory release</td>\n</tr>\n<tr>\n<td><strong>release_attributes -&gt; shipping_information</strong></td>\n<td>Shipping details</td>\n</tr>\n<tr>\n<td><strong>release_attributes -&gt; notes</strong></td>\n<td>Additional notes regarding the release</td>\n</tr>\n<tr>\n<td><strong>release_attributes -&gt; release_to_id</strong></td>\n<td>ID of the recipient of the release</td>\n</tr>\n<tr>\n<td><strong>release_attributes -&gt; project_code_id</strong></td>\n<td>Project code associated with the release (optional)</td>\n</tr>\n<tr>\n<td><strong>release_attributes -&gt; release_items_attributes</strong></td>\n<td>Array containing details of the items being released</td>\n</tr>\n<tr>\n<td><strong>release_attributes -&gt; release_items_attributes -&gt; released_quantity</strong></td>\n<td>Quantity of items being released</td>\n</tr>\n<tr>\n<td><strong>release_attributes -&gt; release_items_attributes -&gt; inventory_location_id</strong></td>\n<td>ID of the inventory location from where items are released</td>\n</tr>\n<tr>\n<td><strong>release_attributes -&gt; release_items_attributes -&gt; default_account_id</strong></td>\n<td>Default account ID for managing the release</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Sample Request:</strong><br /><code>https://myprocuredesk.com/api/v2/inventories/1552/releases</code></p>\n<p><strong>Sample Response:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": true,\n  \"result\": {\n    \"release_detail\": {\n      \"releasor\": {\n        \"id\": 1084,\n        \"name\": \"Approver User\"\n      },\n      \"release_to\": {\n        \"id\": 1084,\n        \"name\": \"Approver User\"\n      },\n      \"project_code\": \"\",\n      \"date\": \"10/14/2025\",\n      \"notes\": \"Test\",\n      \"shipping_information\": \"Tsting\",\n      \"release_items\": [\n        {\n          \"id\": 636,\n          \"released_quantity\": 5,\n          \"inventory_location\": {\n            \"id\": 44,\n            \"name\": \"Mumbai\"\n          },\n          \"inventory_account_detail\": {\n            \"account_id\": 2110,\n            \"account_name\": \"Lopesh\"\n          }\n        }\n      ],\n      \"created_at\": \"03/06/2025\",\n      \"updated_at\": \"03/06/2025\"\n    }\n  }\n}\n\n</code></pre>\n<h3 id=\"main-response-structure\"><strong>Main Response Structure</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>status</strong></td>\n<td>Boolean</td>\n<td>Indicates whether the API call was successful (<code>true</code>) or failed (<code>false</code>).</td>\n</tr>\n<tr>\n<td><strong>result</strong></td>\n<td>Object</td>\n<td>Contains the details of the release.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"release-detail-nested-inside-resultrelease_detail\"><strong>Release Detail (Nested Inside</strong> <strong><code>result.release_detail</code></strong>)</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>releasor</strong></td>\n<td>Object</td>\n<td>Details of the user who released the inventory.</td>\n</tr>\n<tr>\n<td><strong>releasor.id</strong></td>\n<td>Integer</td>\n<td>ID of the releasor.</td>\n</tr>\n<tr>\n<td><strong>releasor.name</strong></td>\n<td>String</td>\n<td>Name of the releasor.</td>\n</tr>\n<tr>\n<td><strong>release_to</strong></td>\n<td>Object</td>\n<td>Details of the user to whom the inventory was released.</td>\n</tr>\n<tr>\n<td><strong>release_to.id</strong></td>\n<td>Integer</td>\n<td>ID of the recipient.</td>\n</tr>\n<tr>\n<td><strong>release_to.name</strong></td>\n<td>String</td>\n<td>Name of the recipient.</td>\n</tr>\n<tr>\n<td><strong>project_code</strong></td>\n<td>String</td>\n<td>Project code associated with the release (empty in this case).</td>\n</tr>\n<tr>\n<td><strong>date</strong></td>\n<td>String</td>\n<td>Release date in <code>MM/DD/YYYY</code> format.</td>\n</tr>\n<tr>\n<td><strong>notes</strong></td>\n<td>String</td>\n<td>Notes regarding the release.</td>\n</tr>\n<tr>\n<td><strong>shipping_information</strong></td>\n<td>String</td>\n<td>Shipping details related to the release.</td>\n</tr>\n<tr>\n<td><strong>release_items</strong></td>\n<td>Array</td>\n<td>List of released inventory items (can contain multiple objects).</td>\n</tr>\n<tr>\n<td><strong>created_at</strong></td>\n<td>String</td>\n<td>Timestamp when the release record was created (<code>MM/DD/YYYY</code>).</td>\n</tr>\n<tr>\n<td><strong>updated_at</strong></td>\n<td>String</td>\n<td>Timestamp when the release record was last updated (<code>MM/DD/YYYY</code>).</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"release-items-nested-inside-release_items-array\"><strong>Release Items (Nested Inside</strong> <strong><code>release_items</code></strong> <strong>Array)</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>Id</strong></td>\n<td>Integer</td>\n<td>Unique ID for the released inventory item.</td>\n</tr>\n<tr>\n<td><strong>released_quantity</strong></td>\n<td>Integer</td>\n<td>Quantity of the item that was released.</td>\n</tr>\n<tr>\n<td><strong>inventory_location</strong></td>\n<td>Object</td>\n<td>Information about the inventory location where the item was stored.</td>\n</tr>\n<tr>\n<td><strong>inventory_location.id</strong></td>\n<td>Integer</td>\n<td>ID of the inventory location.</td>\n</tr>\n<tr>\n<td><strong>inventory_location.name</strong></td>\n<td>String</td>\n<td>Name of the inventory location.</td>\n</tr>\n<tr>\n<td><strong>inventory_account_detail</strong></td>\n<td>Object</td>\n<td>Details of the inventory account associated with the release.  <br />which contains following keys:  <br />1. Account ID  <br />2. Account Name</td>\n</tr>\n<tr>\n<td><strong>inventory_account_detail.account_id</strong></td>\n<td>Integer</td>\n<td>ID of the inventory account.</td>\n</tr>\n<tr>\n<td><strong>inventory_account_detail.account_name</strong></td>\n<td>String</td>\n<td>Name of the inventory account.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v2","inventories","1552","releases"],"host":["myprocuredesk","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"06e7fc63-539c-48e0-837b-48fa7d8cb1a1"},{"name":"Create onhand Location","id":"b6331237-5043-4765-ab57-fbe92e76754f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"inventory_id\": 40,\n  \"inventory_location\": [\n    {\n      \"id\": 46,\n      \"on_hand\": 100,\n      \"unit_price\": 25.5\n    },\n    {\n      \"id\": 71,\n      \"on_hand\": 50,\n      \"unit_price\": 30\n    },\n    {\n      \"id\": 22,\n      \"on_hand\": 75,\n      \"unit_price\": 22.25\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://dev.procuredesk.com/api/v2/on_hand_inventories","description":"<h2 id=\"add-on-hand-inventory\">Add On-Hand Inventory</h2>\n<p>This endpoint allows you to add on-hand inventory details to the system.</p>\n<h3 id=\"request-body-parameters\">Request Body Parameters</h3>\n<p>The request body should be in JSON format and include the following parameters:</p>\n<ul>\n<li><p><strong>inventory_id</strong> (integer): The unique identifier for the inventory item you are adding.</p>\n</li>\n<li><p><strong>inventory_location</strong> (array of objects): A list of locations where the inventory is stored. Each object in the array should contain:</p>\n<ul>\n<li><p><strong>id</strong> (integer): The unique identifier for the inventory location.</p>\n</li>\n<li><p><strong>on_hand</strong> (integer): The quantity of the inventory item that is currently on hand at the specified location.</p>\n</li>\n<li><p><strong>unit_price</strong> (float): The price per unit of the inventory item.</p>\n</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"example-request-body\">Example Request Body</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"inventory_id\": 40,\n  \"inventory_location\": [\n    {\n      \"id\": 46,\n      \"on_hand\": 100,\n      \"unit_price\": 25.5\n    }\n  ]\n}\n\n</code></pre>\n<h3 id=\"expected-response\">Expected Response</h3>\n<p>Upon successful addition of the inventory, the API will return a confirmation response indicating the status of the operation. The response will typically include a success message and may also return the details of the added inventory item.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"status\": true,\n    \"message\": \"Inventory on hand created successfully\",\n    \"records_created\": 3\n}\n\n</code></pre>\n<h3 id=\"notes\">Notes</h3>\n<ul>\n<li><p>Ensure that the <code>inventory_id</code> and <code>inventory_location</code> details are accurate to avoid errors during the addition process.</p>\n</li>\n<li><p>This endpoint may require appropriate authentication headers to be included in the request.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","v2","on_hand_inventories"],"host":["dev","procuredesk","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"b6331237-5043-4765-ab57-fbe92e76754f"},{"name":"Update onhand Location","id":"b94fe6fe-f849-4e10-b51f-e166fa1996a4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"inventory_location\": [\n    {\n      \"id\": \"120\",\n      \"on_hand\": \"123\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://myprocuredesk.com/api/v2/inventories/{item_number}/update_on_hand","description":"<h3 id=\"api-request-description\">API Request Description</h3>\n<p>This HTTP PUT request is used to update the on-hand quantity of items in a specified inventory location.</p>\n<p><strong>Purpose:</strong><br />To modify the available quantity of a specific item at a given inventory location.</p>\n<p><strong>Endpoint:</strong><br /><code>/api/v2/inventories/{item_number}/update_on_hand</code></p>\n<p><strong>Payload Body Structure:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"inventory_location\": [\n    {\n      \"id\": \"120\",\n      \"on_hand\": \"123\"\n    }\n  ]\n}\n\n</code></pre>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>inventory_location</strong></td>\n<td>Array of objects containing inventory location details.</td>\n</tr>\n<tr>\n<td><strong>inventory_location -&gt; id</strong></td>\n<td>ID of the inventory location being updated.</td>\n</tr>\n<tr>\n<td><strong>inventory_location -&gt; on_hand</strong></td>\n<td>Quantity to be updated for the specified location.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Sample Request:</strong><br /><code>https://myprocuredesk.com/api/v2/inventories/1552/update_on_hand</code></p>\n<hr />\n<p><strong>Sample Response:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"status\": true,\n    \"message\": \"Inventory on hand updated Successfully\"\n}\n\n</code></pre>\n","urlObject":{"protocol":"https","path":["api","v2","inventories","{item_number}","update_on_hand"],"host":["myprocuredesk","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"b94fe6fe-f849-4e10-b51f-e166fa1996a4"},{"name":"Lot Tracking Details","id":"7d65ed57-e12d-4728-aa88-b6250dbb5986","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://myprocuredesk.com/api/v2/inventories/1552/lot_trackings","description":"<p><strong>Method</strong>:<br /><code>GET</code></p>\n<p><strong>Endpoint</strong>:<br /><code>/api/v2/inventories/{inventory_id}/lot_trackings</code></p>\n<h3 id=\"request-parameters\">Request Parameters:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Mandatory</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>max_results</td>\n<td>Integer</td>\n<td>No</td>\n<td>The maximum number of results per page</td>\n</tr>\n<tr>\n<td>page</td>\n<td>Integer</td>\n<td>No</td>\n<td>The page number for pagination</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Sample Request:</strong><code>/api/v2/inventories/{inventory_id}/lot_trackings</code></p>\n<p><strong>Sample Response</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": true,\n  \"result\": [\n    {\n      \"id\": 146,\n      \"receipt_number\": \"30000052\",\n      \"lot_number\": \"d\",\n      \"received_quantity\": 3,\n      \"received_on\": \"01/15/2025\",\n      \"expiration_date\": \"01/15/2025\"\n    },\n    {\n      \"id\": 147,\n      \"receipt_number\": \"30000052\",\n      \"lot_number\": \"dqw\",\n      \"received_quantity\": 2,\n      \"received_on\": \"01/15/2025\",\n      \"expiration_date\": \"01/15/2025\"\n    },\n    {\n      \"id\": 148,\n      \"receipt_number\": \"30000052\",\n      \"lot_number\": \"cas\",\n      \"received_quantity\": 1,\n      \"received_on\": \"01/15/2025\",\n      \"expiration_date\": \"01/15/2025\"\n    },\n    {\n      \"id\": 149,\n      \"receipt_number\": \"30000052\",\n      \"lot_number\": \"test\",\n      \"received_quantity\": 1,\n      \"received_on\": \"01/15/2025\",\n      \"expiration_date\": \"\"\n    }\n  ]\n}\n\n</code></pre>\n<h3 id=\"response-fields\">Response Fields:</h3>\n<p><strong>Root Fields:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Data Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>status</strong></td>\n<td>Boolean</td>\n<td>Indicates whether the request was successful (<code>true</code> or <code>false</code>).</td>\n</tr>\n<tr>\n<td><strong>result</strong></td>\n<td>Array</td>\n<td>Contains a list of lot tracking objects.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Result Object Structure:</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>id</strong></td>\n<td>Unique identifier for the lot tracking entry.</td>\n</tr>\n<tr>\n<td><strong>receipt_number</strong></td>\n<td>Receipt reference number associated with the received inventory.</td>\n</tr>\n<tr>\n<td><strong>lot_number</strong></td>\n<td>Lot number assigned to this particular batch of received items.</td>\n</tr>\n<tr>\n<td><strong>received_quantity</strong></td>\n<td>Total quantity of items received in this lot.</td>\n</tr>\n<tr>\n<td><strong>received_on</strong></td>\n<td>Date on which the items were received.</td>\n</tr>\n<tr>\n<td><strong>expiration_date</strong></td>\n<td>Expiration date of the lot (if applicable).</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v2","inventories","1552","lot_trackings"],"host":["myprocuredesk","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"7d65ed57-e12d-4728-aa88-b6250dbb5986"},{"name":"Assets Details","id":"971a4461-43ef-46a2-b79e-f57bb6c79d4c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://myprocuredesk.com/api/v2/inventories/1552/asset_tags","description":"<p><strong>Method:</strong></p>\n<p><code>GET</code></p>\n<p><strong>Endpoint:</strong></p>\n<p><code>/api/v2/inventories/1552/asset_tags?max_results=2&amp;page=1</code></p>\n<h3 id=\"request-parameters\"><strong>Request Parameters:</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Mandatory</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>max_results</strong></td>\n<td>Integer</td>\n<td>No</td>\n<td>Specifies the maximum number of results per page. (Example: <code>2</code>)</td>\n</tr>\n<tr>\n<td><strong>page</strong></td>\n<td>Integer</td>\n<td>No</td>\n<td>Specifies the page number for pagination. (Example: <code>1</code>)</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<p><strong>Sample Request:</strong></p>\n<p><code>https://myprocuredesk.com/api/v2/inventories/1552/asset_tags</code></p>\n<p><strong>Sample Response:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": true,\n  \"result\": [\n    {\n      \"id\": 346,\n      \"receipt_number\": \"30000052\",\n      \"serial_no\": \"cwe\",\n      \"quantity\": 1,\n      \"receipt_date\": \"01/15/2025\"\n    },\n    {\n      \"id\": 347,\n      \"receipt_number\": \"30000052\",\n      \"serial_no\": \"dw\",\n      \"quantity\": 1,\n      \"receipt_date\": \"01/15/2025\"\n    },\n    {\n      \"id\": 348,\n      \"receipt_number\": \"30000052\",\n      \"serial_no\": \"cwed\",\n      \"quantity\": 1,\n      \"receipt_date\": \"01/15/2025\"\n    },\n    {\n      \"id\": 349,\n      \"receipt_number\": \"30000052\",\n      \"serial_no\": \"cw\",\n      \"quantity\": 1,\n      \"receipt_date\": \"01/15/2025\"\n    },\n    {\n      \"id\": 350,\n      \"receipt_number\": \"30000052\",\n      \"serial_no\": \"acs\",\n      \"quantity\": 1,\n      \"receipt_date\": \"01/15/2025\"\n    }\n  ]\n}\n\n</code></pre>\n<h3 id=\"root-fields\"><strong>Root Fields:</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Data Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>status</strong></td>\n<td>Boolean</td>\n<td>Indicates whether the request was successful (<code>true</code> or <code>false</code>).</td>\n</tr>\n<tr>\n<td><strong>result</strong></td>\n<td>Array</td>\n<td>Contains a list of asset tags objects.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"result-object-structure\">Result Object Structure:</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Data Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>id</strong></td>\n<td>Integer</td>\n<td>A unique identifier for each asset tag.</td>\n</tr>\n<tr>\n<td><strong>receipt_number</strong></td>\n<td>String</td>\n<td>The reference number of the receipt to which the asset belongs.</td>\n</tr>\n<tr>\n<td><strong>serial_no</strong></td>\n<td>String</td>\n<td>The serial number assigned to the asset for tracking purposes.</td>\n</tr>\n<tr>\n<td><strong>quantity</strong></td>\n<td>Integer</td>\n<td>The number of units received under this asset tag entry.</td>\n</tr>\n<tr>\n<td><strong>receipt_date</strong></td>\n<td>String (Date)</td>\n<td>The date the asset was received, formatted as <code>YYYY/MM/DD</code> or <code>MM/DD/YYYY</code>.</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v2","inventories","1552","asset_tags"],"host":["myprocuredesk","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"971a4461-43ef-46a2-b79e-f57bb6c79d4c"},{"name":"Receipt Details","id":"6a3d06f1-d883-43e1-800e-2057a4ed8054","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://myprocuredesk.com/api/v2/inventories/1552/receipts","description":"<p><strong>Method</strong>:<br /><code>GET</code></p>\n<p><strong>Endpoint</strong>:<br /><code>/api/v2/inventories/{inventory_id}/receipts</code></p>\n<h3 id=\"request-parameters\"><strong>Request Parameters:</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Mandatory</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>max_results</code></td>\n<td>Integer</td>\n<td>No</td>\n<td>Maximum number of results to return per page. Example: <code>2</code>.</td>\n</tr>\n<tr>\n<td><code>page</code></td>\n<td>Integer</td>\n<td>No</td>\n<td>Specifies the page number to fetch. Leave blank for the first page.</td>\n</tr>\n</tbody>\n</table>\n</div><p><strong>Sample Request:</strong></p>\n<p><code>https://myprocuredesk.com/api/v2/inventories/1552/receipts</code></p>\n<p><strong>Sample Response:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": true,\n  \"result\": [\n    {\n      \"receipt_no\": \"30000013\",\n      \"received_date\": \"12/30/2024\",\n      \"unit_price\": 10000,\n      \"ordered_qty\": 1,\n      \"received_qty\": 5,\n      \"uom\": \"EACH\",\n      \"created_at\": \"12/30/2024\"\n    },\n    {\n      \"receipt_no\": \"30000052\",\n      \"received_date\": \"01/15/2025\",\n      \"unit_price\": 10000,\n      \"ordered_qty\": 10,\n      \"received_qty\": 10,\n      \"uom\": \"EACH\",\n      \"created_at\": \"01/15/2025\"\n    },\n    {\n      \"receipt_no\": \"30000061\",\n      \"received_date\": \"02/28/2025\",\n      \"unit_price\": 10000,\n      \"ordered_qty\": 100,\n      \"received_qty\": 50,\n      \"uom\": \"EACH\",\n      \"created_at\": \"02/28/2025\"\n    },\n    {\n      \"receipt_no\": \"30000062\",\n      \"received_date\": \"02/28/2025\",\n      \"unit_price\": 10000,\n      \"ordered_qty\": 100,\n      \"received_qty\": 50,\n      \"uom\": \"EACH\",\n      \"created_at\": \"02/28/2025\"\n    },\n    {\n      \"receipt_no\": \"30000063\",\n      \"received_date\": \"02/28/2025\",\n      \"unit_price\": 10000,\n      \"ordered_qty\": 100,\n      \"received_qty\": 50,\n      \"uom\": \"EACH\",\n      \"created_at\": \"02/28/2025\"\n    },\n    {\n      \"receipt_no\": \"30000064\",\n      \"received_date\": \"02/28/2025\",\n      \"unit_price\": 10000,\n      \"ordered_qty\": 100,\n      \"received_qty\": 50,\n      \"uom\": \"EACH\",\n      \"created_at\": \"02/28/2025\"\n    }\n  ]\n}\n\n</code></pre>\n<h3 id=\"root-fields\"><strong>Root Fields:</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>status</strong></td>\n<td>Boolean</td>\n<td>Indicates if the request was successful (<code>true</code> or <code>false</code>).</td>\n</tr>\n<tr>\n<td><strong>result</strong></td>\n<td>Array</td>\n<td>List of receipts with detailed information.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"result-object-structure\"><strong>Result Object Structure:</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field Name</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>receipt_no</strong></td>\n<td>String</td>\n<td>Unique receipt number.</td>\n</tr>\n<tr>\n<td><strong>received_date</strong></td>\n<td>String</td>\n<td>Date when the item was received (<code>MM/DD/YYYY</code>).</td>\n</tr>\n<tr>\n<td><strong>unit_price</strong></td>\n<td>Number</td>\n<td>Price per unit of the received item.</td>\n</tr>\n<tr>\n<td><strong>ordered_qty</strong></td>\n<td>Number</td>\n<td>Total quantity that was ordered.</td>\n</tr>\n<tr>\n<td><strong>received_qty</strong></td>\n<td>Number</td>\n<td>Quantity that was actually received.</td>\n</tr>\n<tr>\n<td><strong>uom</strong></td>\n<td>String</td>\n<td>Unit of Measure (e.g., \"EACH\").</td>\n</tr>\n<tr>\n<td><strong>created_at</strong></td>\n<td>String</td>\n<td>Date when the receipt was created (<code>MM/DD/YYYY</code>).</td>\n</tr>\n</tbody>\n</table>\n</div>","urlObject":{"protocol":"https","path":["api","v2","inventories","1552","receipts"],"host":["myprocuredesk","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"6a3d06f1-d883-43e1-800e-2057a4ed8054"},{"name":"Show Method","id":"43ce3175-0566-42bb-90ad-a068c4172fd2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://myprocuredesk.com/api/v2/inventories/1552","description":"<p><strong>Method</strong>:<br /><code>GET</code></p>\n<p><strong>Endpoint</strong>:<br /><code>/api/v2/inventories/{inventory_id}</code></p>\n<p><strong>Sample Request:</strong></p>\n<p><code>https://myprocuredesk.com/api/v2/inventories/1552</code></p>\n<p><strong>Sample Response:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">Response -  \n{  \n  \"status\": true,  \n  \"result\": {  \n    \"id\": 1552,  \n    \"item_name\": \"TV\",  \n    \"on_hand\": \"195.0\",  \n    \"supplier_name\": \"Test Supplier\",  \n    \"supplier_item_no\": \"Supplier Item Number\",  \n    \"manufacturer_name\": \"MFR name\",  \n    \"manufacturer_no\": \"MFR Part #\",  \n    \"item_no\": \"1\",  \n    \"on_hand_locations\": [  \n      {  \n        \"location_id\": 58,  \n        \"location\": \"J&amp;K\",  \n        \"quantity\": 0  \n      },  \n      {  \n        \"location_id\": 247,  \n        \"location\": \"Goa\",  \n        \"quantity\": 10  \n      },  \n      {  \n        \"location_id\": 269,  \n        \"location\": \"Test\",  \n        \"quantity\": 0  \n      },  \n      {  \n        \"location_id\": 59,  \n        \"location\": \"Hydrabad\",  \n        \"quantity\": 0  \n      },  \n      {  \n        \"location_id\": 44,  \n        \"location\": \"Mumbai\",  \n        \"quantity\": 119  \n      },  \n      {  \n        \"location_id\": 47,  \n        \"location\": \"Delhi\",  \n        \"quantity\": 5  \n      },  \n      {  \n        \"location_id\": 268,  \n        \"location\": \"HQ\",  \n        \"quantity\": 50  \n      },  \n      {  \n        \"location_id\": 45,  \n        \"location\": \"Jaipur\",  \n        \"quantity\": 11  \n      }  \n    ],  \n    \"released_quantity\": 137,  \n    \"return_quantity\": 136,  \n    \"remaining_return_qty\": 1,  \n    \"quickbook_inventory_adjustment\": {  \n      \"enable_quickbook\": true,  \n      \"default_account_id\": 2111  \n    },  \n    \"project_code_flag\": true  \n  }  \n}  \n\n</code></pre>\n<hr />\n<h3 id=\"response-fields-explained\">Response Fields Explained</h3>\n<h4 id=\"root-fields\">Root Fields</h4>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>status</strong></td>\n<td>Boolean</td>\n<td>Indicates whether the API request was successful.</td>\n</tr>\n<tr>\n<td><strong>result</strong></td>\n<td>Hash</td>\n<td>Contains the details of Inventory.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"inventory-details-response\"><strong>Inventory Details Response</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>id</strong></td>\n<td>Unique ID of the inventory item.</td>\n</tr>\n<tr>\n<td><strong>item_name</strong></td>\n<td>Name of the inventory item.</td>\n</tr>\n<tr>\n<td><strong>on_hand</strong></td>\n<td>Total quantity available in stock.</td>\n</tr>\n<tr>\n<td><strong>supplier_name</strong></td>\n<td>Name of the supplier providing the item.</td>\n</tr>\n<tr>\n<td><strong>supplier_item_no</strong></td>\n<td>Supplier's unique item number.</td>\n</tr>\n<tr>\n<td><strong>manufacturer_name</strong></td>\n<td>Name of the manufacturer.</td>\n</tr>\n<tr>\n<td><strong>manufacturer_no</strong></td>\n<td>Manufacturer's part number.</td>\n</tr>\n<tr>\n<td><strong>item_no</strong></td>\n<td>Internal item number in the system.</td>\n</tr>\n<tr>\n<td><strong>on_hand_locations</strong></td>\n<td>This is an array which contains multiple hash objects which contains following information:  <br />1. Location ID  <br />2. Location  <br />3. Quantity (On Hand Quantity)</td>\n</tr>\n<tr>\n<td><strong>released_quantity</strong></td>\n<td>Quantity of the item that has been released for use.</td>\n</tr>\n<tr>\n<td><strong>return_quantity</strong></td>\n<td>Quantity of the item returned.</td>\n</tr>\n<tr>\n<td><strong>remaining_return_qty</strong></td>\n<td>Remaining quantity that can still be returned.</td>\n</tr>\n<tr>\n<td><strong>project_code_flag</strong></td>\n<td>Indicates if the item is linked to a project code.</td>\n</tr>\n<tr>\n<td><strong>quickbook_inventory_adjustment</strong></td>\n<td>This is a hash which contains following fields:  <br />1. enable_quickbook  <br />2. default_account_id</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"on-hand-locations-breakdown\"><strong>On-Hand Locations Breakdown</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>location_id</strong></td>\n<td>Inventory Location ID</td>\n</tr>\n<tr>\n<td><strong>location</strong></td>\n<td>Name of the inventory location</td>\n</tr>\n<tr>\n<td><strong>quantity</strong></td>\n<td>On Hand Quantity</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n<h3 id=\"quickbooks-inventory-adjustment\"><strong>QuickBooks Inventory Adjustment</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Field</strong></th>\n<th><strong>Value</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>enable_quickbook</strong></td>\n<td><code>true</code></td>\n<td>Indicates if QuickBooks integration is enabled.</td>\n</tr>\n<tr>\n<td><strong>default_account_id</strong></td>\n<td><code>2111</code></td>\n<td>Default account ID for QuickBooks inventory adjustment.</td>\n</tr>\n</tbody>\n</table>\n</div><hr />\n","urlObject":{"protocol":"https","path":["api","v2","inventories","1552"],"host":["myprocuredesk","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"43ce3175-0566-42bb-90ad-a068c4172fd2"},{"name":"List of Inventory Items","id":"62f1387f-0772-4eae-bc31-2609324346fa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://myprocuredesk.com/api/v2/inventories/list","description":"<p>This endpoint makes an HTTP GET request to retrieve a list of inventories from the ProcureDesk API.</p>\n<h3 id=\"request\">Request</h3>\n<p>No request body is required for this endpoint. The request is sent to the following URL:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>https://myprocuredesk.com/api/v2/inventories/list\n\n</code></pre><h3 id=\"response\">Response</h3>\n<p>The response will include a list of inventories with details such as inventory ID, name, quantity, and other relevant information.</p>\n","urlObject":{"protocol":"https","path":["api","v2","inventories","list"],"host":["myprocuredesk","com"],"query":[{"disabled":true,"key":"max_results","value":null},{"disabled":true,"key":"page","value":null}],"variable":[]}},"response":[],"_postman_id":"62f1387f-0772-4eae-bc31-2609324346fa"},{"name":"Create Inventory Location","id":"3352d2a8-fc5b-44d5-a041-a7be2c62cc98","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"inventory_locations\": [\n    {\n      \"name\": \"Warehouse A\",\n      \"details\": \"Main storage facility\",\n      \"status\": true\n    },\n    {\n      \"name\": \"Warehouse B\",\n      \"details\": \"Secondary storage\",\n      \"status\": true\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://myprocuredesk.com/api/v2/inventory_locations","description":"<h2 id=\"add-inventory-location\">Add Inventory Location</h2>\n<p>This endpoint allows users to add a new inventory location to the system.</p>\n<h3 id=\"http-method\">HTTP Method</h3>\n<p><code>POST</code></p>\n<h3 id=\"endpoint\">Endpoint</h3>\n<p><code>https://myprocuredesk.com/api/v2/inventory_locations</code></p>\n<h3 id=\"request-body\">Request Body</h3>\n<p>The request must include a JSON object containing the <code>inventory_locations</code> key, which is an array of objects. Each object in the array must have the following parameters:</p>\n<ul>\n<li><p><code>name</code> (string): The name of the inventory location.</p>\n</li>\n<li><p><code>details</code> (string): A description of the inventory location. This field provides additional context.</p>\n</li>\n<li><p><code>status</code> (boolean): Indicates whether the inventory location is active or inactive.</p>\n</li>\n</ul>\n<h4 id=\"example-request-body\">Example Request Body</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"inventory_locations\": [\n    {\n      \"name\": \"Warehouse A\",\n      \"details\": \"Main storage facility\",\n      \"status\": true\n    }\n  ]\n}\n\n</code></pre>\n<h3 id=\"expected-response\">Expected Response</h3>\n<p>Upon successfully adding the inventory location, the API will return a response in JSON format, typically containing the details of the created inventory location, including its unique identifier and the values provided in the request.</p>\n<h3 id=\"response-format\">Response Format</h3>\n<p>The response will include:</p>\n<ul>\n<li><p>A confirmation of the successful addition of the inventory location.</p>\n</li>\n<li><p>The details of the created inventory location, including the <code>id</code>, <code>name</code>, <code>details</code>, <code>status</code>, <code>created_at</code>, and <code>updated_at</code>.</p>\n</li>\n</ul>\n<p>This endpoint is essential for managing inventory locations within the application, ensuring users can effectively organize their inventory.</p>\n","urlObject":{"protocol":"https","path":["api","v2","inventory_locations"],"host":["myprocuredesk","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"3352d2a8-fc5b-44d5-a041-a7be2c62cc98"},{"name":"Update Inventory Location","id":"9978afdb-174e-4389-9bb0-4e806fed8890","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"inventory_locations\": [\n    {\n      \"id\": 73,\n      \"name\": \"Warehouse Test Plate\",\n      \"details\": \"Main storage facility Important\",\n      \"status\": true\n    },\n    {\n      \"id\": 74,\n      \"name\": \"Warehouse Best\",\n      \"details\": \"Secondary storage - Not Include\",\n      \"status\": true\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"https://myprocuredesk.com/api/v2/inventory_locations","description":"<h2 id=\"put-inventory-location\">PUT Inventory Location</h2>\n<p>This endpoint allows you to update an existing inventory location in the system by sending a PUT request to the specified URL with the appropriate inventory location ID. This operation is essential for maintaining accurate and up-to-date information regarding inventory locations.</p>\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<p>The request body must be in JSON format and should contain the following parameters:</p>\n<ul>\n<li><p><code>inventory_locations</code>: An array of objects representing the inventory locations to be updated.</p>\n<ul>\n<li><p><code>id</code> (integer): The unique identifier of the inventory location that you wish to update.</p>\n</li>\n<li><p><code>name</code> (string): The name of the inventory location.</p>\n</li>\n<li><p><code>details</code> (string): A description providing additional information about the location.</p>\n</li>\n<li><p><code>status</code> (boolean): The current status of the inventory location, indicating whether it is active or inactive.</p>\n</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"example-request-body\">Example Request Body</h3>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"inventory_locations\": [\n    {\n      \"id\": 73,\n      \"name\": \"Warehouse Test Plate\",\n      \"details\": \"Main storage facility Importan ...\",\n      \"status\": true\n    }\n  ]\n}\n\n</code></pre>\n<h3 id=\"response-structure\">Response Structure</h3>\n<p>Upon successful completion of the request, the server will respond with a status code indicating the result of the operation. The response typically includes the updated inventory location details, confirming that the changes have been applied.</p>\n<h3 id=\"expected-response\">Expected Response</h3>\n<p>The response will generally contain the updated inventory location object with the same structure as the request, ensuring that the client has the latest information.</p>\n<p>This endpoint is crucial for maintaining accurate and up-to-date information regarding inventory locations in the system.</p>\n","urlObject":{"protocol":"https","path":["api","v2","inventory_locations"],"host":["myprocuredesk","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"9978afdb-174e-4389-9bb0-4e806fed8890"}],"id":"f88410de-66aa-4051-9b17-531e56e51185","_postman_id":"f88410de-66aa-4051-9b17-531e56e51185","description":""},{"name":"Request","item":[{"name":"Create","id":"864a4614-0891-4ae4-a795-ddf8e88c069f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"request_purchase\": {\n    \"delivery_contact\": \"Test User\",\n    \"project_code\": \"Project Code Test\",\n    \"name\": \"Description Name\",\n    \"contact\": \"Test User\",\n    \"business_unit\": \"Sample Business unit\",\n    \"department\": \"Administration\",\n    \"requisition_type\": \"Quote request\",\n    \"payment_method\": \"ACH\",\n    \"request_items_attributes\": [\n      {\n        \"category\": \"Test\",\n        \"source_from\": \"vendor\",\n        \"quantity\": 2,\n        \"unit_price\": 100,\n        \"notes\": \"ABC\",\n        \"match_type\": \"material\",\n        \"supplier\": \"Sample Suppliers\",\n        \"uom_master\": \"EA\",\n        \"description\": \"Test REQ 1\",\n        \"supplier_item_no\": 736683,\n        \"budget_value_breakup_name\": \"Line 1 / Line 2: Line 3\",\n        \"required_date\": \"03/20/2025\",\n        \"item_name\": \"Ssample item name\",\n        \"item_no\": \"123\"\n      }\n    ]\n  }\n}\n","options":{"raw":{"language":"json"}}},"url":"https://myprocuredesk.com/api/v2/requests","urlObject":{"protocol":"https","path":["api","v2","requests"],"host":["myprocuredesk","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"864a4614-0891-4ae4-a795-ddf8e88c069f"},{"name":"Update","id":"a7274cf9-96a8-462b-9037-92254066bdd2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"request_purchase\": {\n    \"delivery_contact\": \"Utkarsh\",\n    \"project_codes\": \"cddcdcdt\",\n    \"name\": \"XYXY-update\",\n    \"contact\": \"ANNNN\",\n    \"business_unit\": \"Mobile App\",\n    \"requisition_type\": \"Purchase request\",\n    \"payment_method\": \"CARD\",\n    \"state\": \"approved\",\n    \"department\": \"Finance\",\n    \"request_items_attributes\": [\n      {\n        \"id\": 16014,\n        \"category\": \"aop\",\n        \"default_account_id\": \"448\",\n        \"source_from\": \"vendor\",\n        \"quantity\": 3,\n        \"unit_price\": 100,\n        \"notes\": \"ABC-update\",\n        \"match_type\": \"material\",\n        \"class\": \"aaaa\",\n        \"project_code\": \"cddcdcdt\",\n        \"supplier\": \"BHPhoto\",\n        \"uom_master\": \"BX\",\n        \"description\": \"Test REQ 1-update\",\n        \"supplier_item_no\": 12127366830,\n        \"budget_value_breakup_name\": \"Expense / Test: EPNS\",\n        \"required_date\": \"03/20/2025\",\n        \"item_name\": \"Dhanus-update\",\n        \"item_no\": \"123\"\n      }\n    ]\n  }\n}\n","options":{"raw":{"language":"json"}}},"url":"https://dev.procuredesk.com/api/v2/requests/13667","urlObject":{"protocol":"https","path":["api","v2","requests","13667"],"host":["dev","procuredesk","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"a7274cf9-96a8-462b-9037-92254066bdd2"},{"name":"Read All","id":"71a567fd-70bb-4d57-ba1e-44d18a71d97d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://myprocuredesk.com/api/v2/requests","urlObject":{"protocol":"https","path":["api","v2","requests"],"host":["myprocuredesk","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"71a567fd-70bb-4d57-ba1e-44d18a71d97d"}],"id":"8267d1b2-ad08-4986-a945-726007770a8c","_postman_id":"8267d1b2-ad08-4986-a945-726007770a8c","description":""},{"name":"Approver","item":[{"name":"New Request","id":"05d5723d-e1dd-4bef-84e9-6193523cb7de","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"05d5723d-e1dd-4bef-84e9-6193523cb7de"},{"name":"New Request","id":"3b1108a5-191c-47c5-9d7a-7d7b15c28840","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n  \"approval\": {\n    \"approver_id\": 240\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://dev.procuredesk.com/api/v2/reassign_approvals/:id","urlObject":{"protocol":"https","path":["api","v2","reassign_approvals",":id"],"host":["dev","procuredesk","com"],"query":[],"variable":[{"type":"any","value":"210131","key":"id"}]}},"response":[],"_postman_id":"3b1108a5-191c-47c5-9d7a-7d7b15c28840"}],"id":"007e0b70-c0f0-47a3-956d-7c19a2cc4ea7","_postman_id":"007e0b70-c0f0-47a3-956d-7c19a2cc4ea7","description":""},{"name":"List tracking category","item":[{"name":"New Request","id":"48ea57e2-7e08-44a9-a6bc-d63ee9a518bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"https://staging.pdeskdemo.com/api/v2/masters/tracking_category?business_unit_id=254","urlObject":{"protocol":"https","path":["api","v2","masters","tracking_category"],"host":["staging","pdeskdemo","com"],"query":[{"key":"business_unit_id","value":"254"}],"variable":[]}},"response":[],"_postman_id":"48ea57e2-7e08-44a9-a6bc-d63ee9a518bc"}],"id":"c9102f4c-82aa-4d78-b30c-6f51b8a3c021","_postman_id":"c9102f4c-82aa-4d78-b30c-6f51b8a3c021","description":""},{"name":"order item","item":[{"name":"Pull orders","id":"afecda8a-30d2-4b2e-967f-7de326025cc7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"afecda8a-30d2-4b2e-967f-7de326025cc7"},{"name":"New Request","id":"a84ad241-75aa-4d34-925b-22470e418708","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"order_item\": {\n    \"notes\": \"werfwet\",\n    \"quantity\": \"1\",\n    \"item_description\": \"AAAAA\",\n    \"xero_categories_attributes\": [\n      {\n        \"tracking_category_id\": 35673,\n        \"label\": \"Location\",\n        \"value\": \"Test Location - Demo\"\n      },\n      {\n        \"tracking_category_id\": 35692,\n        \"label\": \"Project\",\n        \"value\": \"Mobile Platform Build\"\n      },\n      {\n        \"tracking_category_id\": 35755,\n        \"label\": \"Customer\",\n        \"value\": \"Entity 200\"\n      }\n      \n    ]\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://staging.pdeskdemo.com/api/v2/orders/:order_id/order_items","urlObject":{"protocol":"https","path":["api","v2","orders",":order_id","order_items"],"host":["staging","pdeskdemo","com"],"query":[],"variable":[{"type":"any","value":"39329","key":"order_id"}]}},"response":[],"_postman_id":"a84ad241-75aa-4d34-925b-22470e418708"}],"id":"471819a1-4bff-4c8a-82f8-887d20668c7a","_postman_id":"471819a1-4bff-4c8a-82f8-887d20668c7a","description":""}]}