{
  "info": {
    "_postman_id": "22b49aff-ff85-4c00-a46a-b87c76d41973",
    "name": "COVA_APIs_For_Integrators",
    "description": "<img src=\"https://content.pstmn.io/8626c468-980c-4d9f-b989-022c27e2beb5/aW1hZ2UucG5n\" alt=\"\" height=\"154\" width=\"691\">\n\n#### _Cova APIs are simple but powerful HTTP interfaces that are inspired by the REST architectural style. These are the same APIs that our internal development teams use to build products._\n\n#### _We are passionate about creating a great developer experience for you so please don’t hesitate to contact our API Support Team at_ [_apisupport@covasoftware.com_](mailto:apisupport@covasoftware.com) _with any feedback related to API design, usability, or features that you are interested to see._\n\n### Onboarding Package\n\nAs part of the onboarding process, you will receive an onboarding package from Cova.\n\nThis package provides you with credentials required to access COVA APIs.\n\nIf you need an onboarding package, contact [apisupport@covasoftware.com](mailto:apisupport@covasoftware.com)\n\n### Overview\n\nIn order to make authorized requests to COVA APIs, your application must first obtain an Access Token.\n\n### Authentication\n\nCOVA APIs are protected by OAuth2.\n\n### Rate Limiting\n\nRequests to the COVA APIs are limited to help to manage server load, ensuring that high API request volumes do not impact overall performance.\n\nThey also help to protect from deliberate or accidental denial of service as a result of APIs being flooded with requests.\n\nIf you run into the 429 Too Many Requests error, please contact support.\n\n#### Rate Limit Policies\n\nAll rate limits are applied per service, not aggregated across all services.\n\nThere are three rate limit policies that are applied to the APIs.\n\n#### Authenticated Limit\n\nThe Authenticated Limit policy determines how many Authenticated Requests can be made during the Rate Limit Window.\n\nAuthenticated Requests are made to COVA APIs that require authentication, and include an in the HTTP Header.\n\nTo determine the per-minute limit, make an Authenticated Request to an COVA API, then check the COVA-APIM-RateLimit-Limit HTTP Header of the response.\n\n#### Anonymous Limit\n\nThe Anonymous Limit policy determines how many Anonymous Requests can be made during the Rate Limit Window.\n\nAnonymous Requests are made to COVA APIs that do not require authentication.\n\nTo determine the per-minute limit, make an Anonymous Request to an COVA API, then check the COVA-APIM-RateLimit-Limit HTTP Header of the response.\n\n#### Rate Limit Window\n\nThe Rate Limit Window policy determines when the current rate limit will be reset.\n\nThe default window is 60 seconds\n\n#### HTTP Headers\n\nResponses from the COVA API’s may have the following headers\n\n\\* COVA-APIM-RateLimit-Limit - _The maximum number of requests allowed in the current rate limit window_  \n\\* COVA-APIM-RateLimit-Remaining - _The number of remaining requests allowed in the current rate limit window_  \n\\* COVA-APIM-RateLimit-Retry-After - _The number of seconds until the rate limit resets - only returned if you encounter an HTTP 429 - Too Many Requests status_\n\n#### Exceeding Rate Limit\n\nIf the rate limit is exceeded, the response will be 429 Too Many Requests and the service will not be able to make further requests until the quota resets.\n\n##### Example\n\n\\>HTTP/1.1 429 Too Many Requests  \nContent-Type: application/json  \nCOVA-APIM-RateLimit-Limit: 1000  \nCOVA-APIM-RateLimit-Retry-After: 41\n\nrate limit exceeded\n\n### Supported Response Formats\n\nMost COVA APIs support application/json response formats depending on the type of request. Documentation for each individual API will explicitly state which response formats are supported.\n\nWhen sending an API request, you can select the format to return by defining the value in the HTTP Accept header, using the syntax Accept: {ResponseFormat}.\n\nExample  \n\\>Accept: application/json\n\n### Versioning\n\nThe API version is shown in the endpoint’s URL (e.g. /v1). Newer API versions will be highlighted in their respective API reference documentation.\n\nShould there be a breaking change to an existing API, COVA will trigger a release of a newer version and notify stakeholders. Please take note that not all API versions will be backward compatible.",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
    "_exporter_id": "34604460"
  },
  "item": [
    {
      "name": "API Calls",
      "item": [
        {
          "name": "Authentication",
          "item": [
            {
              "name": "Obtaining an Access Token",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      "var data = JSON.parse(responseBody);",
                      "postman.setEnvironmentVariable(\"access_token\", data.access_token);",
                      "postman.setEnvironmentVariable(\"refresh_token\", data.refresh_token);"
                    ],
                    "type": "text/javascript"
                  }
                }
              ],
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Content-Type",
                    "value": "application/x-www-form-urlencoded",
                    "type": "text"
                  }
                ],
                "body": {
                  "mode": "urlencoded",
                  "urlencoded": [
                    {
                      "key": "grant_type",
                      "value": "password",
                      "type": "text"
                    },
                    {
                      "key": "username",
                      "value": "{{username}}",
                      "description": "Username given to you in the Onboarding Package",
                      "type": "text"
                    },
                    {
                      "key": "password",
                      "value": "{{password}}",
                      "description": "Password you entered in HUB when you updated your temporary password from your Onboarding Package",
                      "type": "text"
                    },
                    {
                      "key": "client_id",
                      "value": "{{client_id}}",
                      "description": "Client Id given to you in the Onboarding Package",
                      "type": "text"
                    },
                    {
                      "key": "client_secret",
                      "value": "{{client_secret}}",
                      "description": "Client Secrect given to you in the Onboarding Package",
                      "type": "text"
                    }
                  ]
                },
                "url": {
                  "raw": "https://accounts.iqmetrix.net/v1/oauth2/token",
                  "protocol": "https",
                  "host": [
                    "accounts",
                    "iqmetrix",
                    "net"
                  ],
                  "path": [
                    "v1",
                    "oauth2",
                    "token"
                  ]
                },
                "description": "# Obtaining an Access Token\r\n\r\nThis request will allow you to use the access credentials you received in your onboarding package to get an Access Token.\r\n\r\n## Notes\r\n>Each time this request is made, a new access token is created and returned\r\nas long as an access token is not expired, it can be used to authorize requests to ANY iQmetrix API\r\nWhen obtaining or refreshing an access token, ensure the request parameters (e.g. grant_type) are set in the body of the request."
              },
              "response": [
                {
                  "name": "Obtaining an Access Token",
                  "originalRequest": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Content-Type",
                        "value": "application/x-www-form-urlencoded",
                        "name": "Content-Type",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "urlencoded",
                      "urlencoded": [
                        {
                          "key": "grant_type",
                          "value": "password",
                          "type": "text"
                        },
                        {
                          "key": "username",
                          "value": "",
                          "description": "Username given to you in the Onboarding Package",
                          "type": "text"
                        },
                        {
                          "key": "password",
                          "value": "",
                          "description": "Password you entered in HUB when you updated your temporary password from your Onboarding Package",
                          "type": "text"
                        },
                        {
                          "key": "client_id",
                          "value": "",
                          "description": "Client Id given to you in the Onboarding Package",
                          "type": "text"
                        },
                        {
                          "key": "client_secret",
                          "value": "",
                          "description": "Client Secrect given to you in the Onboarding Package",
                          "type": "text"
                        }
                      ]
                    },
                    "url": {
                      "raw": "https://accounts.iqmetrix.net/v1/oauth2/token",
                      "protocol": "https",
                      "host": [
                        "accounts",
                        "iqmetrix",
                        "net"
                      ],
                      "path": [
                        "v1",
                        "oauth2",
                        "token"
                      ]
                    }
                  },
                  "status": "OK",
                  "code": 200,
                  "_postman_previewlanguage": "json",
                  "header": [
                    {
                      "key": "Cache-Control",
                      "value": "private,no-cache, no-store, must-revalidate"
                    },
                    {
                      "key": "Pragma",
                      "value": "no-cache"
                    },
                    {
                      "key": "Transfer-Encoding",
                      "value": "chunked"
                    },
                    {
                      "key": "Content-Type",
                      "value": "application/json; charset=utf-8"
                    },
                    {
                      "key": "Content-Encoding",
                      "value": "gzip"
                    },
                    {
                      "key": "Expires",
                      "value": "0"
                    },
                    {
                      "key": "Vary",
                      "value": "Accept-Encoding"
                    },
                    {
                      "key": "X-RateLimit-Limit",
                      "value": "1000000"
                    },
                    {
                      "key": "X-RateLimit-Remaining",
                      "value": "999994"
                    },
                    {
                      "key": "X-RateLimit-Reset",
                      "value": "2018-10-09T20:26:00.0000000Z"
                    },
                    {
                      "key": "X-RateLimit-ResetSeconds",
                      "value": "23"
                    },
                    {
                      "key": "Access-Control-Allow-Origin",
                      "value": "*"
                    },
                    {
                      "key": "Access-Control-Allow-Methods",
                      "value": "GET,OPTIONS,PATCH,POST,PUT,DELETE"
                    },
                    {
                      "key": "X-UA-Compatible",
                      "value": "IE=edge"
                    },
                    {
                      "key": "Arr-Disable-Session-Affinity",
                      "value": "true"
                    },
                    {
                      "key": "IQ-APIM-RateLimit-Limit",
                      "value": "3000"
                    },
                    {
                      "key": "X-AspNet-Version",
                      "value": "4.0.30319"
                    },
                    {
                      "key": "X-Powered-By",
                      "value": "ASP.NET"
                    },
                    {
                      "key": "Date",
                      "value": "Tue, 09 Oct 2018 20:25:36 GMT"
                    }
                  ],
                  "cookie": [],
                  "body": "{\n    \"access_token\": \"S1J0Yd_se2FL6HBhS70EYEtSTBg_HzgxIzoaNHkQTVEKCgAmIgQlDh4GQRIbYQIJGREHBDMGMTAyIz8NIhZMIwc3QgB_Jxc1cwc6\",\n    \"expires_in\": 43200,\n    \"refresh_token\": \"uRy1FGAT0zNoHwVtexlUUcCdXk3cjzrp\"\n}"
                }
              ]
            },
            {
              "name": "Logout Access Token",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "https://accounts.iqmetrix.net/logout?accessToken={{access_token}}",
                  "protocol": "https",
                  "host": [
                    "accounts",
                    "iqmetrix",
                    "net"
                  ],
                  "path": [
                    "logout"
                  ],
                  "query": [
                    {
                      "key": "accessToken",
                      "value": "{{access_token}}"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Me From Access Token",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "https://accounts.iqmetrix.net/v1/me",
                  "protocol": "https",
                  "host": [
                    "accounts",
                    "iqmetrix",
                    "net"
                  ],
                  "path": [
                    "v1",
                    "me"
                  ]
                }
              },
              "response": []
            }
          ],
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  ""
                ]
              }
            }
          ]
        },
        {
          "name": "Products",
          "item": [
            {
              "name": "Data Platform",
              "item": [
                {
                  "name": "Get Detailed Product Data",
                  "event": [
                    {
                      "listen": "test",
                      "script": {
                        "exec": [
                          "tests[\"Returns status code 200\"] = responseCode.code === 200;"
                        ],
                        "type": "text/javascript",
                        "packages": {}
                      }
                    }
                  ],
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}"
                      },
                      {
                        "key": "Content-Type",
                        "value": "application/json"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"LocationId\": null,//{{LocationId}},\r\n    \"IncludeProductSkusAndUpcs\": false,\r\n    \"IncludeProductSpecifications\": false,\r\n    \"IncludeClassifications\": true,\r\n    \"IncludeProductAssets\": false,\r\n    \"IncludeAvailability\": true,\r\n    \"IncludePackageDetails\": true,\r\n    \"IncludePricing\": true,\r\n    \"InStockOnly\": true,\r\n    \"SellingRoomOnly\": true,\r\n    \"IncludeAllLifecycles\": false,\r\n    \"Skip\": 0,\r\n    \"Top\": 500\r\n}"
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/dataplatform/v1/Companies/{{CompanyId}}/DetailedProductData",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "dataplatform",
                        "v1",
                        "Companies",
                        "{{CompanyId}}",
                        "DetailedProductData"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Get Detailed Product Data As Of",
                  "event": [
                    {
                      "listen": "test",
                      "script": {
                        "exec": [
                          "tests[\"Returns status code 200\"] = responseCode.code === 200;"
                        ],
                        "type": "text/javascript",
                        "packages": {}
                      }
                    },
                    {
                      "listen": "prerequest",
                      "script": {
                        "exec": [
                          "//see collection pre-request script for function definition\r",
                          "utils.set5MinAgo(postman);"
                        ],
                        "type": "text/javascript",
                        "packages": {}
                      }
                    }
                  ],
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}"
                      },
                      {
                        "key": "Content-Type",
                        "value": "application/json"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"LocationId\": null, //{{LocationId}},\r\n    \"IncludeProductSkusAndUpcs\": false,\r\n    \"IncludeProductSpecifications\": false,\r\n    \"IncludeClassifications\": true,\r\n    \"IncludeProductAssets\": false,\r\n    \"IncludeAvailability\": true,\r\n    \"IncludePackageDetails\": true,\r\n    \"IncludePricing\": true,\r\n    \"InStockOnly\": true,\r\n    \"SellingRoomOnly\": true,\r\n    \"IncludeAllLifecycles\": false,\r\n    \"Skip\": 0,\r\n    \"Top\": 500\r\n}"
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/dataplatform/v1/Companies/{{CompanyId}}/DetailedProductData/UpdatedAsOf/2023-10-10T15:20:09.000",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "dataplatform",
                        "v1",
                        "Companies",
                        "{{CompanyId}}",
                        "DetailedProductData",
                        "UpdatedAsOf",
                        "2023-10-10T15:20:09.000"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Get Detailed Product Data By Product Id List",
                  "event": [
                    {
                      "listen": "test",
                      "script": {
                        "exec": [
                          "tests[\"Returns status code 200\"] = responseCode.code === 200;"
                        ],
                        "type": "text/javascript",
                        "packages": {}
                      }
                    }
                  ],
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}"
                      },
                      {
                        "key": "Content-Type",
                        "value": "application/json"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"LocationId\": null, //{{LocationId}},\r\n    \"IncludeProductSkusAndUpcs\": false,\r\n    \"IncludeProductSpecifications\": false,\r\n    \"IncludeClassifications\": true,\r\n    \"IncludeProductAssets\": false,\r\n    \"IncludeAvailability\": true,\r\n    \"IncludePackageDetails\": true,\r\n    \"IncludePricing\": true,\r\n    \"InStockOnly\": true,\r\n    \"SellingRoomOnly\": true,\r\n    \"IncludeAllLifecycles\": false,\r\n    //500 productIds max\r\n    \"ProductIds\": [\r\n        \"{{CatalogItemId}}\"\r\n    ]\r\n}"
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/dataplatform/v1/Companies/{{CompanyId}}/DetailedProductData/ByProductIdList",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "dataplatform",
                        "v1",
                        "Companies",
                        "{{CompanyId}}",
                        "DetailedProductData",
                        "ByProductIdList"
                      ]
                    }
                  },
                  "response": []
                }
              ]
            },
            {
              "name": "Product Management",
              "item": [
                {
                  "name": "Create Regular Product",
                  "event": [
                    {
                      "listen": "prerequest",
                      "script": {
                        "type": "text/javascript",
                        "exec": [
                          "const moment = require('moment');\r\n\r\ndateval = moment().utc().format(\"YYYY-MM-DD\");\r\n\r\npm.environment.set(\"DateField_Value\", dateval);\r\n"
                        ]
                      }
                    },
                    {
                      "listen": "test",
                      "script": {
                        "type": "text/javascript",
                        "exec": [
                          "pm.test(\"Status code is 200\", function () {\r\n    pm.response.to.have.status(200);\r\n});"
                        ]
                      }
                    }
                  ],
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Content-Type",
                        "value": "application/json"
                      },
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"ProductName\": \"Most Awesome Pre-roll in History\",\r\n    \"ShortDescription\": \"A short description\",\r\n    \"LongDescription\": \"A longer description\",\r\n    \"IsBatchTracked\": true,\r\n    \"MeasurementType\": \"SingleUnit\",\r\n    \"RegularPrice\": 609.59,\r\n    \"Upcs\": [\r\n        {\r\n            \"Upc\": \"800000000001\",\r\n            \"Description\": \"Words\"\r\n        }\r\n    ],\r\n    \"Suppliers\": [\r\n        {\r\n            \"SupplierId\": 861970,\r\n            \"SupplierSku\": \"ABC123\"\r\n        },\r\n        {\r\n            \"SupplierSku\": \"NoSupplierHere\"\r\n        }\r\n    ],\r\n    \"Classification\": {\r\n        \"ClassificationId\": 200249,\r\n        \"ClassificationTreeId\": 100010\r\n    },\r\n    \"Specifications\": [\r\n        {\r\n            \"Id\": 100245,\r\n            \"Value\": \"Flower\"\r\n        },\r\n        {\r\n            \"Id\": 100248,\r\n            \"Value\": \"Selection 1,Selection 2\"\r\n        }\r\n    ],\r\n    \"MainImageUrl\": \"https://www.dropbox.com/scl/fi/9ad9adf97adg97adf9/awesomepreroll.jpg?rlkey=9ad08g97af987df&e=1&st=9labfbtc&raw=1\",\r\n    \"AdditionalImageUrls\": []\r\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/productmanagement/v1/companies/{{CompanyId}}/RegularProduct",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "productmanagement",
                        "v1",
                        "companies",
                        "{{CompanyId}}",
                        "RegularProduct"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Create Master Product With Variants",
                  "event": [
                    {
                      "listen": "prerequest",
                      "script": {
                        "type": "text/javascript",
                        "exec": [
                          "const moment = require('moment');\r\n\r\ndateval = moment().utc().format(\"YYYY-MM-DD\");\r\npm.environment.set(\"DateField_Value\", dateval);"
                        ]
                      }
                    },
                    {
                      "listen": "test",
                      "script": {
                        "type": "text/javascript",
                        "exec": [
                          "pm.test(\"Status code is 200\", function () {\r\n    pm.response.to.have.status(200);\r\n});\r\n\r\nvar jsonData = pm.response.json();\r\npm.environment.set(\"MasterProductId\", jsonData.MasterProductId);\r\n"
                        ]
                      }
                    }
                  ],
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Content-Type",
                        "value": "application/json"
                      },
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"MasterProductName\": \"The Master product name\",\r\n    \"Classification\": {\r\n        \"ClassificationId\": 200249,\r\n        \"ClassificationTreeId\": 100010\r\n    },\r\n    \"Specifications\": [\r\n        {\r\n            \"Id\": 100245,\r\n            \"Value\": \"Flower\"\r\n        },\r\n        {\r\n            \"Id\": 100248,\r\n            \"Value\": \"Selection 1,Selection 2\"\r\n        }\r\n    ],\r\n    \"MainImageUrl\": \"https://www.dropbox.com/scl/fi/9ad9adf97adg97adf9/awesomepreroll.jpg?rlkey=9ad08g97af987df&e=1&st=9labfbtc&raw=1\",\r\n    \"AdditionalImageUrls\": [],\r\n    \"Variants\": [\r\n        {\r\n            \"VariantProductName\": \"A Variant name\",\r\n            \"ShortDescription\": \"\",\r\n            \"LongDescription\": \"\",\r\n            \"IsBatchTracked\": true,\r\n            \"MeasurementType\": \"SingleUnit\",\r\n            \"RegularPrice\": 402.83,\r\n            \"Upcs\": [\r\n                {\r\n                    \"Upc\": \"some UPC\",\r\n                    \"Description\": \"Corporate\"\r\n                }\r\n            ],\r\n            \"Suppliers\": [\r\n                {\r\n                    \"SupplierId\": 861970,\r\n                    \"SupplierSku\": \"SupSku1\"\r\n                }\r\n            ],\r\n            \"Specifications\": [\r\n                {\r\n                    \"Id\": 100245,\r\n                    \"Value\": \"Flower\"\r\n                },\r\n                {\r\n                    \"Id\": 100248,\r\n                    \"Value\": \"Selection 1,Selection 2\"\r\n                }\r\n            ],\r\n            \"MainImageUrl\": \"https://www.dropbox.com/scl/fi/9ad9adf97adg97adf9/awesomepreroll.jpg?rlkey=9ad08g97af987df&e=1&st=9labfbtc&raw=1\"\r\n        }\r\n    ]\r\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/productmanagement/v1/companies/{{CompanyId}}/MasterProductWithVariants",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "productmanagement",
                        "v1",
                        "companies",
                        "{{CompanyId}}",
                        "MasterProductWithVariants"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Create Variant Product on existing Master",
                  "event": [
                    {
                      "listen": "prerequest",
                      "script": {
                        "type": "text/javascript",
                        "exec": [
                          "const moment = require('moment');\r\n\r\ndateval = moment().utc().format(\"YYYY-MM-DD\");\r\npm.environment.set(\"DateField_Value\", dateval);\r\n"
                        ]
                      }
                    },
                    {
                      "listen": "test",
                      "script": {
                        "type": "text/javascript",
                        "exec": [
                          "pm.test(\"Status code is 200\", function () {\r\n    pm.response.to.have.status(200);\r\n});"
                        ]
                      }
                    }
                  ],
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Content-Type",
                        "value": "application/json"
                      },
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n            \"VariantProductName\": \"A Variant name\",\r\n            \"ShortDescription\": \"\",\r\n            \"LongDescription\": \"\",\r\n            \"IsBatchTracked\": true,\r\n            \"MeasurementType\": \"SingleUnit\",\r\n            \"RegularPrice\": 402.83,\r\n            \"Upcs\": [\r\n                {\r\n                    \"Upc\": \"some UPC\",\r\n                    \"Description\": \"Corporate\"\r\n                }\r\n            ],\r\n            \"Suppliers\": [\r\n                {\r\n                    \"SupplierId\": 861970,\r\n                    \"SupplierSku\": \"SupSku1\"\r\n                }\r\n            ],\r\n            \"Specifications\": [\r\n                {\r\n                    \"Id\": 100245,\r\n                    \"Value\": \"Flower\"\r\n                },\r\n                {\r\n                    \"Id\": 100248,\r\n                    \"Value\": \"Selection 1,Selection 2\"\r\n                }\r\n            ],\r\n            \"MainImageUrl\": \"https://www.dropbox.com/scl/fi/9ad9adf97adg97adf9/awesomepreroll.jpg?rlkey=9ad08g97af987df&e=1&st=9labfbtc&raw=1\"\r\n        }",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/productmanagement/v1/companies/{{CompanyId}}/MasterProduct/{{MasterProductId}}/VariantProduct",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "productmanagement",
                        "v1",
                        "companies",
                        "{{CompanyId}}",
                        "MasterProduct",
                        "{{MasterProductId}}",
                        "VariantProduct"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Update Product",
                  "event": [
                    {
                      "listen": "test",
                      "script": {
                        "type": "text/javascript",
                        "exec": [
                          "pm.test(\"Status code is 200\", function () {\r\n    pm.response.to.have.status(200);\r\n});"
                        ]
                      }
                    }
                  ],
                  "request": {
                    "method": "PATCH",
                    "header": [
                      {
                        "key": "Content-Type",
                        "value": "application/json"
                      },
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"Name\": \"New name\",\r\n    \"Lifecycle\": \"Active\",\r\n    \"ShortDescription\": \"brief text\",\r\n    \"LongDescription\": \"longer marketing copy\",\r\n    \"Specifications\": {\r\n        \"Upserts\": [\r\n            {\r\n                \"Id\": 100250,\r\n                \"Value\": \"Blue\"\r\n            }\r\n        ],\r\n        \"Deletes\": []\r\n    },\r\n    \"Assets\": {\r\n        \"Adds\": [\r\n            \"https://example.com/extra.png\"\r\n        ],\r\n        \"Deletes\": [\r\n            \"0336721d-5d83-4c5d-bc5b-a0a495b94b72\"\r\n        ]\r\n    },\r\n    \"SupplierSkus\": {\r\n        \"Upserts\": [\r\n            {\r\n                \"SupplierId\": 7,\r\n                \"SupplierSku\": \"SKU-1\",\r\n                \"Description\": \"Supplier reference\"\r\n            }\r\n        ],\r\n        \"Deletes\": [\r\n            {\r\n                \"SupplierId\": 7,\r\n                \"SupplierSku\": \"OLD-SKU\"\r\n            }\r\n        ]\r\n    },\r\n    \"UPCs\": {\r\n        \"Upserts\": [\r\n            {\r\n                \"Upc\": \"001234567890\"\r\n            }\r\n        ],\r\n        \"Deletes\": [\r\n            {\r\n                \"Upc\": \"009876543210\"\r\n            }\r\n        ]\r\n    },\r\n    \"ManufacturerSkus\": {\r\n        \"Upserts\": [\r\n            {\r\n                \"Sku\": \"MFR-2\"\r\n            }\r\n        ],\r\n        \"Deletes\": [\r\n            {\r\n                \"Sku\": \"MFR-1\"\r\n            }\r\n        ]\r\n    }\r\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/productmanagement/v1/companies/{{CompanyId}}/Products/{{ProductId}}",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "productmanagement",
                        "v1",
                        "companies",
                        "{{CompanyId}}",
                        "Products",
                        "{{ProductId}}"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Reclassify master product",
                  "request": {
                    "method": "PUT",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"ClassificationId\": {{ClassificationId}}\r\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/productmanagement/v1/companies/{{CompanyId}}/Products/master/{{MasterProductId}}/reclassify",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "productmanagement",
                        "v1",
                        "companies",
                        "{{CompanyId}}",
                        "Products",
                        "master",
                        "{{MasterProductId}}",
                        "reclassify"
                      ]
                    }
                  },
                  "response": []
                }
              ]
            },
            {
              "name": "Miscellaneous",
              "item": [
                {
                  "name": "Rooms",
                  "item": [
                    {
                      "name": "Get Rooms for a Location",
                      "request": {
                        "auth": {
                          "type": "noauth"
                        },
                        "method": "GET",
                        "header": [
                          {
                            "key": "Authorization",
                            "value": "Bearer {{access_token}}",
                            "description": "Access Token prefixed by `Bearer:`. See Obtaining an Access Token.\n"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json",
                            "description": "Use application/json.\n"
                          }
                        ],
                        "url": {
                          "raw": "{{CovaApiUrl}}/availability/v1/Companies({{CompanyId}})/Entities({{LocationId}})/Rooms?$filter=IsDeleted eq false",
                          "host": [
                            "{{CovaApiUrl}}"
                          ],
                          "path": [
                            "availability",
                            "v1",
                            "Companies({{CompanyId}})",
                            "Entities({{LocationId}})",
                            "Rooms"
                          ],
                          "query": [
                            {
                              "key": "$filter",
                              "value": "IsDeleted eq false"
                            }
                          ]
                        }
                      },
                      "response": []
                    },
                    {
                      "name": "Get Room by ID",
                      "request": {
                        "auth": {
                          "type": "noauth"
                        },
                        "method": "GET",
                        "header": [
                          {
                            "key": "Authorization",
                            "value": "Bearer {{access_token}}",
                            "description": "Access Token prefixed by `Bearer:`. See Obtaining an Access Token.\n"
                          },
                          {
                            "key": "Accept",
                            "value": "application/json",
                            "description": "Use application/json.\n"
                          }
                        ],
                        "url": {
                          "raw": "{{CovaApiUrl}}/availability/v1/Companies({{CompanyId}})/Entities({{LocationId}})/Rooms({{RoomId}})",
                          "host": [
                            "{{CovaApiUrl}}"
                          ],
                          "path": [
                            "availability",
                            "v1",
                            "Companies({{CompanyId}})",
                            "Entities({{LocationId}})",
                            "Rooms({{RoomId}})"
                          ]
                        }
                      },
                      "response": []
                    }
                  ]
                }
              ],
              "description": "These Endpoints are Room Aware and will return results for only the Selling Room for companies that are room aware and for non-room aware companies will return reults for the entire location."
            },
            {
              "name": "Assets",
              "item": [
                {
                  "name": "Add Product Asset",
                  "event": [
                    {
                      "listen": "test",
                      "script": {
                        "type": "text/javascript",
                        "exec": [
                          "var data = pm.response.json();\r\npm.environment.set(\"AssetId\", data.id);\r\npm.environment.set(\"AssetMimeType\", data.mimeType);\r\n"
                        ]
                      }
                    }
                  ],
                  "request": {
                    "auth": {
                      "type": "noauth"
                    },
                    "method": "POST",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}"
                      },
                      {
                        "key": "",
                        "value": ""
                      }
                    ],
                    "body": {
                      "mode": "formdata",
                      "formdata": [
                        {
                          "key": "Filename",
                          "type": "file",
                          "src": "/C:/Users/Devon Speidelsbach/Pictures/fertilizer.jpeg"
                        }
                      ]
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/productLibrary/ProductManager/companies/{{CompanyId}}/asset",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "productLibrary",
                        "ProductManager",
                        "companies",
                        "{{CompanyId}}",
                        "asset"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Set asset on product slug",
                  "request": {
                    "auth": {
                      "type": "noauth"
                    },
                    "method": "PUT",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}"
                      },
                      {
                        "key": "",
                        "value": ""
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n  \"id\": \"{{AssetId}}\", //\"id\" from POST /asset call\r\n  \"name\": \"It's Friyay\", //name that will display in hub under the image\r\n  \"mimeType\": \"{{AssetMimeType}}\" //\"mimeType\" from POST /asset call\r\n}\r\n",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/productlibrary/ProductManager/products/{{SlugId}}/assets?companyEntityId={{CompanyId}}",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "productlibrary",
                        "ProductManager",
                        "products",
                        "{{SlugId}}",
                        "assets"
                      ],
                      "query": [
                        {
                          "key": "companyEntityId",
                          "value": "{{CompanyId}}"
                        }
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Set image as Heroshot",
                  "request": {
                    "auth": {
                      "type": "noauth"
                    },
                    "method": "PUT",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "",
                        "value": "",
                        "type": "text",
                        "disabled": true
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"assetId\": \"{{AssetId}}\"\r\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/productlibrary/ProductManager/products/{{SlugId}}/heroshot?companyEntityId={{CompanyId}}",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "productlibrary",
                        "ProductManager",
                        "products",
                        "{{SlugId}}",
                        "heroshot"
                      ],
                      "query": [
                        {
                          "key": "companyEntityId",
                          "value": "{{CompanyId}}"
                        }
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Delete an asset",
                  "request": {
                    "auth": {
                      "type": "noauth"
                    },
                    "method": "DELETE",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}"
                      },
                      {
                        "key": "",
                        "value": ""
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/productlibrary/ProductManager/products/{{SlugId}}/assets/{{AssetId}}?companyEntityId={{CompanyId}}",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "productlibrary",
                        "ProductManager",
                        "products",
                        "{{SlugId}}",
                        "assets",
                        "{{AssetId}}"
                      ],
                      "query": [
                        {
                          "key": "companyEntityId",
                          "value": "{{CompanyId}}"
                        }
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Set Asset on many products",
                  "request": {
                    "auth": {
                      "type": "noauth"
                    },
                    "method": "POST",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"Slugs\": [\r\n        \"M14029900\",\r\n        \"M14029900-V2\",\r\n        \"M14029900-V1\"\r\n    ]\r\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/productlibrary/ProductManager/products/{{SlugId}}/assets/{{AssetId}}/bulk?companyEntityId={{CompanyId}}",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "productlibrary",
                        "ProductManager",
                        "products",
                        "{{SlugId}}",
                        "assets",
                        "{{AssetId}}",
                        "bulk"
                      ],
                      "query": [
                        {
                          "key": "companyEntityId",
                          "value": "{{CompanyId}}"
                        }
                      ]
                    }
                  },
                  "response": []
                }
              ]
            }
          ]
        },
        {
          "name": "Classification Tree",
          "item": [
            {
              "name": "GET a Classification Trees by Company",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/productlibrary/v1/Companies({{CompanyId}})/ClassificationTrees",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "productlibrary",
                    "v1",
                    "Companies({{CompanyId}})",
                    "ClassificationTrees"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET Field Definitions",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/productlibrary/v1/Companies({{CompanyId}})/FieldDefinitions",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "productlibrary",
                    "v1",
                    "Companies({{CompanyId}})",
                    "FieldDefinitions"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET Product Templates",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/productlibrary/v1/Companies({{CompanyId}})/ProductTemplates",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "productlibrary",
                    "v1",
                    "Companies({{CompanyId}})",
                    "ProductTemplates"
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Company Tree",
          "item": [
            {
              "name": "GET a Company Tree",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      "var data = JSON.parse(responseBody);",
                      "postman.setEnvironmentVariable(\"LocationId\",data.Nodes[0].Id);"
                    ],
                    "type": "text/javascript"
                  }
                }
              ],
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/entitymanager/v1/Companies({{CompanyId}})/Tree",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "entitymanager",
                    "v1",
                    "Companies({{CompanyId}})",
                    "Tree"
                  ]
                },
                "description": "URI Parameters\r\nCompanyId (Required) - Identifier for the Company"
              },
              "response": []
            },
            {
              "name": "GET a Company Tree Locations Only",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      "var data = JSON.parse(responseBody);",
                      "postman.setEnvironmentVariable(\"LocationId\",data.Nodes[0].Id);"
                    ],
                    "type": "text/javascript"
                  }
                }
              ],
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/entitymanager/v1/Companies({{CompanyId}})/Tree?roleDepth=Location",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "entitymanager",
                    "v1",
                    "Companies({{CompanyId}})",
                    "Tree"
                  ],
                  "query": [
                    {
                      "key": "roleDepth",
                      "value": "Location"
                    }
                  ]
                },
                "description": "URI Parameters\r\nCompanyId (Required) - Identifier for the Company"
              },
              "response": []
            },
            {
              "name": "GET All Locations for a Company",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      "var data = JSON.parse(responseBody);",
                      "postman.setEnvironmentVariable(\"LocationId\",data[0].Id);"
                    ],
                    "type": "text/javascript"
                  }
                }
              ],
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/entitymanager/v1/Companies({{CompanyId}})/Locations",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "entitymanager",
                    "v1",
                    "Companies({{CompanyId}})",
                    "Locations"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET Location Details",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      ""
                    ],
                    "type": "text/javascript"
                  }
                }
              ],
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/entitymanager/v1/Companies({{CompanyId}})/Locations({{LocationId}})",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "entitymanager",
                    "v1",
                    "Companies({{CompanyId}})",
                    "Locations({{LocationId}})"
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Customers",
          "item": [
            {
              "name": "Address",
              "item": [
                {
                  "name": "Get Customer Addresses",
                  "event": [
                    {
                      "listen": "test",
                      "script": {
                        "exec": [
                          "var data = JSON.parse(responseBody);",
                          "postman.setEnvironmentVariable(\"CustomerAddressId\", data[0].Id);"
                        ],
                        "type": "text/javascript"
                      }
                    }
                  ],
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "description": "Your Beaer token returned from the Authenication Call goes here.",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "description": "Your return type goes here - application/json",
                        "type": "text"
                      }
                    ],
                    "url": {
                      "raw": "{{CovaApiUrl}}/crm/v1/Companies({{CompanyId}})/Customers({{CustomerId}})/Addresses",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "crm",
                        "v1",
                        "Companies({{CompanyId}})",
                        "Customers({{CustomerId}})",
                        "Addresses"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Add Customer Address",
                  "event": [
                    {
                      "listen": "test",
                      "script": {
                        "exec": [
                          "var data = JSON.parse(responseBody);\r",
                          "postman.setEnvironmentVariable(\"CustomerAddressId\", data.Id);"
                        ],
                        "type": "text/javascript"
                      }
                    }
                  ],
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "description": "Your Beaer token returned from the Authenication Call goes here.",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "description": "Your return type goes here - application/json",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"CustomerId\": \"{{CustomerId}}\",\r\n    \"AddressTypeId\": 3,\r\n    \"AddressType\": \"Shipping\",\r\n    \"Default\": false,\r\n    \"DoNotContact\": true,\r\n    \"CountryCode\": \"US\",\r\n    \"Country\": \"United States\",\r\n    \"Locality\": \"Springfield\",\r\n    \"StateCode\": \"CO\",\r\n    \"State\": \"Colorado\",\r\n    \"PostalCode\": \"65418\",\r\n    \"PostOfficeBoxNumber\": \"\",\r\n    \"StreetAddress1\": \"321 Evergreen Terrace\",\r\n    \"StreetAddress2\": \"\",\r\n    \"Notes\": \"Added a note\",\r\n    \"AttentionTo\": \"Homer J\",\r\n    \"Phone\": \"\",\r\n    \"Email\": \"\"\r\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/crm/v1/Companies({{CompanyId}})/Customers({{CustomerId}})/Addresses",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "crm",
                        "v1",
                        "Companies({{CompanyId}})",
                        "Customers({{CustomerId}})",
                        "Addresses"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Update Customer Address",
                  "event": [
                    {
                      "listen": "test",
                      "script": {
                        "exec": [
                          ""
                        ],
                        "type": "text/javascript"
                      }
                    }
                  ],
                  "request": {
                    "method": "PUT",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "description": "Your Beaer token returned from the Authenication Call goes here.",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "description": "Your return type goes here - application/json",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"Id\": \"{{CustomerAddressId}}\",\r\n    \"CustomerId\": \"{{CustomerId}}\",\r\n    \"AddressTypeId\": 3,\r\n    \"AddressType\": \"Shipping\",\r\n    \"Default\": false,\r\n    \"DoNotContact\": true,\r\n    \"CountryCode\": \"US\",\r\n    \"Country\": \"United States\",\r\n    \"Locality\": \"Springfield\",\r\n    \"StateCode\": \"CO\",\r\n    \"State\": \"Colorado\",\r\n    \"PostalCode\": \"65418\",\r\n    \"PostOfficeBoxNumber\": \"\",\r\n    \"StreetAddress1\": \"321 Evergreen Terrace\",\r\n    \"StreetAddress2\": \"\",\r\n    \"Notes\": \"Added a note\",\r\n    \"AttentionTo\": \"Homer J\",\r\n    \"Phone\": \"\",\r\n    \"Email\": \"\"\r\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/crm/v1/Companies({{CompanyId}})/Customers({{CustomerId}})/Addresses({{CustomerAddressId}})",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "crm",
                        "v1",
                        "Companies({{CompanyId}})",
                        "Customers({{CustomerId}})",
                        "Addresses({{CustomerAddressId}})"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Delete Customer Address",
                  "event": [
                    {
                      "listen": "test",
                      "script": {
                        "exec": [
                          ""
                        ],
                        "type": "text/javascript"
                      }
                    }
                  ],
                  "request": {
                    "method": "DELETE",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "description": "Your Beaer token returned from the Authenication Call goes here.",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "description": "Your return type goes here - application/json",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/crm/v1/Companies({{CompanyId}})/Customers({{CustomerId}})/Addresses({{CustomerAddressId}})",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "crm",
                        "v1",
                        "Companies({{CompanyId}})",
                        "Customers({{CustomerId}})",
                        "Addresses({{CustomerAddressId}})"
                      ]
                    }
                  },
                  "response": []
                }
              ]
            },
            {
              "name": "ContactMethods",
              "item": [
                {
                  "name": "Get Customer ContactMethods",
                  "event": [
                    {
                      "listen": "test",
                      "script": {
                        "exec": [
                          "var data = JSON.parse(responseBody);",
                          "postman.setEnvironmentVariable(\"CustomerAddressId\", data[0].Id);"
                        ],
                        "type": "text/javascript"
                      }
                    }
                  ],
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "description": "Your Beaer token returned from the Authenication Call goes here.",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "description": "Your return type goes here - application/json",
                        "type": "text"
                      }
                    ],
                    "url": {
                      "raw": "{{CovaApiUrl}}/crm/v1/Companies({{CompanyId}})/Customers({{CustomerId}})/ContactMethods",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "crm",
                        "v1",
                        "Companies({{CompanyId}})",
                        "Customers({{CustomerId}})",
                        "ContactMethods"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Add Customer ContactMethod",
                  "event": [
                    {
                      "listen": "test",
                      "script": {
                        "exec": [
                          "var data = JSON.parse(responseBody);",
                          "postman.setEnvironmentVariable(\"CustomerContactMethodId\", data.Id);"
                        ],
                        "type": "text/javascript"
                      }
                    }
                  ],
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "description": "Your Beaer token returned from the Authenication Call goes here.",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "description": "Your return type goes here - application/json",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"Value\": \"email@no.email.xyz\",\r\n    \"CustomerId\": \"{{CustomerId}}\",\r\n    //\"ContactMethodCategoryId\": 2,\r\n    //\"ContactMethodCategory\": \"Email\",\r\n    \"ContactMethodTypeId\": 2,\r\n    //\"ContactMethodType\": \"Home\",\r\n    \"DoNotContact\": true,\r\n    \"Notes\": \"\"\r\n\r\n    /* ContactMethodTypeId. Category is useless\r\n    1: Home Phone\r\n    2: Work Phone\r\n    3: Mobile Phone\r\n    4: Company Phone\r\n    5: Pager\r\n    6: Home Fax\r\n    7: Work Fax\r\n    8: Other Phone\r\n    9: Home Email\r\n    10: Work Email\r\n    11: Other Email\r\n    12: Website\r\n    13: Skype\r\n    14: Twitter\r\n    15: Facebook\r\n    16: LinkedIn\r\n    17: Other*/\r\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/crm/v1/Companies({{CompanyId}})/Customers({{CustomerId}})/ContactMethods",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "crm",
                        "v1",
                        "Companies({{CompanyId}})",
                        "Customers({{CustomerId}})",
                        "ContactMethods"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Update Customer ContactMethod",
                  "event": [
                    {
                      "listen": "test",
                      "script": {
                        "exec": [
                          ""
                        ],
                        "type": "text/javascript",
                        "packages": {}
                      }
                    }
                  ],
                  "request": {
                    "method": "PUT",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "description": "Your Beaer token returned from the Authenication Call goes here.",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "description": "Your return type goes here - application/json",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"Id\": \"{{CustomerContactMethodId}}\",\r\n    \"Value\": \"505-321-4568\",\r\n    \"CustomerId\": \"{{CustomerId}}\",\r\n    \"ContactMethodCategoryId\": 1,\r\n    \"ContactMethodTypeId\": 3,\r\n    \"DoNotContact\": false,\r\n    \"Notes\": null\r\n\r\n /* ContactMethodCategoryId\tContactMethodTypeId\r\n\t1: Phone\t\t\t\t1: Home Phone\r\n\t1: Phone\t\t\t\t2: Work Phone\r\n\t1: Phone\t\t\t\t3: Mobile Phone\r\n\t1: Phone\t\t\t\t4: Company Phone\r\n\t1: Phone\t\t\t\t5: Pager\r\n\t1: Phone\t\t\t\t6: Home Fax\r\n\t1: Phone\t\t\t\t7: Work Fax\r\n\t1: Phone\t\t\t\t8: Other Phone\r\n\t2: Email\t\t\t\t9: Home Email\r\n\t2: Email\t\t\t\t10: Work Email\r\n\t2: Email\t\t\t\t11: Other Email\r\n\t3: Other\t\t\t\t12: Website\r\n\t3: Other\t\t\t\t13: Skype\r\n\t3: Other\t\t\t\t14: Twitter\r\n\t3: Other\t\t\t\t15: Facebook\r\n\t3: Other\t\t\t\t16: LinkedIn\r\n\t3: Other\t\t\t\t17: Other*/\r\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/crm/v1/Companies({{CompanyId}})/Customers({{CustomerId}})/ContactMethods({{CustomerContactMethodId}})",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "crm",
                        "v1",
                        "Companies({{CompanyId}})",
                        "Customers({{CustomerId}})",
                        "ContactMethods({{CustomerContactMethodId}})"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Delete Customer ContactMethod",
                  "event": [
                    {
                      "listen": "test",
                      "script": {
                        "exec": [
                          ""
                        ],
                        "type": "text/javascript"
                      }
                    }
                  ],
                  "request": {
                    "method": "DELETE",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "description": "Your Beaer token returned from the Authenication Call goes here.",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "description": "Your return type goes here - application/json",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/crm/v1/Companies({{CompanyId}})/Customers({{CustomerId}})/ContactMethods({{CustomerContactMethodId}})",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "crm",
                        "v1",
                        "Companies({{CompanyId}})",
                        "Customers({{CustomerId}})",
                        "ContactMethods({{CustomerContactMethodId}})"
                      ]
                    }
                  },
                  "response": []
                }
              ]
            },
            {
              "name": "Extensions",
              "item": [
                {
                  "name": "Get Customer Extesion Types",
                  "event": [
                    {
                      "listen": "test",
                      "script": {
                        "exec": [
                          "//var data = JSON.parse(responseBody);",
                          ""
                        ],
                        "type": "text/javascript"
                      }
                    }
                  ],
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "description": "Your Beaer token returned from the Authenication Call goes here.",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "description": "Your return type goes here - application/json",
                        "type": "text"
                      }
                    ],
                    "url": {
                      "raw": "{{CovaApiUrl}}/crm/v1/Companies({{CompanyId}})/CustomerExtensionTypes",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "crm",
                        "v1",
                        "Companies({{CompanyId}})",
                        "CustomerExtensionTypes"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Get Customer Extesions",
                  "event": [
                    {
                      "listen": "test",
                      "script": {
                        "exec": [
                          "//var data = JSON.parse(responseBody);",
                          ""
                        ],
                        "type": "text/javascript"
                      }
                    }
                  ],
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "description": "Your Beaer token returned from the Authenication Call goes here.",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "description": "Your return type goes here - application/json",
                        "type": "text"
                      }
                    ],
                    "url": {
                      "raw": "{{CovaApiUrl}}/crm/v1/Companies({{CompanyId}})/Customers({{CustomerId}})/CustomerExtensions",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "crm",
                        "v1",
                        "Companies({{CompanyId}})",
                        "Customers({{CustomerId}})",
                        "CustomerExtensions"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Add Customer Extension",
                  "event": [
                    {
                      "listen": "test",
                      "script": {
                        "exec": [
                          ""
                        ],
                        "type": "text/javascript"
                      }
                    }
                  ],
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "description": "Your Beaer token returned from the Authenication Call goes here.",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "description": "Your return type goes here - application/json",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"Value\": \"StickyCard7070770777\",\r\n    \"CustomerId\": \"{{CustomerId}}\",\r\n    \"ExtensionTypeId\": 5\r\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/crm/v1/Companies({{CompanyId}})/Customers({{CustomerId}})/CustomerExtensions",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "crm",
                        "v1",
                        "Companies({{CompanyId}})",
                        "Customers({{CustomerId}})",
                        "CustomerExtensions"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Update Customer Extension",
                  "event": [
                    {
                      "listen": "test",
                      "script": {
                        "exec": [
                          ""
                        ],
                        "type": "text/javascript"
                      }
                    }
                  ],
                  "request": {
                    "method": "PUT",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "description": "Your Beaer token returned from the Authenication Call goes here.",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "description": "Your return type goes here - application/json",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"Value\": \"911911911\",\r\n    \"Id\": \"c949a0e5-99f9-40b8-a054-41ea61c21927\",\r\n    \"CustomerId\": \"{{CustomerId}}\",\r\n    \"ExtensionTypeId\": 30\r\n}",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/crm/v1/Companies({{CompanyId}})/Customers({{CustomerId}})/CustomerExtensions(c949a0e5-99f9-40b8-a054-41ea61c21927)",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "crm",
                        "v1",
                        "Companies({{CompanyId}})",
                        "Customers({{CustomerId}})",
                        "CustomerExtensions(c949a0e5-99f9-40b8-a054-41ea61c21927)"
                      ]
                    }
                  },
                  "response": []
                }
              ]
            },
            {
              "name": "Documents",
              "item": [
                {
                  "name": "GET Customer Document Classifications",
                  "event": [
                    {
                      "listen": "test",
                      "script": {
                        "exec": [
                          ""
                        ],
                        "type": "text/javascript"
                      }
                    }
                  ],
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "description": "Your Beaer token returned from the Authenication Call goes here.",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "description": "Your return type goes here - application/json",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/crm/v1/Companies({{CompanyId}})/DocumentClassifications",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "crm",
                        "v1",
                        "Companies({{CompanyId}})",
                        "DocumentClassifications"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Get Customer Documents",
                  "event": [
                    {
                      "listen": "test",
                      "script": {
                        "exec": [
                          ""
                        ],
                        "type": "text/javascript"
                      }
                    }
                  ],
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "description": "Your Beaer token returned from the Authenication Call goes here.",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "description": "Your return type goes here - application/json",
                        "type": "text"
                      },
                      {
                        "key": "",
                        "value": "",
                        "type": "text",
                        "disabled": true
                      }
                    ],
                    "body": {
                      "mode": "formdata",
                      "formdata": [
                        {
                          "key": "number_seven",
                          "description": "this will display as the \"name\" of the file in Hub",
                          "type": "file",
                          "src": "/C:/Users/Devon Speidelsbach/Pictures/7-1024x785.jpg"
                        },
                        {
                          "key": "DocumentClassificationId",
                          "value": "4",
                          "type": "text"
                        },
                        {
                          "key": "",
                          "value": "",
                          "type": "text",
                          "disabled": true
                        }
                      ]
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/crm/v1/Companies({{CompanyId}})/Customers({{CustomerId}})/Documents",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "crm",
                        "v1",
                        "Companies({{CompanyId}})",
                        "Customers({{CustomerId}})",
                        "Documents"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Add Customer Document",
                  "event": [
                    {
                      "listen": "test",
                      "script": {
                        "exec": [
                          ""
                        ],
                        "type": "text/javascript"
                      }
                    }
                  ],
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "description": "Your Beaer token returned from the Authenication Call goes here.",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "description": "Your return type goes here - application/json",
                        "type": "text"
                      },
                      {
                        "key": "",
                        "value": "",
                        "type": "text",
                        "disabled": true
                      }
                    ],
                    "body": {
                      "mode": "formdata",
                      "formdata": [
                        {
                          "key": "profilePic",
                          "description": "this will display as the \"name\" of the file in Hub",
                          "type": "file",
                          "src": "/C:/Users/Devon Speidelsbach/Downloads/Homer.png"
                        },
                        {
                          "key": "DocumentClassificationId",
                          "value": "3",
                          "type": "text"
                        },
                        {
                          "key": "",
                          "value": "",
                          "type": "text",
                          "disabled": true
                        }
                      ]
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/crm/v1/Companies({{CompanyId}})/Customers({{CustomerId}})/Documents",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "crm",
                        "v1",
                        "Companies({{CompanyId}})",
                        "Customers({{CustomerId}})",
                        "Documents"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Delete Customer Document",
                  "event": [
                    {
                      "listen": "test",
                      "script": {
                        "exec": [
                          ""
                        ],
                        "type": "text/javascript"
                      }
                    }
                  ],
                  "request": {
                    "method": "DELETE",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "description": "Your Beaer token returned from the Authenication Call goes here.",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "description": "Your return type goes here - application/json",
                        "type": "text"
                      },
                      {
                        "key": "",
                        "value": "",
                        "type": "text",
                        "disabled": true
                      }
                    ],
                    "body": {
                      "mode": "formdata",
                      "formdata": [
                        {
                          "key": "number_seven",
                          "description": "this will display as the \"name\" of the file in Hub",
                          "type": "file",
                          "src": "/C:/Users/Devon Speidelsbach/Pictures/7-1024x785.jpg"
                        },
                        {
                          "key": "DocumentClassificationId",
                          "value": "4",
                          "type": "text"
                        },
                        {
                          "key": "",
                          "value": "",
                          "type": "text",
                          "disabled": true
                        }
                      ]
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/crm/v1/Companies({{CompanyId}})/Customers({{CustomerId}})/Documents({{CustomerDocumentId}})",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "crm",
                        "v1",
                        "Companies({{CompanyId}})",
                        "Customers({{CustomerId}})",
                        "Documents({{CustomerDocumentId}})"
                      ]
                    }
                  },
                  "response": []
                }
              ]
            },
            {
              "name": "Search",
              "item": [
                {
                  "name": "Search Capablities",
                  "event": [
                    {
                      "listen": "test",
                      "script": {
                        "exec": [
                          "var data = JSON.parse(responseBody);",
                          "postman.setEnvironmentVariable(\"CustomerId\", data[0].Id);",
                          ""
                        ],
                        "type": "text/javascript"
                      }
                    }
                  ],
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "description": "Your Beaer token returned from the Authenication Call goes here.",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "description": "Your return type goes here - application/json",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/crm/v1/Companies({{CompanyId}})/SearchCapabilities",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "crm",
                        "v1",
                        "Companies({{CompanyId}})",
                        "SearchCapabilities"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Search by Criteria",
                  "event": [
                    {
                      "listen": "test",
                      "script": {
                        "exec": [
                          "var data = JSON.parse(responseBody);",
                          "postman.setEnvironmentVariable(\"CustomerId\", data[0].Id);",
                          ""
                        ],
                        "type": "text/javascript"
                      }
                    }
                  ],
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "description": "Your Beaer token returned from the Authenication Call goes here.",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "description": "Your return type goes here - application/json",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n\t\"Criteria\":\r\n\t[\r\n\t\t{\r\n\t\t\t\"Criteria\":\"Simpson\",\r\n\t\t\t\"Field\":\"FamilyName\",\r\n\t\t\t\"Operation\":\"Equals\"\r\n\t\t}\r\n        /*,\r\n\t\t{\r\n\t\t\t\"Criteria\":\"5\",\r\n\t\t\t\"Field\":\"ExtensionType\",\r\n\t\t\t\"Operation\":\"Equals\"\r\n\t\t}\r\n        */\r\n        /*,\r\n\t\t{\r\n\t\t\t\"Criteria\":\"32\",\r\n\t\t\t\"Field\":\"ExtensionType\",\r\n\t\t\t\"Operation\":\"Equals\"\r\n\t\t}*/\r\n\t]\r\n}\r\n",
                      "options": {
                        "raw": {
                          "language": "json"
                        }
                      }
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/crm/v1/Companies({{CompanyId}})/Search",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "crm",
                        "v1",
                        "Companies({{CompanyId}})",
                        "Search"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Search for Customers by LastModifiedDateUtc",
                  "event": [
                    {
                      "listen": "test",
                      "script": {
                        "exec": [
                          "var data = JSON.parse(responseBody);",
                          "postman.setEnvironmentVariable(\"FirstName\", data.PrimaryName);",
                          "postman.setEnvironmentVariable(\"LastName\", data.FamilyName);"
                        ],
                        "type": "text/javascript"
                      }
                    },
                    {
                      "listen": "prerequest",
                      "script": {
                        "exec": [
                          "//see collection pre-request script for function definition\r",
                          "utils.setYesterday(postman)"
                        ],
                        "type": "text/javascript"
                      }
                    }
                  ],
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "description": "Your Beaer token returned from the Authenication Call goes here.",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "description": "Your return type goes here - application/json",
                        "type": "text"
                      }
                    ],
                    "url": {
                      "raw": "{{CovaApiUrl}}/crm/v1/Companies({{CompanyId}})/CustomerFull?$filter=LastModifiedDateUtc ge datetime'{{MidnightYesterday}}'",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "crm",
                        "v1",
                        "Companies({{CompanyId}})",
                        "CustomerFull"
                      ],
                      "query": [
                        {
                          "key": "$filter",
                          "value": "LastModifiedDateUtc ge datetime'{{MidnightYesterday}}'"
                        }
                      ]
                    },
                    "description": "Filtering the “CustomerFull” Resource\r\nThe CustomerFull endpoint supports GET requests only for queries that include the LastModifiedDateUtc, which is a property of the Customer resource. A successful search returns a list of all Customer resources matching the query string. The list can be paginated using the supported pagination controls.\r\n\r\n\r\nFilterable Properties\r\nFiltering is supported for the following properties from the CustomerFull resource.\r\n\r\nPROPERTY\tNOTE\r\nLastModifiedDateUtc\tSearches for customers modified since the specified date. You can enter a truncated value specifying just the date; if you do, the system assumes a value of 00:00:00 (midnight).\r\nQuery Operators\r\nThe following operators are supported in CRM API queries.\r\n\r\nOPERATOR\tCAN BE USED WITH\tEXAMPLE\r\nge\tDateTime\t$filter=LastModifiedDateUtc ge datetime’2017-04-06T00:00:00z’\r\nSearching Against a Criterion"
                  },
                  "response": []
                }
              ]
            },
            {
              "name": "Get All Customers",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      "var data = JSON.parse(responseBody);",
                      "postman.setEnvironmentVariable(\"CustomerId\", data[4].Id);"
                    ],
                    "type": "text/javascript"
                  }
                }
              ],
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "description": "Your Beaer token returned from the Authenication Call goes here.",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "description": "Your return type goes here - application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/crm/v1/Companies({{CompanyId}})/Customers?$skip=0&$top=100",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "crm",
                    "v1",
                    "Companies({{CompanyId}})",
                    "Customers"
                  ],
                  "query": [
                    {
                      "key": "$skip",
                      "value": "0"
                    },
                    {
                      "key": "$top",
                      "value": "100"
                    }
                  ]
                },
                "description": "## GET All Customers\r\nRetrieves a paginated list of customers for a company.\r\n\r\n## Filters\r\n\r\n?$filter=PrimaryName eq 'Robert'"
              },
              "response": []
            },
            {
              "name": "Get Customer Details",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      "var data = JSON.parse(responseBody);",
                      "postman.setEnvironmentVariable(\"FirstName\", data.PrimaryName);",
                      "postman.setEnvironmentVariable(\"LastName\", data.FamilyName);"
                    ],
                    "type": "text/javascript"
                  }
                }
              ],
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "description": "Your Beaer token returned from the Authenication Call goes here.",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "description": "Your return type goes here - application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/crm/v1/Companies({{CompanyId}})/CustomerFull({{CustomerId}})",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "crm",
                    "v1",
                    "Companies({{CompanyId}})",
                    "CustomerFull({{CustomerId}})"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Create CustomerFull Record",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "description": "Your Beaer token returned from the Authenication Call goes here.",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "description": "Your return type goes here - application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "description": "Your body style goes here (json)",
                    "type": "text"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\r\n  \"Addresses\": [\r\n    {\r\n      \"AddressTypeId\": 3,\r\n      \"Default\": true,\r\n      \"DoNotContact\": false,\r\n      \"CountryCode\": \"CA\",\r\n      \"Locality\": \"Regina\",\r\n      \"StateCode\": \"SK\",\r\n      \"PostalCode\": \"S4S 4S4\",\r\n      \"StreetAddress1\": \"14 Fake St.\",\r\n      \"Notes\": \"sample string\"\r\n    },\r\n    {\r\n      \"AddressTypeId\": 2,\r\n      \"Default\": false,\r\n      \"DoNotContact\": true,\r\n      \"CountryCode\": \"AU\",\r\n      \"Locality\": \"JACKEYS MARSH\",\r\n      \"StateCode\": \"TAS\",\r\n      \"PostalCode\": \"7304\",\r\n      \"StreetAddress1\": \"22 Jump St.\"\r\n    }\r\n  ],\r\n  \"ContactMethods\": [\r\n    {\r\n      \"ContactMethodCategoryId\": 1,\r\n      \"ContactMethodTypeId\": 3,\r\n      \"Value\": \"604-324-5587\",\r\n      \"DoNotContact\": true,\r\n      \"Default\": true\r\n    },\r\n    {\r\n      \"ContactMethodCategoryId\": 2,\r\n      \"ContactMethodTypeId\": 9,\r\n      \"Value\": \"sample_@example.com\",\r\n      \"DoNotContact\": true,\r\n      \"Default\": false\r\n    }\r\n  ],\r\n  \"CustomerExtensions\": [\r\n     {\r\n      \"Value\": \"\",\r\n      \"ExtensionTypeId\": 31,\r\n      \"ExtensionType\": \"DriversLicenseExpiryDate\",\r\n      \"ExtensionTypeFeature\": \"CRM\"\r\n    },\r\n    {\r\n      \"Value\": \"\",\r\n      \"ExtensionTypeId\": 30,\r\n      \"ExtensionType\": \"DriversLicenseNumber\",\r\n      \"ExtensionTypeFeature\": \"CRM\"\r\n    },\r\n    {\r\n      \"Value\": \"\",\r\n      \"ExtensionTypeId\": 38,\r\n      \"ExtensionType\": \"CaregiverLastName\",\r\n      \"ExtensionTypeFeature\": \"Dispensary\"\r\n    },\r\n    {\r\n      \"Value\": \"false\",\r\n      \"ExtensionTypeId\": 6,\r\n      \"ExtensionType\": \"DispensaryCustomerType\",\r\n      \"ExtensionTypeFeature\": \"Dispensary\"\r\n    },\r\n    {\r\n      \"Value\": \"\",\r\n      \"ExtensionTypeId\": 33,\r\n      \"ExtensionType\": \"MedicalRecommendationExpiryDate\",\r\n      \"ExtensionTypeFeature\": \"Dispensary\"\r\n    },\r\n    {\r\n      \"Value\": \"\",\r\n      \"ExtensionTypeId\": 44,\r\n      \"ExtensionType\": \"CaregiverDriversLicenseExpirationDate\",\r\n      \"ExtensionTypeFeature\": \"Dispensary\"\r\n    },\r\n    {\r\n      \"Value\": \"\",\r\n      \"ExtensionTypeId\": 8,\r\n      \"ExtensionType\": \"CardExpiryDate\",\r\n      \"ExtensionTypeFeature\": \"Dispensary\"\r\n    },\r\n    {\r\n      \"Value\": \"\",\r\n      \"ExtensionTypeId\": 37,\r\n      \"ExtensionType\": \"CaregiverFirstName\",\r\n      \"ExtensionTypeFeature\": \"Dispensary\"\r\n    },\r\n    {\r\n      \"Value\": \"\",\r\n      \"ExtensionTypeId\": 34,\r\n      \"ExtensionType\": \"PhysiciansName\",\r\n      \"ExtensionTypeFeature\": \"Dispensary\"\r\n    },\r\n    {\r\n      \"Value\": \"\",\r\n      \"ExtensionTypeId\": 43,\r\n      \"ExtensionType\": \"CaregiverDriversLicenseNumber\",\r\n      \"ExtensionTypeFeature\": \"Dispensary\"\r\n    },\r\n    {\r\n      \"Value\": \"\",\r\n      \"ExtensionTypeId\": 42,\r\n      \"ExtensionType\": \"CaregiverMedicalStateExpirationDate\",\r\n      \"ExtensionTypeFeature\": \"Dispensary\"\r\n    },\r\n    {\r\n      \"Value\": \"false\",\r\n      \"ExtensionTypeId\": 36,\r\n      \"ExtensionType\": \"Caregiver\",\r\n      \"ExtensionTypeFeature\": \"Dispensary\"\r\n    },\r\n    {\r\n      \"Value\": \"\",\r\n      \"ExtensionTypeId\": 39,\r\n      \"ExtensionType\": \"CaregiverDateOfBirth\",\r\n      \"ExtensionTypeFeature\": \"Dispensary\"\r\n    },\r\n    {\r\n      \"Value\": \"\",\r\n      \"ExtensionTypeId\": 41,\r\n      \"ExtensionType\": \"CaregiverMedicalStateId\",\r\n      \"ExtensionTypeFeature\": \"Dispensary\"\r\n    },\r\n    {\r\n      \"Value\": \"\",\r\n      \"ExtensionTypeId\": 35,\r\n      \"ExtensionType\": \"PhysiciansPhoneNumber\",\r\n      \"ExtensionTypeFeature\": \"Dispensary\"\r\n    },\r\n    {\r\n      \"Value\": \"\",\r\n      \"ExtensionTypeId\": 32,\r\n      \"ExtensionType\": \"MedicalRecommendationNumber\",\r\n      \"ExtensionTypeFeature\": \"Dispensary\"\r\n    },\r\n    {\r\n      \"Value\": \"\",\r\n      \"ExtensionTypeId\": 7,\r\n      \"ExtensionType\": \"CardNumber\",\r\n      \"ExtensionTypeFeature\": \"Dispensary\"\r\n    },\r\n    {\r\n      \"Value\": \"\",\r\n      \"ExtensionTypeId\": 40,\r\n      \"ExtensionType\": \"CaregiverPhoneNumber\",\r\n      \"ExtensionTypeFeature\": \"Dispensary\"\r\n    }\r\n  ],\r\n  \"CustomerTypeId\": 2,\r\n  \"Title\": \"Mr.\",\r\n  \"PrimaryName\": \"John\",\r\n  \"AlternateName\": \"Spike\",\r\n  \"MiddleName\": \"\",\r\n  \"FamilyName\": \"Smith\",\r\n  \"ReferralSource\": null,\r\n  \"DateOfBirth\": \"2015-04-20T02:43:22.789616+00:00\",\r\n  \"PricingGroupId\": null,\r\n  \"Notes\": \"This is a test customer\",\r\n  \"UniqueIdentifier\": \"Smith123456\",\r\n  \"Disabled\": false,\r\n  \"DoNotContact\": false\r\n}"
                },
                "url": {
                  "raw": "{{CovaApiUrl}}/crm/v1/Companies({{CompanyId}})/CustomerFull",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "crm",
                    "v1",
                    "Companies({{CompanyId}})",
                    "CustomerFull"
                  ]
                },
                "description": "A CustomerFull record includes all the information captured for a given customer. POSTing a CustomerFull record provides an easy way of specifying all related information for a customer at once. Note that PUT is not supported on CustomerFull resources (for example, to update an address). To modify a customer record, PUT to the endpoint of the constituent resource (for example, the Address resource)."
              },
              "response": []
            },
            {
              "name": "Update Customer",
              "request": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "description": "Your Beaer token returned from the Authenication Call goes here.",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "description": "Your return type goes here - application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "description": "Your body style goes here (json)",
                    "type": "text"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\r\n    \"Id\": \"{{CustomerId}}\",\r\n    \"PricingGroupId\": {{PricingGroupId}}\r\n}"
                },
                "url": {
                  "raw": "{{CovaApiUrl}}/crm/v1/Companies({{CompanyId}})/Customers({{CustomerId}})",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "crm",
                    "v1",
                    "Companies({{CompanyId}})",
                    "Customers({{CustomerId}})"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Sales History",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/invoice/v1/Companies({{CompanyId}})/InvoiceSummaries?$filter=CustomerId eq guid'{{CustomerId}}' and CreatedDateUtc ge datetime'2025-06-18'&$skip=0&$top=100",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "invoice",
                    "v1",
                    "Companies({{CompanyId}})",
                    "InvoiceSummaries"
                  ],
                  "query": [
                    {
                      "key": "$filter",
                      "value": "CustomerId eq guid'{{CustomerId}}' and CreatedDateUtc ge datetime'2025-06-18'"
                    },
                    {
                      "key": "$skip",
                      "value": "0"
                    },
                    {
                      "key": "$top",
                      "value": "100"
                    }
                  ]
                }
              },
              "response": []
            }
          ],
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  ""
                ]
              }
            }
          ]
        },
        {
          "name": "Dispensary",
          "item": [
            {
              "name": "V2 Get Dispensary Bulk Package Details by Company",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "text"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\r\n\t\"PackageIds\":\t[\r\n\t\t\"6033 5525 4002 6199\"\r\n\t]\r\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{CovaApiUrl}}/packagedetails/v2/companies/{{CompanyId}}/producttestresultsbypackagelist",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "packagedetails",
                    "v2",
                    "companies",
                    "{{CompanyId}}",
                    "producttestresultsbypackagelist"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "V2 Get Dispensary Package Details by Package id",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/dispensary/v2/Companies({{CompanyId}})/ProductTestResults?$filter=PackageId+eq+'{{PackageId}}'",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "dispensary",
                    "v2",
                    "Companies({{CompanyId}})",
                    "ProductTestResults"
                  ],
                  "query": [
                    {
                      "key": "$filter",
                      "value": "PackageId+eq+'{{PackageId}}'"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Get Dispensary Cannabinoid Types",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/dispensary/CannabinoidTypes",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "dispensary",
                    "CannabinoidTypes"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Get Equivalency Purchasing Limit by Location",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/dispensary/Companies({{CompanyId}})/Entities({{LocationId}})/EquivalencyPurchasingLimits",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "dispensary",
                    "Companies({{CompanyId}})",
                    "Entities({{LocationId}})",
                    "EquivalencyPurchasingLimits"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Get a Customers Purchased THC Amounts for the Day",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/dispensary/v1/companies/{{CompanyId}}/locations/{{LocationId}}/customer/{{CustomerId}}/cannabispurchasesummary/today",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "dispensary",
                    "v1",
                    "companies",
                    "{{CompanyId}}",
                    "locations",
                    "{{LocationId}}",
                    "customer",
                    "{{CustomerId}}",
                    "cannabispurchasesummary",
                    "today"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Not in Portal - Get Location Customer Queue Snapshot",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/dispensarycustomerqueue/v1/Companies({{CompanyId}})/Entities({{LocationId}})/Queues/Customers?isReturnFullData=True",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "dispensarycustomerqueue",
                    "v1",
                    "Companies({{CompanyId}})",
                    "Entities({{LocationId}})",
                    "Queues",
                    "Customers"
                  ],
                  "query": [
                    {
                      "key": "isReturnFullData",
                      "value": "True"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Not in Portal - Get Location Customer Queue Snapshot By Queue",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/dispensarycustomerqueue/v1/Companies({{CompanyId}})/Entities({{LocationId}})/Queues/{{QueueId}}/Customers?isReturnFullData=True",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "dispensarycustomerqueue",
                    "v1",
                    "Companies({{CompanyId}})",
                    "Entities({{LocationId}})",
                    "Queues",
                    "{{QueueId}}",
                    "Customers"
                  ],
                  "query": [
                    {
                      "key": "isReturnFullData",
                      "value": "True"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Get Transactional Purchase limits",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/dispensary/Companies({{CompanyId}})/Entities({{LocationId}})/purchaselimits",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "dispensary",
                    "Companies({{CompanyId}})",
                    "Entities({{LocationId}})",
                    "purchaselimits"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Get Dispensary Suppliers Licensing Details",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/dispensary/Companies({{CompanyId}})/SupplierLicensing({{SupplierId}})",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "dispensary",
                    "Companies({{CompanyId}})",
                    "SupplierLicensing({{SupplierId}})"
                  ]
                }
              },
              "response": []
            }
          ],
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  ""
                ]
              }
            }
          ]
        },
        {
          "name": "Pricing",
          "item": [
            {
              "name": "GET All Pricing Groups for a Company",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "description": "Your Beaer token returned from the Authenication Call goes here.",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "description": "Your return type goes here - application/json",
                    "type": "text"
                  },
                  {
                    "key": "Accept-Language",
                    "value": "en-us",
                    "description": "Acceptable Language Values: en-us, fr-ca, es-mx\t",
                    "type": "text"
                  },
                  {
                    "key": "Content-Language",
                    "value": "en-us",
                    "description": "Acceptable Language Values: en-us, fr-ca, es-mx",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/pricing/v1/Companies({{CompanyId}})/PricingGroups",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "pricing",
                    "v1",
                    "Companies({{CompanyId}})",
                    "PricingGroups"
                  ]
                },
                "description": "Use this request to retrieve all pricing groups that have been defined for a company.\r\n\r\n\r\nPath Parameters\r\n\r\nNAME |\tDESCRIPTION\r\n---|----|\r\nCompanyId (Integer)\t| The identifier of the company."
              },
              "response": []
            },
            {
              "name": "GET a Pricing Group Record",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "description": "Your Beaer token returned from the Authenication Call goes here.",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "description": "Your return type goes here - application/json",
                    "type": "text"
                  },
                  {
                    "key": "Accept-Language",
                    "value": "en-us",
                    "description": "Acceptable Language Values: en-us, fr-ca, es-mx\t",
                    "type": "text"
                  },
                  {
                    "key": "Content-Language",
                    "value": "en-us",
                    "description": "Acceptable Language Values: en-us, fr-ca, es-mx",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/pricing/v1/Companies({{CompanyId}})/PricingGroups({{GroupId}})",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "pricing",
                    "v1",
                    "Companies({{CompanyId}})",
                    "PricingGroups({{GroupId}})"
                  ]
                },
                "description": "Use this request to retrieve a specific pricing group.\r\n\r\n\r\nPath Parameters\r\n\r\nNAME\t| DESCRIPTION\r\n---|---|\r\nCompanyId (Integer)\t| The identifier of the company.\r\nGroupId (Integer)\t| The identifier of the pricing group."
              },
              "response": []
            },
            {
              "name": "GET All Pricing Tiers for a Company",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "description": "Your Beaer token returned from the Authenication Call goes here.",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "description": "Your return type goes here - application/json",
                    "type": "text"
                  },
                  {
                    "key": "Accept-Language",
                    "value": "en-us",
                    "description": "Acceptable Language Values: en-us, fr-ca, es-mx\t",
                    "type": "text"
                  },
                  {
                    "key": "Content-Language",
                    "value": "en-us",
                    "description": "Acceptable Language Values: en-us, fr-ca, es-mx",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/pricing/v1/Companies({{CompanyId}})/PricingTiers",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "pricing",
                    "v1",
                    "Companies({{CompanyId}})",
                    "PricingTiers"
                  ]
                },
                "description": "Path Parameters\r\n\r\nNAME |\tDESCRIPTION\r\n---|----|\r\nCompanyId (Integer)\t| The identifier of the company."
              },
              "response": []
            },
            {
              "name": "GET a Pricing Tier Record",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "description": "Your Beaer token returned from the Authenication Call goes here.",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "description": "Your return type goes here - application/json",
                    "type": "text"
                  },
                  {
                    "key": "Accept-Language",
                    "value": "en-us",
                    "description": "Acceptable Language Values: en-us, fr-ca, es-mx\t",
                    "type": "text"
                  },
                  {
                    "key": "Content-Language",
                    "value": "en-us",
                    "description": "Acceptable Language Values: en-us, fr-ca, es-mx",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/pricing/v1/Companies({{CompanyId}})/PricingTiers({{TierId}})",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "pricing",
                    "v1",
                    "Companies({{CompanyId}})",
                    "PricingTiers({{TierId}})"
                  ]
                },
                "description": "Use this request to retrieve a specific pricing tier record, using its identifier.\r\n\r\n\r\n\r\nPath Parameters\r\n\r\nNAME |\tDESCRIPTION\r\n---|----|\r\nCompanyId (Integer)\t| The identifier of the company.\r\nTierId (Integer)   | The indentifier of the Pricing Tier"
              },
              "response": []
            },
            {
              "name": "GET All Pricing Shelves for a Company",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "description": "Your Beaer token returned from the Authenication Call goes here.",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "description": "Your return type goes here - application/json",
                    "type": "text"
                  },
                  {
                    "key": "Accept-Language",
                    "value": "en-us",
                    "description": "Acceptable Language Values: en-us, fr-ca, es-mx\t",
                    "type": "text"
                  },
                  {
                    "key": "Content-Language",
                    "value": "en-us",
                    "description": "Acceptable Language Values: en-us, fr-ca, es-mx",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/pricing/v1/Companies({{CompanyId}})/PricingShelves",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "pricing",
                    "v1",
                    "Companies({{CompanyId}})",
                    "PricingShelves"
                  ]
                },
                "description": "Use this request to retrieve a specific pricing shelf record using its identifier.\r\n\r\n\r\n\r\nPath Parameters\r\n\r\nNAME |\tDESCRIPTION\r\n---|----|\r\nCompanyId (Integer)\t| The identifier of the company."
              },
              "response": []
            },
            {
              "name": "GET a Pricing Shelf Record",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "description": "Your Beaer token returned from the Authenication Call goes here.",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "description": "Your return type goes here - application/json",
                    "type": "text"
                  },
                  {
                    "key": "Accept-Language",
                    "value": "en-us",
                    "description": "Acceptable Language Values: en-us, fr-ca, es-mx\t",
                    "type": "text"
                  },
                  {
                    "key": "Content-Language",
                    "value": "en-us",
                    "description": "Acceptable Language Values: en-us, fr-ca, es-mx",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/pricing/v1/Companies({{CompanyId}})/PricingShelves({{ShelfId}})",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "pricing",
                    "v1",
                    "Companies({{CompanyId}})",
                    "PricingShelves({{ShelfId}})"
                  ]
                },
                "description": "Use this request to retrieve a specific pricing shelf record using its identifier.\r\n\r\n\r\nPath Parameters\r\n\r\nNAME |\tDESCRIPTION\r\n---|----|\r\nCompanyId (Integer)\t| The identifier of the company.\r\nShelfId (Integer)   | The identifier of the pricing shelf record."
              },
              "response": []
            },
            {
              "name": "GET Pricing Shelf Prices",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "description": "Your Beaer token returned from the Authenication Call goes here.",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "description": "Your return type goes here - application/json",
                    "type": "text"
                  },
                  {
                    "key": "Accept-Language",
                    "value": "en-us",
                    "description": "Acceptable Language Values: en-us, fr-ca, es-mx\t",
                    "type": "text"
                  },
                  {
                    "key": "Content-Language",
                    "value": "en-us",
                    "description": "Acceptable Language Values: en-us, fr-ca, es-mx",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/pricing/v1/Companies({{CompanyId}})/Entities({{LocationId}})/PricingShelfPrices({{ShelfId}})",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "pricing",
                    "v1",
                    "Companies({{CompanyId}})",
                    "Entities({{LocationId}})",
                    "PricingShelfPrices({{ShelfId}})"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "GET Pricing Shelf Products",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "description": "Your Beaer token returned from the Authenication Call goes here.",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "description": "Your return type goes here - application/json",
                    "type": "text"
                  },
                  {
                    "key": "Accept-Language",
                    "value": "en-us",
                    "description": "Acceptable Language Values: en-us, fr-ca, es-mx\t",
                    "type": "text"
                  },
                  {
                    "key": "Content-Language",
                    "value": "en-us",
                    "description": "Acceptable Language Values: en-us, fr-ca, es-mx",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/pricing/v1/Companies({{CompanyId}})/PricingShelfProducts?$filter=PricingShelfId eq {{ShelfId}}",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "pricing",
                    "v1",
                    "Companies({{CompanyId}})",
                    "PricingShelfProducts"
                  ],
                  "query": [
                    {
                      "key": "$filter",
                      "value": "PricingShelfId eq {{ShelfId}}"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Get Changed Product Pricing by Location",
              "event": [
                {
                  "listen": "prerequest",
                  "script": {
                    "exec": [
                      "//see collection pre-request script for function definition\r",
                      "utils.setYesterday(postman);"
                    ],
                    "type": "text/javascript",
                    "packages": {}
                  }
                }
              ],
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "default"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/pricing/v1/Companies/{{CompanyId}}/Locations/{{LocationId}}/ChangedPrices/{{MidnightYesterday}}?$skip=0&$top=50",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "pricing",
                    "v1",
                    "Companies",
                    "{{CompanyId}}",
                    "Locations",
                    "{{LocationId}}",
                    "ChangedPrices",
                    "{{MidnightYesterday}}"
                  ],
                  "query": [
                    {
                      "key": "$skip",
                      "value": "0"
                    },
                    {
                      "key": "$top",
                      "value": "50",
                      "description": "Maximum 500"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Get Changed Product Pricing all Locations",
              "event": [
                {
                  "listen": "prerequest",
                  "script": {
                    "exec": [
                      "//see collection pre-request script for function definition\r",
                      "utils.setYesterday(postman);"
                    ],
                    "type": "text/javascript"
                  }
                }
              ],
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "default"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/pricing/v1/Companies/{{CompanyId}}/ChangedPrices/{{MidnightYesterday}}",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "pricing",
                    "v1",
                    "Companies",
                    "{{CompanyId}}",
                    "ChangedPrices",
                    "{{MidnightYesterday}}"
                  ]
                }
              },
              "response": []
            }
          ],
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  ""
                ]
              }
            }
          ]
        },
        {
          "name": "Cova Sales Orders",
          "item": [
            {
              "name": "TIP Create an Order in Cova (Tax INCLUSIVE pricing)",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      "//var data = JSON.parse(responseBody);",
                      "//postman.setEnvironmentVariable(\"SalesOrderId\", data.id);",
                      ""
                    ],
                    "type": "text/javascript",
                    "packages": {}
                  }
                },
                {
                  "listen": "prerequest",
                  "script": {
                    "exec": [
                      "var uuid = require('uuid');\r",
                      "postman.setEnvironmentVariable(\"SalesOrderId\", uuid.v4());"
                    ],
                    "type": "text/javascript",
                    "packages": {}
                  }
                }
              ],
              "request": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "description": "Your Beaer token returned from the Authenication Call goes here.",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "description": "Your return type goes here (json )",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "description": "Your body style goes here (json)",
                    "type": "text"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\r\n  \"Id\": \"{{SalesOrderId}}\",\r\n  \"CompanyId\": {{CompanyId}},\r\n  \"EntityId\": {{LocationId}},\r\n  \"OrderReference\": \"{{FirstName}} {{LastName}}\",\r\n  \"CustomerId\": \"{{CustomerId}}\",\r\n  \"IntegratorId\": \"{{IntegratorId}}\",\r\n  \"IsDelivery\": \"{{IsDelivery}}\",\r\n  \"ExternalOrderId\":\"379947-KLM373\",\r\n  \"Notes\":\"Please use side door\", //optional\r\n  \"TimeSlotDisplayString\": \"2 PM - 4 PM\", //optional\r\n  \"Lines\": [\r\n    {\r\n      \"Name\": \"{{ItemName}}\",\r\n      \"CatalogItemId\": \"{{CatalogItemId}}\",\r\n      \"Quantity\": {{Quantity}},\r\n      \"PackageId\":null,\r\n      \"LineDollarAmount\": {{LineDollarAmount}}\r\n    }\r\n  ]\r\n  /*Taxes and Discounts are not applicable*/\r\n}"
                },
                "url": {
                  "raw": "{{CovaApiUrl}}/covaorderintake/v1/TIPCovaOrder({{SalesOrderId}})",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "covaorderintake",
                    "v1",
                    "TIPCovaOrder({{SalesOrderId}})"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "TEP Create an Order in Cova (Tax EXCLUSIVE pricing)",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      "//var data = JSON.parse(responseBody);",
                      "//postman.setEnvironmentVariable(\"SalesOrderId\", data.id);",
                      ""
                    ],
                    "type": "text/javascript",
                    "packages": {}
                  }
                },
                {
                  "listen": "prerequest",
                  "script": {
                    "exec": [
                      "var uuid = require('uuid');\r",
                      "postman.setEnvironmentVariable(\"SalesOrderId\", uuid.v4());"
                    ],
                    "type": "text/javascript",
                    "packages": {}
                  }
                }
              ],
              "request": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "description": "Your Beaer token returned from the Authenication Call goes here.",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "description": "Your return type goes here (json )",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "description": "Your body style goes here (json)",
                    "type": "text"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\r\n  \"Id\": \"{{SalesOrderId}}\",\r\n  \"CompanyId\": {{CompanyId}},\r\n  \"EntityId\": {{LocationId}},\r\n  \"OrderReference\": \"{{FirstName}} {{LastName}}\",\r\n  \"customerId\": \"{{CustomerId}}\",\r\n  \"IntegratorId\": \"{{IntegratorId}}\",\r\n  \"IsDelivery\": \"{{IsDelivery}}\",\r\n  \"ExternalOrderId\":\"online-{{$randomBankAccount}}\",\r\n  \"Notes\":\"Please use side door\", //optional\r\n  \"TimeSlotDisplayString\": \"2 PM - 4 PM\", //optional\r\n  \"Lines\": [\r\n    {\r\n      \"Name\": \"{{ItemName}}\",\r\n      \"CatalogItemId\": \"{{CatalogItemId}}\",\r\n      \"Quantity\": {{Quantity}},\r\n      \"LineDollarAmount\": {{LineDollarAmount}}\r\n    } \r\n  ]\r\n  /*Taxes and Discounts are not applicable*/\r\n}"
                },
                "url": {
                  "raw": "{{CovaApiUrl}}/covaorderintake/v1/TEPCovaOrder({{SalesOrderId}})",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "covaorderintake",
                    "v1",
                    "TEPCovaOrder({{SalesOrderId}})"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Cova Order Status V2",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      "var data = JSON.parse(responseBody);\r",
                      "postman.setEnvironmentVariable(\"SaleTotal\", data.saleTotal);"
                    ],
                    "type": "text/javascript"
                  }
                }
              ],
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/covaorderintake/v2/Companies({{CompanyId}})/CovaOrder({{SalesOrderId}})/Status",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "covaorderintake",
                    "v2",
                    "Companies({{CompanyId}})",
                    "CovaOrder({{SalesOrderId}})",
                    "Status"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "CovaPaymentIntake",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "description": "Your Beaer token returned from the Authenication Call goes here.",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "description": "Your return type goes here (json )",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "description": "Your body style goes here (json)",
                    "type": "text"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\r\n  \"SaleID\": \"{{SalesOrderId}}\",\r\n  \"CompanyId\": {{CompanyId}},\r\n  \"TrackingNumber\": \"trackinghere\",\r\n  \"Payments\": [\r\n    {\r\n      \"PreAuthorizationToken\": \"preauthhere\",\r\n      \"Amount\": {{SaleTotal}},\r\n      \"TimeTakenUtc\": \"{{$isoTimestamp}}\",\r\n      \"Last4Digits\":\"3648\" //optional\r\n    }\r\n  ]\r\n}"
                },
                "url": {
                  "raw": "{{CovaApiUrl}}/covaorderintake/v1/CovaOrderPayment",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "covaorderintake",
                    "v1",
                    "CovaOrderPayment"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "POST Order Completion",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{}"
                },
                "url": {
                  "raw": "{{CovaApiUrl}}/pointofsale/Companies({{CompanyId}})/Sales({{SalesOrderId}})/Complete",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "pointofsale",
                    "Companies({{CompanyId}})",
                    "Sales({{SalesOrderId}})",
                    "Complete"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Get Integrator Order (uses APIM Policy, integrator id ignored for now)",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/covaorderintake/v1/companies/{{CompanyId}}/entities/{{LocationId}}/integrators/{{IntegratorId}}/orders/{{SalesOrderId}}",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "covaorderintake",
                    "v1",
                    "companies",
                    "{{CompanyId}}",
                    "entities",
                    "{{LocationId}}",
                    "integrators",
                    "{{IntegratorId}}",
                    "orders",
                    "{{SalesOrderId}}"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Get Completed Orders (uses APIM Policy, integrator id ignored for now)",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/covaorderintake/v1/companies/{{CompanyId}}/entities/{{LocationId}}/integrators/{{IntegratorId}}/completedorders?DateSince=2023-08-20",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "covaorderintake",
                    "v1",
                    "companies",
                    "{{CompanyId}}",
                    "entities",
                    "{{LocationId}}",
                    "integrators",
                    "{{IntegratorId}}",
                    "completedorders"
                  ],
                  "query": [
                    {
                      "key": "DateSince",
                      "value": "2023-08-20"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "DELETE Sales order (Cancelled State - Can't be done after Payment API)",
              "request": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": ""
                },
                "url": {
                  "raw": "{{CovaApiUrl}}/pointofsale/Companies({{CompanyId}})/Sales({{SalesOrderId}})",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "pointofsale",
                    "Companies({{CompanyId}})",
                    "Sales({{SalesOrderId}})"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Change Fulfillment Status to In Progress",
              "request": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "text"
                  },
                  {
                    "key": "accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n    \"Status\":\"InProgress\"\n}"
                },
                "url": {
                  "raw": "{{CovaApiUrl}}/pointofsale/Companies({{CompanyId}})/OrderStatus({{SalesOrderId}})",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "pointofsale",
                    "Companies({{CompanyId}})",
                    "OrderStatus({{SalesOrderId}})"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Change Fulfillment Status to Ready for Pickup",
              "request": {
                "method": "PUT",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "text"
                  },
                  {
                    "key": "accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\n    \"Status\":\"ReadyForPickup\"\n}"
                },
                "url": {
                  "raw": "{{CovaApiUrl}}/pointofsale/Companies({{CompanyId}})/OrderStatus({{SalesOrderId}})",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "pointofsale",
                    "Companies({{CompanyId}})",
                    "OrderStatus({{SalesOrderId}})"
                  ]
                }
              },
              "response": []
            }
          ],
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  ""
                ]
              }
            }
          ]
        },
        {
          "name": "Point of Sale",
          "item": [
            {
              "name": "Get Sales Order by Id",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      "var data = JSON.parse(responseBody);",
                      "postman.setEnvironmentVariable(\"ProductTotal\", data.Total.Products);",
                      "postman.setEnvironmentVariable(\"SalesTax\", data.Total.Taxes);",
                      "if(data.Invoice != null) postman.setEnvironmentVariable(\"InvoiceId\", data.Invoice.Id);",
                      "if(data.Payments.Items[0]) postman.setEnvironmentVariable(\"MappedMethodId\", data.Payments.Items[0].MappedMethodId);",
                      "postman.setEnvironmentVariable(\"PackageId\", data.InStock[0].PackageNumber);",
                      "postman.setEnvironmentVariable(\"BatchId\", data.InStock[0].Batch);",
                      "postman.setEnvironmentVariable(\"LotId\", data.InStock[0].Batch);",
                      "postman.setEnvironmentVariable(\"UnitId\", data.InStock[0].UnitId);",
                      "",
                      ""
                    ],
                    "type": "text/javascript"
                  }
                }
              ],
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/pointofsale/Companies({{CompanyId}})/Sales({{SalesOrderId}})",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "pointofsale",
                    "Companies({{CompanyId}})",
                    "Sales({{SalesOrderId}})"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Get Sales Orders to Fulfill",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "description": "Your Beaer token returned from the Authenication Call goes here.",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "description": "Your return type goes here (json)",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/pointofsale/Companies({{CompanyId}})/Locations({{LocationId}})/SalesToFulfill",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "pointofsale",
                    "Companies({{CompanyId}})",
                    "Locations({{LocationId}})",
                    "SalesToFulfill"
                  ]
                },
                "description": "## URI Parameters\n\n> CompanyId (Required) - Identifier for the Company\n\n> LocationId (Required) - Identifier for the Location"
              },
              "response": []
            },
            {
              "name": "Get Sales Orders to Fulfill with Sales status of PaidAndAwaitingCompletion",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "description": "Your Beaer token returned from the Authenication Call goes here.",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "description": "Your return type goes here - application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/pointofsale/Companies({{CompanyId}})/Locations({{LocationId}})/SalesToFulfill?$filter=SaleStatus eq 'PaidAndAwaitingCompletion'",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "pointofsale",
                    "Companies({{CompanyId}})",
                    "Locations({{LocationId}})",
                    "SalesToFulfill"
                  ],
                  "query": [
                    {
                      "key": "$filter",
                      "value": "SaleStatus eq 'PaidAndAwaitingCompletion'"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Get Sales Orders to Fulfill with a Fullfilment status of ReadyForPickup and Method is Pickup",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "description": "Your Beaer token returned from the Authenication Call goes here.",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "description": "Your return type goes here - application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/pointofsale/Companies({{CompanyId}})/Locations({{LocationId}})/SalesToFulfill?$filter=Status eq 'ReadyForPickup' and Method eq 'Pickup'",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "pointofsale",
                    "Companies({{CompanyId}})",
                    "Locations({{LocationId}})",
                    "SalesToFulfill"
                  ],
                  "query": [
                    {
                      "key": "$filter",
                      "value": "Status eq 'ReadyForPickup' and Method eq 'Pickup'"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Get Sales Orders to Fulfill with Status of ReadyForPickup and Delivery",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "description": "Your Beaer token returned from the Authenication Call goes here.",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "description": "Your return type goes here - application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/pointofsale/Companies({{CompanyId}})/Locations({{LocationId}})/SalesToFulfill?$filter=Status eq 'ReadyForPickup' and Method eq 'Delivery'",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "pointofsale",
                    "Companies({{CompanyId}})",
                    "Locations({{LocationId}})",
                    "SalesToFulfill"
                  ],
                  "query": [
                    {
                      "key": "$filter",
                      "value": "Status eq 'ReadyForPickup' and Method eq 'Delivery'"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Get Sales Orders to Fulfill by Reciept number",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "description": "Your Beaer token returned from the Authenication Call goes here.",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "description": "Your return type goes here - application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/pointofsale/Companies({{CompanyId}})/Locations({{LocationId}})/SalesToFulfill?$filter=ReceiptNumber eq 'IN8SLK-23JBSGC'",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "pointofsale",
                    "Companies({{CompanyId}})",
                    "Locations({{LocationId}})",
                    "SalesToFulfill"
                  ],
                  "query": [
                    {
                      "key": "$filter",
                      "value": "ReceiptNumber eq 'IN8SLK-23JBSGC'"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Get Sales Invoice Details",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      "var data = JSON.parse(responseBody);",
                      "postman.setEnvironmentVariable(\"EntityId\", data.LocationId);",
                      "postman.setEnvironmentVariable(\"InvoiceId\", data.Id);",
                      "postman.setEnvironmentVariable(\"ReceiptNumber\", data.ReceiptNumber);",
                      "postman.setEnvironmentVariable(\"CatalogItemId\", data.InStock[0].CatalogId);",
                      "postman.setEnvironmentVariable(\"ItemName\", data.InStock[0].Name);",
                      "postman.setEnvironmentVariable(\"CatalogSku\", data.InStock[0].SKU);",
                      "postman.setEnvironmentVariable(\"SoldAtPrice\", data.InStock[0].SoldAtPrice);",
                      "postman.setEnvironmentVariable(\"ListPrice\", data.InStock[0].ListPrice);",
                      "postman.setEnvironmentVariable(\"SalePrice\", data.InStock[0].SalePrice);",
                      "postman.setEnvironmentVariable(\"Quantity\", data.InStock[0].Quantity);",
                      "postman.setEnvironmentVariable(\"UnitId\", data.InStock[0].UnitId);",
                      "postman.setEnvironmentVariable(\"MappedMethodId\", data.Payments.Items[0].MappedMethodId);",
                      "postman.setEnvironmentVariable(\"PackageId\", data.InStock[0].PackageNumber);",
                      "postman.setEnvironmentVariable(\"BatchId\", data.InStock[0].Batch);",
                      "postman.setEnvironmentVariable(\"LotId\", data.InStock[0].Batch);",
                      "postman.setEnvironmentVariable(\"UnitId\", data.InStock[0].UnitId);",
                      "",
                      ""
                    ],
                    "type": "text/javascript"
                  }
                }
              ],
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "description": "Your Beaer token returned from the Authenication Call goes here.",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "description": "Your return type goes here - application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/pointofsale/Companies({{CompanyId}})/SalesInvoiceDetails({{InvoiceId}})",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "pointofsale",
                    "Companies({{CompanyId}})",
                    "SalesInvoiceDetails({{InvoiceId}})"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Get Sales Invoice Summaries",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "description": "Your Beaer token returned from the Authenication Call goes here.",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "description": "Your return type goes here (json)",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/pointofsale/Companies({{CompanyId}})/SalesInvoiceSummaries?$filter=LocationId eq {{LocationId}}&$filter=CreatedDateUtc ge datetime'{{MidnightYesterday}}' and  CreatedDateUtc le datetime'{{MidnightToday}}'",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "pointofsale",
                    "Companies({{CompanyId}})",
                    "SalesInvoiceSummaries"
                  ],
                  "query": [
                    {
                      "key": "$filter",
                      "value": "LocationId eq {{LocationId}}"
                    },
                    {
                      "key": "$filter",
                      "value": "CreatedDateUtc ge datetime'{{MidnightYesterday}}' and  CreatedDateUtc le datetime'{{MidnightToday}}'"
                    }
                  ]
                },
                "description": "## URI Parameters\n\n> CompanyId (Required) - Identifier for the Company"
              },
              "response": []
            },
            {
              "name": "Get All Completed Sales for a Customer",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "description": "Your Beaer token returned from the Authenication Call goes here.",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "description": "Your return type goes here - application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/pointofsale/Companies({{CompanyId}})/SalesInvoiceSummaries?$filter=LocationId eq {{LocationId}} and CreatedDateUtc ge datetime'2024-03-25T00:00' ",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "pointofsale",
                    "Companies({{CompanyId}})",
                    "SalesInvoiceSummaries"
                  ],
                  "query": [
                    {
                      "key": "$filter",
                      "value": "CustomerId eq guid'{{CustomerId}}'",
                      "disabled": true
                    },
                    {
                      "key": "$filter",
                      "value": "LocationId eq {{LocationId}}",
                      "disabled": true
                    },
                    {
                      "key": "$filter",
                      "value": "LocationId eq {{LocationId}} and CreatedDateUtc ge datetime'2024-03-25T00:00' "
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Get Sales Invoice by Invoice Number",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "description": "Your Beaer token returned from the Authenication Call goes here.",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "description": "Your return type goes here - application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/pointofsale/Companies({{CompanyId}})/SalesInvoiceSummaries?$filter=PrintableId eq '{{PrintableId}}'",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "pointofsale",
                    "Companies({{CompanyId}})",
                    "SalesInvoiceSummaries"
                  ],
                  "query": [
                    {
                      "key": "$filter",
                      "value": "PrintableId eq '{{PrintableId}}'"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Polling Completed Orders by Fufillment Method and Created Date",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/pointofsale/Companies({{CompanyId}})/Locations({{LocationId}})/CompletedOrders?$filter=FulfillmentMethod eq 'Delivery' and Created ge datetimeoffset'2019-09-01T00:00:00.000Z' and Created le datetimeoffset'2019-09-20T15:59:59.999Z'&$top=100&$skip=0",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "pointofsale",
                    "Companies({{CompanyId}})",
                    "Locations({{LocationId}})",
                    "CompletedOrders"
                  ],
                  "query": [
                    {
                      "key": "$filter",
                      "value": "FulfillmentMethod eq 'Delivery' and Created ge datetimeoffset'2019-09-01T00:00:00.000Z' and Created le datetimeoffset'2019-09-20T15:59:59.999Z'"
                    },
                    {
                      "key": "$top",
                      "value": "100"
                    },
                    {
                      "key": "$skip",
                      "value": "0"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Get Sales Orders that are and Ready for Pickup and Ready to be Paid for Curbside - Instore Pick up",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "description": "Your Beaer token returned from the Authenication Call goes here.",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "description": "Your return type goes here - application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/pointofsale/Companies({{CompanyId}})/Locations({{LocationId}})/SalesToFulfill?$filter=Method eq 'Pickup' and SaleStatus eq 'Cancelled'",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "pointofsale",
                    "Companies({{CompanyId}})",
                    "Locations({{LocationId}})",
                    "SalesToFulfill"
                  ],
                  "query": [
                    {
                      "key": "$filter",
                      "value": "Method eq 'Pickup' and SaleStatus eq 'Cancelled'"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Get Sales Orders that are Ready to be Paid and Ready for Pickup for Delivery",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "description": "Your Beaer token returned from the Authenication Call goes here.",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "description": "Your return type goes here - application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/pointofsale/Companies({{CompanyId}})/Locations({{LocationId}})/SalesToFulfill?$filter=Status eq 'ReadyForPickup' and Method eq 'Delivery' ",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "pointofsale",
                    "Companies({{CompanyId}})",
                    "Locations({{LocationId}})",
                    "SalesToFulfill"
                  ],
                  "query": [
                    {
                      "key": "$filter",
                      "value": "Status eq 'ReadyForPickup' and Method eq 'Delivery' "
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Get Refund Details from Original Sales Invoice id",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}} ",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/pointofsale/Companies({{CompanyId}})/SalesInvoiceDetailWithRefunds({{InvoiceId}})",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "pointofsale",
                    "Companies({{CompanyId}})",
                    "SalesInvoiceDetailWithRefunds({{InvoiceId}})"
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Sale Invoice",
          "item": [
            {
              "name": "Get Sales Order Id from Sales Invoice",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/invoice/v1/Companies({{CompanyId}} )/Invoices({{InvoiceId}})",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "invoice",
                    "v1",
                    "Companies({{CompanyId}} )",
                    "Invoices({{InvoiceId}})"
                  ]
                },
                "description": "This will only work for Sales invoice and Sales Orders created after 1/1/2019 as that is when the file service was ported over."
              },
              "response": []
            },
            {
              "name": "Get InvoiceSummary by filter",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/invoice/v1/Companies({{CompanyId}})/InvoiceSummaries?$filter=LocationId eq {{LocationId}} and CreatedDateUtc ge datetime'2025-02-03'&$skip=50&$top=100",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "invoice",
                    "v1",
                    "Companies({{CompanyId}})",
                    "InvoiceSummaries"
                  ],
                  "query": [
                    {
                      "key": "$filter",
                      "value": "ReceiptNumber eq '{{RecieptNumber}}'",
                      "disabled": true
                    },
                    {
                      "key": "$filter",
                      "value": "PrintableId eq'{{PrintableId}}'",
                      "disabled": true
                    },
                    {
                      "key": "$filter",
                      "value": "LocationId eq {{LocationId}} and CreatedDateUtc ge datetime'2025-02-03'"
                    },
                    {
                      "key": "$skip",
                      "value": "50"
                    },
                    {
                      "key": "$top",
                      "value": "100"
                    }
                  ]
                }
              },
              "response": []
            }
          ],
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  ""
                ]
              }
            }
          ]
        },
        {
          "name": "Promotions",
          "item": [
            {
              "name": "Legacy",
              "item": [
                {
                  "name": "Get All Active Promotions for X days",
                  "event": [
                    {
                      "listen": "prerequest",
                      "script": {
                        "exec": [
                          "//see collection pre-request script for function definition\r",
                          "utils.setYesterday(postman);"
                        ],
                        "type": "text/javascript"
                      }
                    }
                  ],
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "url": {
                      "raw": "{{CovaApiUrl}}/pospromotions/v3/Companies({{CompanyId}})/entities({{LocationId}})/ActivePromotionsForDays({{MidnightYesterday}}, 5)",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "pospromotions",
                        "v3",
                        "Companies({{CompanyId}})",
                        "entities({{LocationId}})",
                        "ActivePromotionsForDays({{MidnightYesterday}}, 5)"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Get All Promotions for a Company v3",
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "url": {
                      "raw": "{{CovaApiUrl}}/pospromotions/v3/Companies({{CompanyId}})/Promotions",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "pospromotions",
                        "v3",
                        "Companies({{CompanyId}})",
                        "Promotions"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Get Promotion By Id",
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "url": {
                      "raw": "{{CovaApiUrl}}/pospromotions/v3/Companies({{CompanyId}})/Promotions({{PromotionId}})",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "pospromotions",
                        "v3",
                        "Companies({{CompanyId}})",
                        "Promotions({{PromotionId}})"
                      ]
                    }
                  },
                  "response": []
                }
              ]
            },
            {
              "name": "Get Promotions for Menu Board",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/promotions/v1/Companies/{{CompanyId}}/PromotionsForMenuBoard",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "promotions",
                    "v1",
                    "Companies",
                    "{{CompanyId}}",
                    "PromotionsForMenuBoard"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Get Promotions by Capabilities",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/promotions/v1/Companies/{{CompanyId}}/ConditionCapabilities/{{condBits}}/PromotionTypeCapabilities/{{proBits}}/Promotions",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "promotions",
                    "v1",
                    "Companies",
                    "{{CompanyId}}",
                    "ConditionCapabilities",
                    "{{condBits}}",
                    "PromotionTypeCapabilities",
                    "{{proBits}}",
                    "Promotions"
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Payment Methods",
          "item": [
            {
              "name": "Mapped Payment Methods",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/paymentmethods/v1/Companies({{CompanyId}})/MappedPayments?$skip=0&$top=100",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "paymentmethods",
                    "v1",
                    "Companies({{CompanyId}})",
                    "MappedPayments"
                  ],
                  "query": [
                    {
                      "key": "$filter",
                      "value": "EntityId eq {{LocationId}} ",
                      "disabled": true
                    },
                    {
                      "key": "$skip",
                      "value": "0"
                    },
                    {
                      "key": "$top",
                      "value": "100"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Not in Portal - Public Payment Methods",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/paymentmethods/v1/PaymentMethods?$filter=IsPrivate eq false",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "paymentmethods",
                    "v1",
                    "PaymentMethods"
                  ],
                  "query": [
                    {
                      "key": "$filter",
                      "value": "IsPrivate eq false"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Not in Portal - Private Payment Methods",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/paymentmethods/v1/PaymentMethods?$filter=IsPrivate eq true",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "paymentmethods",
                    "v1",
                    "PaymentMethods"
                  ],
                  "query": [
                    {
                      "key": "$filter",
                      "value": "IsPrivate eq true"
                    }
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Reason Codes",
          "item": [
            {
              "name": "Get Reason All Codes for a Company",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      "var data = JSON.parse(responseBody);",
                      "postman.setEnvironmentVariable(\"ReasonCodeId\",data[0].Id);"
                    ],
                    "type": "text/javascript"
                  }
                }
              ],
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/reasoncode/Companies({{CompanyId}})/ReasonCodes",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "reasoncode",
                    "Companies({{CompanyId}})",
                    "ReasonCodes"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Get Reason Code by Id",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      ""
                    ],
                    "type": "text/javascript"
                  }
                }
              ],
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/reasoncode/Companies({{CompanyId}})/ReasonCodes({{ReasonCodeId}})",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "reasoncode",
                    "Companies({{CompanyId}})",
                    "ReasonCodes({{ReasonCodeId}})"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Create Inventory Adjustment/Cost Reason Code",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      "var data = JSON.parse(responseBody);",
                      "postman.setEnvironmentVariable(\"InventoryAdjustmentReasonCodeId\",data.Id);"
                    ],
                    "type": "text/javascript"
                  }
                }
              ],
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\r\n    \"Name\": \"Test - New Quantity reason code\",\r\n    \"Type\": \"Quantity\"\r\n}\r\n\r\n"
                },
                "url": {
                  "raw": "{{CovaApiUrl}}/reasoncode/Companies({{CompanyId}})/ReasonCodes",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "reasoncode",
                    "Companies({{CompanyId}})",
                    "ReasonCodes"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Delete Reason Code",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      ""
                    ],
                    "type": "text/javascript"
                  }
                }
              ],
              "request": {
                "method": "DELETE",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{}"
                },
                "url": {
                  "raw": "{{CovaApiUrl}}/reasoncode/Companies({{CompanyId}})/ReasonCodes({{ReasonCodeId}})",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "reasoncode",
                    "Companies({{CompanyId}})",
                    "ReasonCodes({{ReasonCodeId}})"
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Taxes",
          "item": [
            {
              "name": "Tax Pricing Configuration - Company",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "default"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/taxes/v1/Companies({{CompanyId}})/TaxPricingConfiguration",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "taxes",
                    "v1",
                    "Companies({{CompanyId}})",
                    "TaxPricingConfiguration"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Tax Pricing Configuration - Location",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      "var data = JSON.parse(responseBody);\r",
                      "postman.setEnvironmentVariable(\"TaxPricingScheme\", data[0].TaxPricing);"
                    ],
                    "type": "text/javascript"
                  }
                }
              ],
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "default"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/taxes/v1/Companies({{CompanyId}})/Locations({{LocationId}})/TaxPricingConfiguration",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "taxes",
                    "v1",
                    "Companies({{CompanyId}})",
                    "Locations({{LocationId}})",
                    "TaxPricingConfiguration"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Get all Tax Rates for a Company",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/taxes/v1/Companies({{CompanyId}})/TaxRates",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "taxes",
                    "v1",
                    "Companies({{CompanyId}})",
                    "TaxRates"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Get all Tax Rates for a Location",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/taxes/v1/Companies({{CompanyId}})/TaxRateEntityAssociations?$filter=EntityId eq {{LocationId}}",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "taxes",
                    "v1",
                    "Companies({{CompanyId}})",
                    "TaxRateEntityAssociations"
                  ],
                  "query": [
                    {
                      "key": "$filter",
                      "value": "EntityId eq {{LocationId}}"
                    }
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Get Details for a Tax Rate",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/taxes/v1/Companies({{CompanyId}})/TaxRates({{TaxRateId}})",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "taxes",
                    "v1",
                    "Companies({{CompanyId}})",
                    "TaxRates({{TaxRateId}})"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Get all Tax Categories for a Company",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/taxes/v1/Companies({{CompanyId}})/TaxCategories",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "taxes",
                    "v1",
                    "Companies({{CompanyId}})",
                    "TaxCategories"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Get Details for a Tax Category",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/taxes/v1/Companies({{CompanyId}})/TaxCategories({{TaxCategoryId}})",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "taxes",
                    "v1",
                    "Companies({{CompanyId}})",
                    "TaxCategories({{TaxCategoryId}})"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Get Taxes by Customer (tax exemptions customer type)",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/taxes/v1/Companies({{CompanyId}})/TaxesByCustomer",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "taxes",
                    "v1",
                    "Companies({{CompanyId}})",
                    "TaxesByCustomer"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Get Taxes by Customer Rules by location (tax exemptions customer type)",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/taxes/v1/Companies({{CompanyId}})/TaxesByCustomerRules/Locations({{LocationId}})",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "taxes",
                    "v1",
                    "Companies({{CompanyId}})",
                    "TaxesByCustomerRules",
                    "Locations({{LocationId}})"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Tax Calculation Request",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\r\n    \"CompanyId\": {{CompanyId}},\r\n    \"EntityId\": {{LocationId}},\r\n    \"LineItems\": [\r\n        {\r\n            \"LineNumber\": 1,\r\n            \"ProductCatalogId\": \"{{CatalogItemId}}\",\r\n            \"Quantity\": 7,\r\n            \"Price\": 66.29, //SoldAt unit price\r\n            \"BasePriceListPrice\" : 67.0 //the \"regular\" unit price\r\n        }\r\n    ]\r\n}"
                },
                "url": {
                  "raw": "{{CovaApiUrl}}/taxes/v2/TaxCalculation",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "taxes",
                    "v2",
                    "TaxCalculation"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Tax Inclusive Calculation Request",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\r\n    \"CompanyId\": {{CompanyId}},\r\n    \"EntityId\": {{LocationId}},\r\n    \"LineItems\": [\r\n        {\r\n            \"CatalogId\": \"{{CatalogItemId}}\",\r\n            \"Quantity\": 2,\r\n            \"LineDollarAmount\": 46.00, //total line price, not unit price\r\n            \"PerUnitBasePriceListPrice\": 23.00 //\"regular\" unit price\r\n        }\r\n    ]\r\n}"
                },
                "url": {
                  "raw": "{{CovaApiUrl}}/taxes/v2/TaxInclusiveCalculation",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "taxes",
                    "v2",
                    "TaxInclusiveCalculation"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "CalculateTaxInclusive - APIM testing",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\r\n\t\"CompanyId\": \"217409\",\r\n\t\"EntityId\": \"217424\",\r\n\t\"LineItems\": [\r\n\t\t{\r\n\t\t\t\"LineDollarAmount\": 40.0,\r\n\t\t\t\"PerUnitBasePriceListPrice\": 50.0,\r\n\t\t\t\"CatalogId\": \"62f48ada-bc9b-4e19-b840-f9ee3c208077\",\r\n\t\t\t\"Quantity\": 1\r\n\t\t},\r\n\t\t{\r\n\t\t\t\"LineDollarAmount\": 60.0,\r\n\t\t\t\"PerUnitBasePriceListPrice\": 65.0,\r\n\t\t\t\"CatalogId\": \"2a057e41-f91a-4a93-9f42-20a522f92df3\",\r\n\t\t\t\"Quantity\": 1\r\n\t\t}\r\n\t]\r\n}"
                },
                "url": {
                  "raw": "{{CovaApiUrl}}/taxes/v2/TaxInclusiveCalculation",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "taxes",
                    "v2",
                    "TaxInclusiveCalculation"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "CalculateTaxExclusive - APIM testing",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "text"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\r\n    \"CompanyId\": {{CompanyId}},\r\n    \"EntityId\": {{LocationId}},\r\n    \"LineItems\": [\r\n        {\r\n            \"LineNumber\": 1,\r\n            \"ProductCatalogId\": \"{{CatalogItemId}}\",\r\n            \"Quantity\": 1,\r\n            \"Price\": 36.03, //SoldAt unit price\r\n            \"BasePriceListPrice\" : 36.03 //the \"regular\" unit price\r\n        },\r\n        {\r\n            \"LineNumber\": 1,\r\n            \"ProductCatalogId\": \"ec155bd1-c13f-4079-91b5-d75f09b120e3\",\r\n            \"Quantity\": 1,\r\n            \"Price\": 7.14, //SoldAt unit price\r\n            \"BasePriceListPrice\" : 7.14 //the \"regular\" unit price\r\n        }\r\n    ]\r\n}\r\n/*{\r\n    \"CompanyId\": {{CompanyId}},\r\n    \"EntityId\": {{LocationId}},\r\n    \"LineItems\": [\r\n        {\r\n            \"CatalogId\": \"{{CatalogItemId}}\",\r\n            \"Quantity\": 4,\r\n            \"LineDollarAmount\": 40.60, //total line price, not unit price\r\n            \"PerUnitBasePriceListPrice\": 10.15 //\"regular\" unit price\r\n        },\r\n        {\r\n            \"CatalogId\": \"8dd9f1eb-d23d-4dc6-b955-0babcd21ac51\",\r\n            \"Quantity\": 1,\r\n            \"LineDollarAmount\": 15, //total line price, not unit price\r\n            \"PerUnitBasePriceListPrice\": 17.99 //\"regular\" unit price\r\n        }\r\n        \r\n    ]\r\n}*/"
                },
                "url": {
                  "raw": "{{CovaApiUrl}}/taxes/v1/CalculateTaxExclusive",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "taxes",
                    "v1",
                    "CalculateTaxExclusive"
                  ]
                }
              },
              "response": []
            }
          ],
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  ""
                ]
              }
            }
          ]
        },
        {
          "name": "Loyalty Points",
          "item": [
            {
              "name": "GET ALL Loyalty Points Rewards",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/iqloyalty/v1/Companies({{CompanyId}})/Entities({{LocationId}})/Rewards",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "iqloyalty",
                    "v1",
                    "Companies({{CompanyId}})",
                    "Entities({{LocationId}})",
                    "Rewards"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Loyalty Point Adjustment Report",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/iqloyalty/v1/LoyaltyAdjustmentHistoryReport/report?DateRange=Everything&Page=2&PageSize=200",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "iqloyalty",
                    "v1",
                    "LoyaltyAdjustmentHistoryReport",
                    "report"
                  ],
                  "query": [
                    {
                      "key": "DateRange",
                      "value": "Everything"
                    },
                    {
                      "key": "Page",
                      "value": "2"
                    },
                    {
                      "key": "PageSize",
                      "value": "200"
                    }
                  ]
                },
                "description": "Parameter as 'DateRange' =   Today, Yesterday, LastWeek, LastMonth, LastQuarter, WeekToDate, MonthToDate, QuarterToDate, YearToDate, FullYear, Everything\""
              },
              "response": []
            },
            {
              "name": "Get Loyalty Points from an Invoice",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/iqloyalty/v1/Companies({{CompanyId}})/Entities({{LocationId}})/Invoices({{InvoiceId}})",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "iqloyalty",
                    "v1",
                    "Companies({{CompanyId}})",
                    "Entities({{LocationId}})",
                    "Invoices({{InvoiceId}})"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Get Loyalty Points Summary for a Customer",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/iqloyalty/v1/Companies({{CompanyId}})/Entities({{CompanyId}})/Customers({{CustomerId}})/Summary",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "iqloyalty",
                    "v1",
                    "Companies({{CompanyId}})",
                    "Entities({{CompanyId}})",
                    "Customers({{CustomerId}})",
                    "Summary"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "POST Loyalty Points",
              "request": {
                "method": "POST",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  },
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "default"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\r\n    \"PointsAdjustmentAmount\": 500,\r\n    \"Notes\": \"Sync with some other system\",\r\n    \"companyId\": {{CompanyId}},\r\n    \"customerId\": \"{{CustomerId}}\"\r\n}",
                  "options": {
                    "raw": {
                      "language": "json"
                    }
                  }
                },
                "url": {
                  "raw": "{{CovaApiUrl}}/iqloyalty/v1/companies({{CompanyId}})/entities({{LocationId}})/customers({{CustomerId}})/adjustment",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "iqloyalty",
                    "v1",
                    "companies({{CompanyId}})",
                    "entities({{LocationId}})",
                    "customers({{CustomerId}})",
                    "adjustment"
                  ]
                }
              },
              "response": []
            }
          ],
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  ""
                ]
              }
            }
          ]
        },
        {
          "name": "General Ledger",
          "item": [
            {
              "name": "Get General Ledger Chart of Accounts",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/generalledger/v1/Companies({{CompanyId}})/Accounts",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "generalledger",
                    "v1",
                    "Companies({{CompanyId}})",
                    "Accounts"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Get General Ledger Account Details",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/generalledger/v1/Companies({{CompanyId}})/Accounts({{GLAccountId}})",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "generalledger",
                    "v1",
                    "Companies({{CompanyId}})",
                    "Accounts({{GLAccountId}})"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Polling General Ledger Feed",
              "event": [
                {
                  "listen": "prerequest",
                  "script": {
                    "exec": [
                      "//see collection pre-request script for function definition\r",
                      "utils.setDateRange30days(postman);"
                    ],
                    "type": "text/javascript"
                  }
                }
              ],
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/generalledger/v1/Companies({{CompanyId}})/Transactions?$filter=TransactionDateUTC ge datetime'{{MidnightYesterday}}' and TransactionDateUTC le datetime'{{MidnightToday}}'&$skip=0&$top=500",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "generalledger",
                    "v1",
                    "Companies({{CompanyId}})",
                    "Transactions"
                  ],
                  "query": [
                    {
                      "key": "$filter",
                      "value": "TransactionDateUTC ge datetime'{{MidnightYesterday}}' and TransactionDateUTC le datetime'{{MidnightToday}}'",
                      "description": "The first datetime should be the last time polled and the second datetime should be the current time of this polling"
                    },
                    {
                      "key": "$skip",
                      "value": "0",
                      "description": "Paging should increase by the top amount for each consecutive pull untill all the data is pulled.  So the next pull would increase from 0 to 200."
                    },
                    {
                      "key": "$top",
                      "value": "500",
                      "description": "The amount of records returned by each pull of the API."
                    }
                  ]
                },
                "description": "Polling General Ledger Feed by start and stop datetime as well as paging through the results.\n\n\n\nPossible Return types:\n\n    \"Platform_CashManagement\";\n\n    \"Platform_CashOverShortAmendment\";\n\n    \"Platform_InventoryAdjustment\";\n\n    \"Platform_InventoryConversion\";\n\n    \"Platform_Invoice\";\n\n    \"Platform_PurchaseOrder\";\n\n    \"Platform_Transfer\";\n\n    \"Platform_PaymentAmendment\";"
              },
              "response": []
            },
            {
              "name": "Cash Management Report with Date Range",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}",
                    "type": "text"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/cashmanagementreports/v1/CashManagement/report?filter=companyId+eq+{{CompanyId}}+and+entityId+eq+{{LocationId}}+and+date+gte+{{StartDate}}+and+date+lte+{{EndDate}}+and+transactionId+eq+{{TransactionId}}",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "cashmanagementreports",
                    "v1",
                    "CashManagement",
                    "report"
                  ],
                  "query": [
                    {
                      "key": "filter",
                      "value": "companyId+eq+{{CompanyId}}+and+entityId+eq+{{LocationId}}+and+date+gte+{{StartDate}}+and+date+lte+{{EndDate}}+and+transactionId+eq+{{TransactionId}}"
                    }
                  ]
                },
                "description": "Polling General Ledger Feed by start and stop datetime as well as paging through the results.\n\n\n\nPossible Return transactionType:\n\n    \"Platform_CashManagement\";\n\n    \"Platform_CashOverShortAmendment\";\n\n    \"Platform_InventoryAdjustment\";\n\n    \"Platform_InventoryConversion\";\n\n    \"Platform_Invoice\";\n\n    \"Platform_PurchaseOrder\";\n\n    \"Platform_Transfer\";\n\n    \"Platform_PaymentAmendment\";\n\n\n    You can also you tranactionId but you will still need to include a date range."
              },
              "response": []
            }
          ]
        },
        {
          "name": "Employees",
          "item": [
            {
              "name": "User Management",
              "item": [
                {
                  "name": "Get All Users for a Company",
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "url": {
                      "raw": "{{CovaApiUrl}}/usermanager/v2/entities({{CompanyId}})/users?$filter=isactive eq 'true'",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "usermanager",
                        "v2",
                        "entities({{CompanyId}})",
                        "users"
                      ],
                      "query": [
                        {
                          "key": "$filter",
                          "value": "isactive eq 'true'"
                        }
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Get All Users for a Company for a Security Role",
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "url": {
                      "raw": "{{CovaApiUrl}}/usermanager/v2/entities({{CompanyId}})/securityRoles({{SecurityRoleId}})/users?$skip=0&$top=100",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "usermanager",
                        "v2",
                        "entities({{CompanyId}})",
                        "securityRoles({{SecurityRoleId}})",
                        "users"
                      ],
                      "query": [
                        {
                          "key": "$skip",
                          "value": "0"
                        },
                        {
                          "key": "$top",
                          "value": "100"
                        }
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Get Users by ClientUserId",
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "url": {
                      "raw": "{{CovaApiUrl}}/usermanager/v1/entities({{CompanyId}})/users?$filter=ClientUserId eq '{{ClientUserId}}'",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "usermanager",
                        "v1",
                        "entities({{CompanyId}})",
                        "users"
                      ],
                      "query": [
                        {
                          "key": "$filter",
                          "value": "ClientUserId eq '{{ClientUserId}}'"
                        }
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Get Users by CorrelationId",
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "url": {
                      "raw": "{{CovaApiUrl}}/usermanager/v1/entities({{CompanyId}})/users?$filter=CorrelationId eq '{{CorrelationId}}'",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "usermanager",
                        "v1",
                        "entities({{CompanyId}})",
                        "users"
                      ],
                      "query": [
                        {
                          "key": "$filter",
                          "value": "CorrelationId eq '{{CorrelationId}}'"
                        }
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Get a User's Details",
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "url": {
                      "raw": "{{CovaApiUrl}}/usermanager/v1/users({{UserId}})",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "usermanager",
                        "v1",
                        "users({{UserId}})"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Create a New User",
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "type": "text"
                      },
                      {
                        "key": "Content-Type",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"FirstName\": \"John\",\r\n    \"LastName\": \"Bates\",\r\n    \"UserName\": \"johnb@cova.com\",\r\n    \"Address\": {\r\n        \"AddressLine1\": \"1432 Merry View Road\",\r\n        \"AddressLine2\": \"\",\r\n        \"City\": \"Big Windy\",\r\n        \"StateCode\": \"ON\",\r\n        \"CountryCode\": \"CA\",\r\n        \"Zip\": \"A1A2B2\"\r\n    },\r\n    \"Picture\": {\r\n        \"Id\": \"1fa5ae34-1578-44a0-9b21-b9be14559b9f\",\r\n        \"Href\": \"https://ams.blob.core.windows.net/assets/1fa5ae34-1578-44a0-9b21-b9be14559b9f.jpg\",\r\n        \"Height\": 480,\r\n        \"Width\": 640,\r\n        \"Md5Checksum\": \"d3fc6e526f00a56c9dacd503eff5fc93\",\r\n        \"Name\": \"sample.jpg\",\r\n        \"MimeType\": \"image/jpeg\"\r\n    },\r\n    \"ClientUserId\": \"132\",\r\n    \"CorrelationId\": \"Test\",\r\n    \"Email\": \"johnb@cova.com\",\r\n    \"JobTitle\": \"Sales Clerk\",\r\n    \"ParentEntityId\": {{CompanyId}},\r\n    \"PhoneNumbers\": [\r\n        {\r\n            \"Number\": \"6135550127\",\r\n            \"Extension\": \"5532\",\r\n            \"Type\": \"Work\"\r\n        }\r\n    ],\r\n    \"Version\": 1\r\n}"
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/usermanager/v1/users",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "usermanager",
                        "v1",
                        "users"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Update a User",
                  "request": {
                    "method": "PUT",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "type": "text"
                      },
                      {
                        "key": "Content-Type",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n  \"FirstName\": \"Simon\",\r\n    \"LastName\": \"Jacobs\",\r\n    \"UserName\": \"storemanager@covasoft.net\",\r\n    \"Address\": {\r\n        \"AddressLine1\": \"1432 Merry View Road\",\r\n        \"AddressLine2\": \"\",\r\n        \"City\": \"Big Windy\",\r\n        \"StateCode\": \"ON\",\r\n        \"CountryCode\": \"CA\",\r\n        \"Zip\": \"A1A2B2\"\r\n    },\r\n   \"Picture\": {\r\n        \"Id\": \"b0165b99-6ee7-47de-9634-fbe7a8b74595\",\r\n        \"Href\": \"https://iqazgppams1.blob.core.windows.net/assets/b0165b99-6ee7-47de-9634-fbe7a8b74595.jpg\",\r\n        \"Height\": 128,\r\n        \"Width\": 128,\r\n        \"Md5Checksum\": \"391e1c2d4da727e198c38cdb1283d00f\",\r\n        \"Name\": \"128.jpg\",\r\n        \"MimeType\": \"image/jpeg\"\r\n    },\r\n    \"ClientUserId\": \"1324\",\r\n    \"CorrelationId\": \"CovaTest\",\r\n     \"Email\": \"storemanager@covasoft.net\",\r\n    \"JobTitle\": \"Manager\",\r\n    \"ParentEntityId\": {{CompanyId}},\r\n    \"PhoneNumbers\": [\r\n        {\r\n            \"Number\": \"6135550127\",\r\n            \"Extension\": \"5532\",\r\n            \"Type\": \"Work\"\r\n        }\r\n    ],\r\n    \"Attributes\": {\r\n    \t\"Department\": \"Sales\",\r\n\t\t\"BadgeId\": 894523\r\n    },\r\n    \"Version\": 3\r\n}"
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/usermanager/v1/users({{UserId}})",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "usermanager",
                        "v1",
                        "users({{UserId}})"
                      ]
                    },
                    "description": "#Update a User Record\r\nUse this request to update a user’s record.\r\n\r\n##Important: It is important to understand the behavior of PUT requests used to update user records.\r\n\r\nA great many fields in the user record are optional when initially creating the record. These fields are naturally also optional in PUT requests, but the behavior in a PUT request is quite different. In PUT requests, any fields CURRENTLY POPULATED in the user’s record MUST ALSO BE INCLUDED in the update request; otherwise, those fields are deleted from the user record. In other words, omitting a currently populated field in a PUT request amounts to deleting that information from the user’s record.\r\n\r\nAt the same time, if you want to remove information for a specific field in a user record, you can do this using a PUT request that includes ALL the necessary information EXCEPT the field you want to delete. Just be careful to include all information you want to retain in the record.\r\n\r\nNote that you cannot disable a user by using a PUT request to set the IsActive property to false. If the IsActive property is included in a PUT request, it is ignored."
                  },
                  "response": []
                },
                {
                  "name": "Get Number of Users for a Company",
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "url": {
                      "raw": "{{CovaApiUrl}}/usermanager/v1/entities({{CompanyId}})/users/getCount",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "usermanager",
                        "v1",
                        "entities({{CompanyId}})",
                        "users",
                        "getCount"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Get Assigned Locations for a User",
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "url": {
                      "raw": "{{CovaApiUrl}}/usermanager/v1/users({{UserId}})/locations",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "usermanager",
                        "v1",
                        "users({{UserId}})",
                        "locations"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Assigned a User to a Location",
                  "request": {
                    "method": "PUT",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "type": "text"
                      },
                      {
                        "key": "Content-Type",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": ""
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/usermanager/v1/users({{UserId}})/locations({{LocationId}})",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "usermanager",
                        "v1",
                        "users({{UserId}})",
                        "locations({{LocationId}})"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Unassign a User to a Location",
                  "request": {
                    "method": "DELETE",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "type": "text"
                      },
                      {
                        "key": "Content-Type",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": ""
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/usermanager/v1/users({{UserId}})/locations({{LocationId}})",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "usermanager",
                        "v1",
                        "users({{UserId}})",
                        "locations({{LocationId}})"
                      ]
                    }
                  },
                  "response": []
                }
              ]
            },
            {
              "name": "User Security Roles",
              "item": [
                {
                  "name": "GET All Security Roles for an Company",
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      }
                    ],
                    "url": {
                      "raw": "{{CovaApiUrl}}/usermanager/v1/Entities({{CompanyId}})/SecurityRoles",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "usermanager",
                        "v1",
                        "Entities({{CompanyId}})",
                        "SecurityRoles"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "GET All Permissions for a Company",
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      }
                    ],
                    "url": {
                      "raw": "{{CovaApiUrl}}/usermanager/v1/Entities({{CompanyId}})/Permissions",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "usermanager",
                        "v1",
                        "Entities({{CompanyId}})",
                        "Permissions"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Get Permissions for a Security Role",
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      }
                    ],
                    "url": {
                      "raw": "{{CovaApiUrl}}/usermanager/v1/Entities({{CompanyId}})/SecurityRoles({{SecurityRoleId}})/Permissions",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "usermanager",
                        "v1",
                        "Entities({{CompanyId}})",
                        "SecurityRoles({{SecurityRoleId}})",
                        "Permissions"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "POST a Security Role for a Company",
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "Content-Type",
                        "value": "application/json",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"Name\": \"API Test User\"\r\n}"
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/usermanager/v1/Entities({{CompanyId}})/SecurityRoles",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "usermanager",
                        "v1",
                        "Entities({{CompanyId}})",
                        "SecurityRoles"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "DELETE a Security Role for a Company",
                  "request": {
                    "method": "DELETE",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "Content-Type",
                        "value": "application/json",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": ""
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/usermanager/v1/Entities({{CompanyId}})/SecurityRoles({{SecurityRoleId}})",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "usermanager",
                        "v1",
                        "Entities({{CompanyId}})",
                        "SecurityRoles({{SecurityRoleId}})"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Enabling a Permission for a Security Role",
                  "request": {
                    "method": "PUT",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      }
                    ],
                    "url": {
                      "raw": "{{CovaApiUrl}}/usermanager/v1/Entities({{CompanyId}})/SecurityRoles({{SecurityRoleId}})/Permissions({{PermissionId}})",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "usermanager",
                        "v1",
                        "Entities({{CompanyId}})",
                        "SecurityRoles({{SecurityRoleId}})",
                        "Permissions({{PermissionId}})"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Disabling a Permission for a Security Role",
                  "request": {
                    "method": "DELETE",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      }
                    ],
                    "url": {
                      "raw": "{{CovaApiUrl}}/usermanager/v1/Entities({{CompanyId}})/SecurityRoles({{SecurityRoleId}})/Permissions({{PermissionId}})",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "usermanager",
                        "v1",
                        "Entities({{CompanyId}})",
                        "SecurityRoles({{SecurityRoleId}})",
                        "Permissions({{PermissionId}})"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Assigning a Security Role to a User",
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "Content-Type",
                        "value": "application/json",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"EntityId\": {{CompanyId}},\r\n    \"SecurityRoleId\": {{SecurityRoleId}}\r\n}"
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/usermanager/v1/Users({{UserId}})/AssignedRoles",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "usermanager",
                        "v1",
                        "Users({{UserId}})",
                        "AssignedRoles"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Unassigning a Security Role to a User",
                  "request": {
                    "method": "DELETE",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "Content-Type",
                        "value": "application/json",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": ""
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/usermanager/v1/Users({{UserId}})/AssignedRoles({{SecurityRoleAssignmentId}})",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "usermanager",
                        "v1",
                        "Users({{UserId}})",
                        "AssignedRoles({{SecurityRoleAssignmentId}})"
                      ]
                    }
                  },
                  "response": []
                }
              ],
              "event": [
                {
                  "listen": "prerequest",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      ""
                    ]
                  }
                },
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      ""
                    ]
                  }
                }
              ]
            },
            {
              "name": "User Access Management",
              "item": [
                {
                  "name": "Set a Temporary Password",
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "Content-Type",
                        "value": "application/json",
                        "type": "text"
                      },
                      {
                        "key": "Content",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"Password\": \"TempPa55word!\"\r\n    \r\n}"
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/usermanager/v1/users({{UserId}})/temporaryPassword",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "usermanager",
                        "v1",
                        "users({{UserId}})",
                        "temporaryPassword"
                      ]
                    },
                    "description": "Set a Temporary Password for a User\r\nWhen the administrator creates the user account, she should create a temporary password for the user. The user’s password is set to the provided value and marked in the system as temporary.\r\n\r\nWhen the temporary password is created, for example when a user has forgotten their password, a notification is sent to the email address specified for the user account. For notification to succeed, the user must have a working email configured for the account. Email is a required field in user accounts and when a user has a temporary password, the system forces the user to change the password on first login."
                  },
                  "response": []
                },
                {
                  "name": "Change a User Password",
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "Content-Type",
                        "value": "application/json",
                        "type": "text"
                      },
                      {
                        "key": "Content",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"CurrentPassword\": \"TempPa55word!\",\r\n    \"NewPassword\": \"n3wPa55word!\"\r\n}"
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/usermanager/v1/users({{UserId}})/changePassword",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "usermanager",
                        "v1",
                        "users({{UserId}})",
                        "changePassword"
                      ]
                    },
                    "description": "Use this request to change the password on your user account.\r\n\r\nWhen an administrator creates your user account, you are provided with a temporary password. The first time you log on, the system will require you to change this password; use this request to do so.\r\n\r\nNote that all passwords must meet the defined in the client’s password strength rules."
                  },
                  "response": []
                },
                {
                  "name": "Set a User's Password",
                  "request": {
                    "method": "PUT",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "Content-Type",
                        "value": "application/json",
                        "type": "text"
                      },
                      {
                        "key": "Content",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"Password\": \"Pa55word!\"\r\n}"
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/usermanager/v1/users({{UserId}})/password",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "usermanager",
                        "v1",
                        "users({{UserId}})",
                        "password"
                      ]
                    },
                    "description": "This endpoint sets the user's password to the given value. First create the user using the method described above. Then use this endpoint to set the password to a known value without receiving the user's password via email."
                  },
                  "response": []
                },
                {
                  "name": "Get Lock Reasons for a Company",
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "",
                        "value": "",
                        "type": "text"
                      }
                    ],
                    "url": {
                      "raw": "{{CovaApiUrl}}/usermanager/v1/entities({{CompanyId}})/lockReasons",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "usermanager",
                        "v1",
                        "entities({{CompanyId}})",
                        "lockReasons"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Get Lock Reason Details by Id",
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "",
                        "value": "",
                        "type": "text"
                      }
                    ],
                    "url": {
                      "raw": "{{CovaApiUrl}}/usermanager/v1/entities({{CompanyId}})/lockReasons({{LockReasonId}})",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "usermanager",
                        "v1",
                        "entities({{CompanyId}})",
                        "lockReasons({{LockReasonId}})"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Lock a User",
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "Content-Type",
                        "value": "application/json",
                        "type": "text"
                      },
                      {
                        "key": "Content",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n  \"LockReasonId\": {{LockReasonId}}\r\n}"
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/usermanager/v1/users({{UserId}})/lock",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "usermanager",
                        "v1",
                        "users({{UserId}})",
                        "lock"
                      ]
                    },
                    "description": "Use this request to lock a user.\r\n\r\nLocking a user is different from disabling a user. A disabled user is inactive, and the user record is not returned in searches. A locked user is still active, but will be prevented from logging on or obtaining an access token until the account is unlocked again.\r\n\r\nWhen you lock a user, you can optionally provide a reason for having locked them."
                  },
                  "response": []
                },
                {
                  "name": "Unlock a User",
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "Content-Type",
                        "value": "application/json",
                        "type": "text"
                      },
                      {
                        "key": "Content",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": ""
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/usermanager/v1/users({{UserId}})/unlock",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "usermanager",
                        "v1",
                        "users({{UserId}})",
                        "unlock"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Post a Lock Reason",
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "",
                        "value": "",
                        "type": "text"
                      },
                      {
                        "key": "Content-Type",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"Name\": \"FMLA\",\r\n    \"Description\": \"Your account has been locked due to being on FMLA. Please contact your supervisor with any questions.\"\r\n}"
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/usermanager/v1/entities({{CompanyId}})/lockReasons",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "usermanager",
                        "v1",
                        "entities({{CompanyId}})",
                        "lockReasons"
                      ]
                    },
                    "description": "Use this request to define a reason why a user might be locked. The names and descriptions for lock reasons are completely configurable to accommodate your company’s business practices. The system generates numeric identifiers in the order in which the reason is defined."
                  },
                  "response": []
                },
                {
                  "name": "Update a Lock Reason",
                  "request": {
                    "method": "PUT",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "type": "text"
                      },
                      {
                        "key": "Content-Type",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n\t\"Id\": {{LockReasonId}},\r\n    \"Name\": \"FMLA\",\r\n    \"Description\": \"Your account has been locked due to being on FMLA. Please contact your supervisor with any questions.\"\r\n}"
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/usermanager/v1/entities({{CompanyId}})/lockReasons({{LockReasonId}})",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "usermanager",
                        "v1",
                        "entities({{CompanyId}})",
                        "lockReasons({{LockReasonId}})"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Delete a Lock Reason",
                  "request": {
                    "method": "DELETE",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "type": "text"
                      },
                      {
                        "key": "Content-Type",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": ""
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/usermanager/v1/entities({{CompanyId}})/lockReasons({{LockReasonId}})",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "usermanager",
                        "v1",
                        "entities({{CompanyId}})",
                        "lockReasons({{LockReasonId}})"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Disable a User",
                  "request": {
                    "method": "DELETE",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "Content-Type",
                        "value": "application/json",
                        "type": "text"
                      },
                      {
                        "key": "Content",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": ""
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/usermanager/v1/users({{UserId}})",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "usermanager",
                        "v1",
                        "users({{UserId}})"
                      ]
                    },
                    "description": "Use this request to disable a user completely.\r\n\r\nNote that you cannot completely delete a user record. “Deleting” a user record disables the user, setting the IsActive property to false. (Note that this is the only way to set IsActive to false; this property cannot be set directly.)\r\n\r\nWhen disabled, the user will no longer be able to log on to the system and the user is not returned in searches (except searches for disabled users).\r\n\r\n Note: Disabling a user does NOT free up the user's email address or username for use by another user.\r\n \r\nTo free up an email address or username, you must PUT an update to the user record. Use the update request to change email or username of the original user to something else."
                  },
                  "response": []
                },
                {
                  "name": "Re-Enable a User",
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "Content-Type",
                        "value": "application/json",
                        "type": "text"
                      },
                      {
                        "key": "Content",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": ""
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/usermanager/v1/users({{UserId}})/enable",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "usermanager",
                        "v1",
                        "users({{UserId}})",
                        "enable"
                      ]
                    },
                    "description": "Use this request to re-enable a user in the system, making the user active again. The IsActive property will be set to true and the user will be able to log on and obtain an access token."
                  },
                  "response": []
                }
              ],
              "event": [
                {
                  "listen": "prerequest",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      ""
                    ]
                  }
                },
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      ""
                    ]
                  }
                }
              ]
            }
          ]
        },
        {
          "name": "Purchase Orders and Transfers",
          "item": [
            {
              "name": "Manufacturers and Suppliers (Vendors)",
              "item": [
                {
                  "name": "Get Private Suppliers (Vendors) for a Company",
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      }
                    ],
                    "url": {
                      "raw": "{{CovaApiUrl}}/entitymanager/v1/Companies({{CompanyId}})/Suppliers?$expand=Attributes,Relationships,Roles",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "entitymanager",
                        "v1",
                        "Companies({{CompanyId}})",
                        "Suppliers"
                      ],
                      "query": [
                        {
                          "key": "$expand",
                          "value": "Attributes,Relationships,Roles"
                        }
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Get Private Suppliers  (Vendors) Details",
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      }
                    ],
                    "url": {
                      "raw": "{{CovaApiUrl}}/entitymanager/v1/Suppliers({{VendorId}})",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "entitymanager",
                        "v1",
                        "Suppliers({{VendorId}})"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Get Product by Supplier (Vendor)",
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      }
                    ],
                    "url": {
                      "raw": "{{CovaApiUrl}}/catalogs/v1/companies({{CompanyId}})/catalog/search?VendorIds={{SupplierId}}",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "catalogs",
                        "v1",
                        "companies({{CompanyId}})",
                        "catalog",
                        "search"
                      ],
                      "query": [
                        {
                          "key": "VendorIds",
                          "value": "{{SupplierId}}"
                        }
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Get Private Manufacturers for a Company",
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      }
                    ],
                    "url": {
                      "raw": "{{CovaApiUrl}}/entitymanager/v1/Companies({{CompanyId}})/Manufacturers?$expand=Attributes,Relationships,Roles",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "entitymanager",
                        "v1",
                        "Companies({{CompanyId}})",
                        "Manufacturers"
                      ],
                      "query": [
                        {
                          "key": "$expand",
                          "value": "Attributes,Relationships,Roles"
                        }
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Get Private Manufacturers Details",
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      }
                    ],
                    "url": {
                      "raw": "{{CovaApiUrl}}/entitymanager/v1/Manufacturers({{ManufacturerId}})",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "entitymanager",
                        "v1",
                        "Manufacturers({{ManufacturerId}})"
                      ]
                    }
                  },
                  "response": []
                }
              ],
              "event": [
                {
                  "listen": "prerequest",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      ""
                    ]
                  }
                },
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      ""
                    ]
                  }
                }
              ]
            },
            {
              "name": "Transfers",
              "item": [
                {
                  "name": "POST Create Transfer",
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "type": "text"
                      },
                      {
                        "key": "Content-Type",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n  \"TransferProducts\": [\r\n    {\r\n    //  ProdcutId is the same as CatalogItemId\r\n      \"ProductId\": \"{{CatalogItemId}}\",\r\n      \"ProductName\": \"{{ItemName}}\",\r\n      // ProductSku is the same as Catalog Sku\r\n      \"ProductSKU\": \"{{CatalogSku}}\",\r\n      \"Quantity\": 2,\r\n      \"UnitId\": 0,\r\n      \"StockType\": \"Regular\",\r\n      \"Notes\": \"transfer test\",\r\n      \"Lot\": \"\",\r\n      \"SerialNumber\": \"{{PackageId}}\"\r\n    }\r\n  ],\r\n  \"CompanyId\": {{CompanyId}},\r\n  \"State\": \"Pending\",  \r\n  \"TransferNumber\": \"Wut\",\r\n  \"TransferToLocationId\": {{LocationId}},\r\n  \"TransferFromLocationId\": 278500,\r\n  \"TransferFromRoomId\": 5576,\r\n  \"ETADate\": \"2023-04-19\",\r\n  \"Notes\": \"\"\r\n}"
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/inventorytransfer/v1/Companies({{CompanyId}})/CreateTransfer",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "inventorytransfer",
                        "v1",
                        "Companies({{CompanyId}})",
                        "CreateTransfer"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "POST Ship Transfer",
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "type": "text"
                      },
                      {
                        "key": "Content-Type",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n\t\"Id\" : \"{{TransferId}}\"\r\n}"
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/inventorytransfer/v1/Companies({{CompanyId}})/Transfers({{TransferId}})/ShipTransfer",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "inventorytransfer",
                        "v1",
                        "Companies({{CompanyId}})",
                        "Transfers({{TransferId}})",
                        "ShipTransfer"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "POST Receive Transfer",
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "type": "text"
                      },
                      {
                        "key": "Content-Type",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n\t// ProductId is the same as CatalogItemId\r\n\t\"ProductId\": \"{{CatalogItemId}}\",\r\n\t\"ProductName\":\"{{ItemName}}\",\r\n\t // ProductSku is the same as Catalog Sku\r\n\t\"ProductSKU\": \"{{CatalogSku}}\",\r\n\t\"Quantity\":2,\r\n\t\"UnitId\": 0,\r\n\t\"StockType\": \"Regular\",\r\n\t\"Lot\": \"\",\r\n\t\"SerialNumber\": \"{{PackageId}}\"\r\n}"
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/inventorytransfer/v1/Companies({{CompanyId}})/Transfers({{TransferId}})/ReceivedProducts",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "inventorytransfer",
                        "v1",
                        "Companies({{CompanyId}})",
                        "Transfers({{TransferId}})",
                        "ReceivedProducts"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "POST Complete Transfer",
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "type": "text"
                      },
                      {
                        "key": "Content-Type",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"Id\" : \"{{TransferId}}\"\r\n}"
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/inventorytransfer/v1/Companies({{CompanyId}})/Transfers({{TransferId}})/CompleteTransfer",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "inventorytransfer",
                        "v1",
                        "Companies({{CompanyId}})",
                        "Transfers({{TransferId}})",
                        "CompleteTransfer"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "POST Cancel Transfer",
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "type": "text"
                      },
                      {
                        "key": "Content-Type",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"Id\" : '{{TransferId}}'\r\n}"
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/inventorytransfer/v1/Companies({{CompanyId}})/Transfers({{TransferId}})/CancelTransfer",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "inventorytransfer",
                        "v1",
                        "Companies({{CompanyId}})",
                        "Transfers({{TransferId}})",
                        "CancelTransfer"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "DELETE Transfer",
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "type": "text"
                      },
                      {
                        "key": "Content-Type",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"Id\" : '{{TransferId}}'\r\n}"
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/inventorytransfer/v1/Companies({{CompanyId}})/Transfers({{TransferId}})/CancelTransfer",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "inventorytransfer",
                        "v1",
                        "Companies({{CompanyId}})",
                        "Transfers({{TransferId}})",
                        "CancelTransfer"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "GET QUERY Transfer items with filter",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "type": "text"
                      },
                      {
                        "key": "Content-Type",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": ""
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/inventorytransfer/v1/Companies({{CompanyId}})/Transfers({{TransferId}})/TransferProducts?$filter=SerialNumber eq '{{PackageId}}'",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "inventorytransfer",
                        "v1",
                        "Companies({{CompanyId}})",
                        "Transfers({{TransferId}})",
                        "TransferProducts"
                      ],
                      "query": [
                        {
                          "key": "$filter",
                          "value": "SerialNumber eq '{{PackageId}}'"
                        }
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "GET QUERY Transfers with Date filter",
                  "event": [
                    {
                      "listen": "prerequest",
                      "script": {
                        "exec": [
                          "//see collection pre-request script for function definition\r",
                          "utils.setDateRange30days(postman);"
                        ],
                        "type": "text/javascript"
                      }
                    }
                  ],
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "type": "text"
                      },
                      {
                        "key": "Content-Type",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": ""
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/inventorytransfer/v1/Companies({{CompanyId}})/Transfers?$filter=CreatedDateUTC ge datetime'{{30DaysAgo}}'",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "inventorytransfer",
                        "v1",
                        "Companies({{CompanyId}})",
                        "Transfers"
                      ],
                      "query": [
                        {
                          "key": "$filter",
                          "value": "TransferToLocationId eq 255253",
                          "disabled": true
                        },
                        {
                          "key": "$filter",
                          "value": "CreatedDateUTC ge datetime'{{30DaysAgo}}'"
                        }
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Move Inventory between Rooms",
                  "event": [
                    {
                      "listen": "test",
                      "script": {
                        "exec": [
                          "if (responseCode.code === 200) \r",
                          "{\r",
                          "    tests[\"Returns status code 200\"] = true;\r",
                          "}\r",
                          "else\r",
                          "{\r",
                          "    tests[\"Returns status code 200\"] = false;\r",
                          "}\r",
                          ""
                        ],
                        "type": "text/javascript"
                      }
                    }
                  ],
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Accept",
                        "value": "application/json"
                      },
                      {
                        "key": "Content-Type",
                        "value": "application/json"
                      },
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\n    \"SourceRoomId\": {{DestinationRoomId}},\n    \"DestinationRoomId\": {{RoomId}},\n    \"IsIntegrated\": false,\n    \"InventoryItems\": [\n    \t{\n    \t\t\"ProductId\": \"{{CatalogItemId}}\",\n    \t\t\"SerialNumber\": \"{{PackageId}}\",\n    \t\t\"UnitId\": 0,\n    \t\t\"Quantity\": 1\n    \t}\n\t]\n}"
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/inventory/v1/companies({{CompanyId}})/entities({{LocationId}})/MoveInventory",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "inventory",
                        "v1",
                        "companies({{CompanyId}})",
                        "entities({{LocationId}})",
                        "MoveInventory"
                      ]
                    }
                  },
                  "response": []
                }
              ],
              "event": [
                {
                  "listen": "prerequest",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      ""
                    ]
                  }
                },
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      ""
                    ]
                  }
                }
              ]
            },
            {
              "name": "Inventory Cost, Unit Id, Adjustments, and Lots",
              "item": [
                {
                  "name": "Unit Id and Measurement types",
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "url": {
                      "raw": "{{CovaApiUrl}}/unitsofmeasurement/v1/MeasurementTypes",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "unitsofmeasurement",
                        "v1",
                        "MeasurementTypes"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "GET Inventory Adjustment Summary",
                  "event": [
                    {
                      "listen": "test",
                      "script": {
                        "exec": [
                          ""
                        ],
                        "type": "text/javascript"
                      }
                    }
                  ],
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "type": "text"
                      },
                      {
                        "key": "Content-Type",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\n    \"Items\": [{\n      \"ProductId\": '{{CatalogItemId}}',\n      \"ProductName\": '{{ItemName}}',\n      \"LocationId\": {{LocationId}},\n      \"Quantity\": 500,\n      \"Cost\": {{ProductCost}},\n      \"ReasonCode\": '{{InventoryAdjustmentReasonCodeId}}',\n      \"Notes\": null,\n      \"UnitId\": {{UnitId}},\n      \"Lot\": '{{LotId}}',\n      \"SerialNumber\": '{{SerialNumber}}'\n    }]\n}"
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/inventoryadjustment/v1/Companies({{CompanyId}})/QuantityAdjustment({{InventoryAdjustmentId}})",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "inventoryadjustment",
                        "v1",
                        "Companies({{CompanyId}})",
                        "QuantityAdjustment({{InventoryAdjustmentId}})"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "GET Inventory Adjustments",
                  "event": [
                    {
                      "listen": "test",
                      "script": {
                        "exec": [
                          ""
                        ],
                        "type": "text/javascript"
                      }
                    },
                    {
                      "listen": "prerequest",
                      "script": {
                        "exec": [
                          "//see collection pre-request script for function definition\r",
                          "utils.setDateRange30days(postman);"
                        ],
                        "type": "text/javascript"
                      }
                    }
                  ],
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "type": "text"
                      },
                      {
                        "key": "Content-Type",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\n    \"Items\": [{\n      \"ProductId\": '{{CatalogItemId}}',\n      \"ProductName\": '{{ItemName}}',\n      \"LocationId\": {{LocationId}},\n      \"Quantity\": 500,\n      \"Cost\": {{ProductCost}},\n      \"ReasonCode\": '{{InventoryAdjustmentReasonCodeId}}',\n      \"Notes\": null,\n      \"UnitId\": {{UnitId}},\n      \"Lot\": '{{LotId}}',\n      \"SerialNumber\": '{{SerialNumber}}'\n    }]\n}"
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/inventoryadjustment/v1/Companies({{CompanyId}})/QuantityAdjustment?$skip=0&$filter=CreatedDateUtc ge datetime'{{30DaysAgo}}'&$top=10",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "inventoryadjustment",
                        "v1",
                        "Companies({{CompanyId}})",
                        "QuantityAdjustment"
                      ],
                      "query": [
                        {
                          "key": "$skip",
                          "value": "0"
                        },
                        {
                          "key": "$filter",
                          "value": "CreatedDateUtc ge datetime'{{30DaysAgo}}'"
                        },
                        {
                          "key": "$top",
                          "value": "10"
                        }
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Post an Inventory Adjustment Increase",
                  "event": [
                    {
                      "listen": "test",
                      "script": {
                        "exec": [
                          ""
                        ],
                        "type": "text/javascript"
                      }
                    }
                  ],
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "type": "text"
                      },
                      {
                        "key": "Content-Type",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\n    \"Items\": [{\n      \"ProductId\": '{{CatalogItemId}}',\n      \"ProductName\": '{{ItemName}}',\n      \"LocationId\": {{LocationId}},\n      \"Quantity\": 500,\n      \"Cost\": {{ProductCost}},\n      \"ReasonCode\": '{{InventoryAdjustmentReasonCodeId}}',\n      \"Notes\": null,\n      \"UnitId\": {{UnitId}},\n      \"Lot\": '{{LotId}}',\n      \"SerialNumber\": '{{SerialNumber}}'\n    }]\n}"
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/inventoryadjustment/v1/Companies({{CompanyId}})/SubmitQuantityAdjustment",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "inventoryadjustment",
                        "v1",
                        "Companies({{CompanyId}})",
                        "SubmitQuantityAdjustment"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Post Atomic Inventory Adjustment",
                  "event": [
                    {
                      "listen": "test",
                      "script": {
                        "exec": [
                          ""
                        ],
                        "type": "text/javascript"
                      }
                    }
                  ],
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "type": "text"
                      },
                      {
                        "key": "Content-Type",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\n    \"LocationId\": {{LocationId}},\n    \"RoomId\": {{RoomId}},\n    \"Items\": [\n        {\n            \"InvokeTraceability\": false,\n            \"ProductId\": \"{{CatalogItemId}}\",\n            \"Quantity\": 2,\n            \"Cost\":47.15,\n            \"ReasonCodeId\": \"{{ReasonCodeId}}\",\n            \"Notes\": null,\n            \"Lot\": \"\",\n            \"PackageId\": \"{{PackageId}}\"\n        } \n    ]\n}"
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/inventoryadjustment/v1/companies/{{CompanyId}}/atomicquantityadjustment",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "inventoryadjustment",
                        "v1",
                        "companies",
                        "{{CompanyId}}",
                        "atomicquantityadjustment"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Post an Inventory Adjustment Decrease",
                  "event": [
                    {
                      "listen": "test",
                      "script": {
                        "exec": [
                          ""
                        ],
                        "type": "text/javascript"
                      }
                    }
                  ],
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "type": "text"
                      },
                      {
                        "key": "Content-Type",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\n    \"Items\": [{\n      \"ProductId\": '{{CatalogItemId}}',\n      \"ProductName\": '{{ItemName}}',\n      \"LocationId\": {{LocationId}},\n      \"Quantity\": -500,\n      \"ReasonCode\": '{{InventoryAdjustmentReasonCodeId}}',\n      \"Notes\": null,\n      \"UnitId\": {{UnitId}},\n      \"Lot\": '{{LotId}}',\n      \"SerialNumber\": '{{SerialNumber}}'\n    }]\n}"
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/inventoryadjustment/v1/Companies({{CompanyId}})/SubmitQuantityAdjustment",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "inventoryadjustment",
                        "v1",
                        "Companies({{CompanyId}})",
                        "SubmitQuantityAdjustment"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Get Inventory Adjustment Reason Code by Id",
                  "event": [
                    {
                      "listen": "test",
                      "script": {
                        "exec": [
                          ""
                        ],
                        "type": "text/javascript"
                      }
                    }
                  ],
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "type": "text"
                      },
                      {
                        "key": "Content-Type",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "url": {
                      "raw": "{{CovaApiUrl}}/reasoncode/Companies({{CompanyId}})/ReasonCodes({{InventoryAdjustmentReasonCodeId}})",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "reasoncode",
                        "Companies({{CompanyId}})",
                        "ReasonCodes({{InventoryAdjustmentReasonCodeId}})"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "GET Lot Information for a Product  on a Company Level",
                  "event": [
                    {
                      "listen": "test",
                      "script": {
                        "exec": [
                          "var data = JSON.parse(responseBody);",
                          "postman.setEnvironmentVariable(\"LotId\",data[2].Packages[0].PackageId);",
                          "postman.setEnvironmentVariable(\"PackageId\",data[2].Packages[0].PackageId);",
                          "postman.setEnvironmentVariable(\"LocationId\",data[2].EntityId);",
                          "postman.setEnvironmentVariable(\"SerialNumber\",data[2].Id);",
                          "",
                          ""
                        ],
                        "type": "text/javascript"
                      }
                    }
                  ],
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "type": "text"
                      },
                      {
                        "key": "Content-Type",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "url": {
                      "raw": "{{CovaApiUrl}}/availability/v1/Companies({{CompanyId}})/CatalogItems({{CatalogItemId}})/Lots",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "availability",
                        "v1",
                        "Companies({{CompanyId}})",
                        "CatalogItems({{CatalogItemId}})",
                        "Lots"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "GET Lot Information for a Product by Location",
                  "event": [
                    {
                      "listen": "test",
                      "script": {
                        "exec": [
                          "var data = JSON.parse(responseBody);",
                          "postman.setEnvironmentVariable(\"LotId\",data[0].Packages[0].PackageId);",
                          "postman.setEnvironmentVariable(\"PackageId\",data[0].Packages[0].PackageId);"
                        ],
                        "type": "text/javascript"
                      }
                    }
                  ],
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "type": "text"
                      },
                      {
                        "key": "Content-Type",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "url": {
                      "raw": "{{CovaApiUrl}}/availability/v1/Companies({{CompanyId}})//Entities({{LocationId}})/CatalogItems({{CatalogItemId}})/Lots",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "availability",
                        "v1",
                        "Companies({{CompanyId}})",
                        "",
                        "Entities({{LocationId}})",
                        "CatalogItems({{CatalogItemId}})",
                        "Lots"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "GET Information for a Specific Lot",
                  "event": [
                    {
                      "listen": "test",
                      "script": {
                        "exec": [
                          "var data = JSON.parse(responseBody);",
                          "postman.setEnvironmentVariable(\"LotId\",data[0].Packages[0].PackageId);",
                          "postman.setEnvironmentVariable(\"PackageId\",data[0].Packages[0].PackageId);"
                        ],
                        "type": "text/javascript"
                      }
                    }
                  ],
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "type": "text"
                      },
                      {
                        "key": "Content-Type",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "url": {
                      "raw": "{{CovaApiUrl}}/availability/v1/Companies({{CompanyId}})//Entities({{LocationId}})/CatalogItems({{CatalogItemId}})/Lots({{LotId}})",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "availability",
                        "v1",
                        "Companies({{CompanyId}})",
                        "",
                        "Entities({{LocationId}})",
                        "CatalogItems({{CatalogItemId}})",
                        "Lots({{LotId}})"
                      ]
                    }
                  },
                  "response": []
                }
              ],
              "event": [
                {
                  "listen": "prerequest",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      ""
                    ]
                  }
                },
                {
                  "listen": "test",
                  "script": {
                    "type": "text/javascript",
                    "exec": [
                      ""
                    ]
                  }
                }
              ]
            },
            {
              "name": "Purchase Orders",
              "item": [
                {
                  "name": "POST Order Creation",
                  "event": [
                    {
                      "listen": "test",
                      "script": {
                        "exec": [
                          "var data = JSON.parse(responseBody);\r",
                          "postman.setEnvironmentVariable(\"PurchaseOrderId\", data.Id);"
                        ],
                        "type": "text/javascript"
                      }
                    }
                  ],
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "type": "text"
                      },
                      {
                        "key": "Content-Type",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"SupplierId\": {{SupplierId}},\r\n    \"ShipToLocationId\": {{LocationId}},\r\n    \"BillToLocationId\": {{LocationId}},\r\n    \"OrderedProducts\": [\r\n        {\r\n            // ProductId is the same as CatalogItemId\r\n            \"ProductId\": \"c3913ecb-1014-4f10-b590-51a1844702ca\",\r\n            //\"SupplierSKU\": '{{ProductSku1}}',\r\n            \"ProductName\": \"14er - Conspiracy - Loose\",\r\n            \"CatalogSku\": \"NCDDX2DZ\",\r\n            \"UnitCost\": 1.25, //per gram, mass product\r\n            \"Quantity\": 450,\r\n            \"UnitId\": 103 //mass product, grams\r\n        },\r\n        {\r\n            \"ProductId\": \"656a1e10-fabc-47b7-a1f1-f6cb9e73d319\",\r\n            //\"SupplierSKU\": '{{ProductSku2}}',\r\n            \"ProductName\": \"1:1 Vegetable Glycerine Tincture\",\r\n            \"CatalogSku\": \"ECAKE4N4\",\r\n            \"UnitCost\": 3.54,\r\n            \"Quantity\": 12, //each product\r\n            \"UnitId\": 0 //single unit\r\n        }\r\n    ],\r\n    //  This is optional\r\n    \"ShippingInfo\": [\r\n        {\r\n            \"ShippingMethod\": \"DHL Weekend Express\",\r\n            \"TrackingNumber\": \"{{$randomInt}}-HELLO\"\r\n        }\r\n    ],\r\n    \"SupplierInvoiceNumber\": \"SupInv02021\",\r\n    \"ETADate\": \"2022-07-25\",\r\n    \"ShippingCost\": 11.75,\r\n    \"Tax\": 6.5,\r\n    \"Notes\": \"Optional\"\r\n}"
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/purchaseorder/v1/Companies({{CompanyId}})/OrderCreation",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "purchaseorder",
                        "v1",
                        "Companies({{CompanyId}})",
                        "OrderCreation"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "GET Order Summary",
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "url": {
                      "raw": "{{CovaApiUrl}}/purchaseorder/v1/Companies({{CompanyId}})/Orders({{PurchaseOrderId}})",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "purchaseorder",
                        "v1",
                        "Companies({{CompanyId}})",
                        "Orders({{PurchaseOrderId}})"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Purchase Order With Detail",
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "url": {
                      "raw": "{{CovaApiUrl}}/purchaseorder/v1/Companies({{CompanyId}})/OrderWithDetail({{PurchaseOrderId}})",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "purchaseorder",
                        "v1",
                        "Companies({{CompanyId}})",
                        "OrderWithDetail({{PurchaseOrderId}})"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Purchase Order With Detail - Many",
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "url": {
                      "raw": "{{CovaApiUrl}}/purchaseorder/v1/Companies({{CompanyId}})/OrderWithDetail?$filter=State eq 'Cancelled' and ShipToLocationId eq {{LocationId}}&$skip=0&$top=50",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "purchaseorder",
                        "v1",
                        "Companies({{CompanyId}})",
                        "OrderWithDetail"
                      ],
                      "query": [
                        {
                          "key": "$filter",
                          "value": "State eq 'Receiving' and ShipToLocationId eq {{LocationId}} and SubmittedDateUTC ge datetime'2023-01-01T00:00:00' and SubmittedDateUTC le datetime'2023-01-30T18:00:00'",
                          "disabled": true
                        },
                        {
                          "key": "$filter",
                          "value": "State eq 'Cancelled' and ShipToLocationId eq {{LocationId}}"
                        },
                        {
                          "key": "$skip",
                          "value": "0"
                        },
                        {
                          "key": "$top",
                          "value": "50"
                        },
                        {
                          "key": "$filter",
                          "value": "State eq 'Deleted' and ShipToLocationId eq {{LocationId}} and DeletedDateUTC ge datetime'{{MidnightYesterday}}'",
                          "disabled": true
                        }
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "GET Ordered Prodcuts",
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "url": {
                      "raw": "{{CovaApiUrl}}/purchaseorder/v1/Companies({{CompanyId}})/Orders({{PurchaseOrderId}})/OrderedProducts",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "purchaseorder",
                        "v1",
                        "Companies({{CompanyId}})",
                        "Orders({{PurchaseOrderId}})",
                        "OrderedProducts"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "POST  Order Update Product",
                  "event": [
                    {
                      "listen": "test",
                      "script": {
                        "exec": [
                          "if (responseCode.code === 200) ",
                          "{",
                          "    tests[\"Returns status code 200\"] = true;",
                          "    ",
                          "    var data = JSON.parse(responseBody);",
                          "  ",
                          "    tests[\"Quantity is 50\"] = data.Quantity == 50;",
                          "    tests[\"User id set correctly\"] = postman.getEnvironmentVariable(\"UserId\") == data.UpdatedBy;",
                          "    tests[\"User name is set correctly\"] = postman.getEnvironmentVariable(\"UserFullName\") == data.UpdatedByName;",
                          "    tests[\"total cost is correct\"] = data.TotalCost == 616.5;",
                          "}",
                          "else",
                          "{",
                          "    tests[\"Returns status code 200\"] = false;",
                          "}",
                          ""
                        ],
                        "type": "text/javascript"
                      }
                    }
                  ],
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "type": "text"
                      },
                      {
                        "key": "Content-Type",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "\t{\n      \"ProductId\": '{{OrderedProductsLineProductId}}',\n      \"SupplierSKU\": '{{OrderedProductsLineProductSku}}',\n      \"ProductName\": '{{OrderedProductsLineProductName}}',\n      \"CatalogSku\": '{{OrderedProductsLineCatalogSku}}',\n      \"Quantity\": 500,\n      \"UnitCost\": {{OrderedProductsLineProductCost}},\n      \"UnitId\": {{OrderedProductsLineProductUnit}}\n    }\n\t"
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/purchaseorder/v1/Companies({{CompanyId}})/Orders({{PurchaseOrderId}})/OrderedProducts({{OrderedProductsLIneId}})",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "purchaseorder",
                        "v1",
                        "Companies({{CompanyId}})",
                        "Orders({{PurchaseOrderId}})",
                        "OrderedProducts({{OrderedProductsLIneId}})"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "POST  Order Add Product",
                  "event": [
                    {
                      "listen": "test",
                      "script": {
                        "exec": [
                          "if (responseCode.code === 200) ",
                          "{",
                          "    tests[\"Returns status code 200\"] = true;",
                          "    ",
                          "    var data = JSON.parse(responseBody);",
                          "  ",
                          "    tests[\"Quantity is 50\"] = data.Quantity == 50;",
                          "    tests[\"User id set correctly\"] = postman.getEnvironmentVariable(\"UserId\") == data.UpdatedBy;",
                          "    tests[\"User name is set correctly\"] = postman.getEnvironmentVariable(\"UserFullName\") == data.UpdatedByName;",
                          "    tests[\"total cost is correct\"] = data.TotalCost == 616.5;",
                          "}",
                          "else",
                          "{",
                          "    tests[\"Returns status code 200\"] = false;",
                          "}",
                          ""
                        ],
                        "type": "text/javascript"
                      }
                    }
                  ],
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "type": "text"
                      },
                      {
                        "key": "Content-Type",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "\t{\n      \"ProductId\": '{{ProductId3}}',\n      \"SupplierSKU\": '{{ProductSku3}}',\n      \"ProductName\": '{{ProductName3}}',\n      \"CatalogSku\": '{{CatalogSku3}}',\n      \"Quantity\": 500,\n      \"UnitCost\": {{ProductCost3}},\n      \"UnitId\": {{ProductUnit3}}\n    }\n\t"
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/purchaseorder/v1/Companies({{CompanyId}})/Orders({{PurchaseOrderId}})/OrderedProducts",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "purchaseorder",
                        "v1",
                        "Companies({{CompanyId}})",
                        "Orders({{PurchaseOrderId}})",
                        "OrderedProducts"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "POST Submit Order",
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "type": "text"
                      },
                      {
                        "key": "Content-Type",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{}"
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/purchaseorder/v1/Companies({{CompanyId}})/Orders({{PurchaseOrderId}})/Submission",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "purchaseorder",
                        "v1",
                        "Companies({{CompanyId}})",
                        "Orders({{PurchaseOrderId}})",
                        "Submission"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "PUT  Order Update Shipping and Taxes",
                  "event": [
                    {
                      "listen": "test",
                      "script": {
                        "exec": [
                          "if (responseCode.code === 200) ",
                          "{",
                          "    tests[\"Returns status code 200\"] = true;",
                          "    ",
                          "    var data = JSON.parse(responseBody);",
                          "  ",
                          "    tests[\"Quantity is 50\"] = data.Quantity == 50;",
                          "    tests[\"User id set correctly\"] = postman.getEnvironmentVariable(\"UserId\") == data.UpdatedBy;",
                          "    tests[\"User name is set correctly\"] = postman.getEnvironmentVariable(\"UserFullName\") == data.UpdatedByName;",
                          "    tests[\"total cost is correct\"] = data.TotalCost == 616.5;",
                          "}",
                          "else",
                          "{",
                          "    tests[\"Returns status code 200\"] = false;",
                          "}",
                          ""
                        ],
                        "type": "text/javascript"
                      }
                    }
                  ],
                  "request": {
                    "method": "PUT",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "type": "text"
                      },
                      {
                        "key": "Content-Type",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\n \"SupplierInvoiceNumber\": '{{SupplierInvoiceNumber}}',\n        \"ETADate\": \"2019-09-16\",\n        \"ShippingCost\": 11.75,\n        \"Tax\": 6.5,\n        \"ShippingInfo\": [\n          {\n            \"ShippingMethod\": \"DHL Weekend Express\",\n            \"TrackingNumber\": \"31198723962398\"\n          }\n        ],\n        \"ShipToLocationId\": {{LocationId}},\n        \"BillToLocationId\": {{LocationId}},\n        \"Notes\": \"Modified Order\"\n}"
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/purchaseorder/v1/Companies({{CompanyId}})/Orders({{PurchaseOrderId}})",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "purchaseorder",
                        "v1",
                        "Companies({{CompanyId}})",
                        "Orders({{PurchaseOrderId}})"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "POST Receive Purchase Order",
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "type": "text"
                      },
                      {
                        "key": "Content-Type",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{\r\n    \"ReceivedProducts\": [\r\n        {\r\n            \"OrderId\": '{{PurchaseOrderId}}',\r\n            \"ProductName\": '{{ReceivingProductName}}',\r\n            \"ProductId\": '{{ReceivingProductId}}',\r\n            \"SupplierInvoiceNumber\": '{{SupplierInvoiceNumber}}',\r\n            \"SupplierSKU\": '{{ReceivingSupplierSku}}',\r\n            \"CatalogSKU\": '{{ReceivingCatalogSku}}',\r\n            \"UnitId\": {{ReceivingUnit}},\r\n            \"UnitCost\": \"2\",\r\n            \"Quantity\": \"77\",\r\n            \"SerialNumber\": '{{ReceivingPackageId}}'\r\n        }\r\n    ],\r\n    \"TestResults\": [\r\n        {\r\n            \"PackageId\": '{{ReceivingPackageId}}',\r\n            \"ReceivingId\":  '{{PurchaseOrderId}}',\r\n            \"Cannabinoids\": [\r\n                {\r\n                    \"CannabinoidTypeId\": 1,\r\n                    \"CannabinoidType\": \"THC\",\r\n                    \"Value\": \"1\"\r\n                },\r\n                {\r\n                    \"CannabinoidTypeId\": 2,\r\n                    \"CannabinoidType\": \"CBD\",\r\n                    \"Value\": \"1\"\r\n                },\r\n                {\r\n                    \"CannabinoidTypeId\": 6,\r\n                    \"CannabinoidType\": \"THCa\",\r\n                    \"Value\": \"1\"\r\n                }\r\n            ],\r\n            \"SupplierId\": {{SupplierId}},\r\n            \"SupplierName\": '{{SupplierName}}',\r\n            \"Strain\": null,\r\n            \"SupplierLicense\": '{{SupplierLicense}}',\r\n            \"TestDate\": \"2019-09-06T23:59:59.000000\",\r\n            \"ExpiryDate\": null,\r\n            \"HarvestDate\": \"2019-09-06T23:59:59.000000\",\r\n            \"TestingFacilityName\": null,\r\n            \"TestBatchNumber\": null,\r\n            \"TerpeneProfile\": null\r\n        }\r\n    ],\r\n    \r\n}"
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/dispensary/Companies({{CompanyId}})/Orders({{PurchaseOrderId}})/PurchaseOrderProductReceived",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "dispensary",
                        "Companies({{CompanyId}})",
                        "Orders({{PurchaseOrderId}})",
                        "PurchaseOrderProductReceived"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "GET ReceivedProducts",
                  "protocolProfileBehavior": {
                    "disableBodyPruning": true
                  },
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "type": "text"
                      },
                      {
                        "key": "Content-Type",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{}"
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/purchaseorder/v1/Companies({{CompanyId}})/Orders({{PurchaseOrderId}})/ReceivedProducts",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "purchaseorder",
                        "v1",
                        "Companies({{CompanyId}})",
                        "Orders({{PurchaseOrderId}})",
                        "ReceivedProducts"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "POST Order Completion",
                  "request": {
                    "method": "POST",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "type": "text"
                      },
                      {
                        "key": "Content-Type",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "body": {
                      "mode": "raw",
                      "raw": "{}"
                    },
                    "url": {
                      "raw": "{{CovaApiUrl}}/purchaseorder/v1/Companies({{CompanyId}})/Orders({{PurchaseOrderId}})/Completion",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "purchaseorder",
                        "v1",
                        "Companies({{CompanyId}})",
                        "Orders({{PurchaseOrderId}})",
                        "Completion"
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "PO service - polling by date range",
                  "event": [
                    {
                      "listen": "prerequest",
                      "script": {
                        "exec": [
                          "//see collection pre-request script for function definition\r",
                          "utils.setDateRange30days(postman);"
                        ],
                        "type": "text/javascript"
                      }
                    }
                  ],
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}",
                        "type": "text"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json",
                        "type": "text"
                      }
                    ],
                    "url": {
                      "raw": "{{CovaApiUrl}}/purchaseorder/v1/Companies({{CompanyId}})/Orders?$filter=CreatedDateUTC ge datetime'{{30DaysAgo}}' and CreatedDateUTC le datetime'{{MidnightToday}}' and ShipToLocationId eq {{LocationId}}&$skip=0&$top=40",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "purchaseorder",
                        "v1",
                        "Companies({{CompanyId}})",
                        "Orders"
                      ],
                      "query": [
                        {
                          "key": "$filter",
                          "value": "CreatedDateUTC ge datetime'{{30DaysAgo}}' and CreatedDateUTC le datetime'{{MidnightToday}}' and ShipToLocationId eq {{LocationId}}"
                        },
                        {
                          "key": "$skip",
                          "value": "0"
                        },
                        {
                          "key": "$top",
                          "value": "40"
                        }
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "GET by Purchase Order  by PO# instead of Id",
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "url": {
                      "raw": "{{CovaApiUrl}}/purchaseorderreporting/v1/PurchaseOrder/report?filter=companyId+eq+{{CompanyId}}+and+purchaseOrderNumber+eq+PO8W1K-1",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "purchaseorderreporting",
                        "v1",
                        "PurchaseOrder",
                        "report"
                      ],
                      "query": [
                        {
                          "key": "filter",
                          "value": "companyId+eq+{{CompanyId}}+and+purchaseOrderNumber+eq+PO8W1K-1"
                        }
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Purchase order Report - filters are optional",
                  "event": [
                    {
                      "listen": "prerequest",
                      "script": {
                        "exec": [
                          "//see collection pre-request script for function definition",
                          "utils.setDateRange30days(postman);"
                        ],
                        "type": "text/javascript"
                      }
                    }
                  ],
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "url": {
                      "raw": "{{CovaApiUrl}}/purchaseorderreporting/v1/PurchaseOrder/report?filter=companyId+eq+{{CompanyId}}+and+entityId+eq+{{LocationId}}+and+createdDateUtc+gte+{{30DaysAgo}}+and+createdDateUtc+lte+{{MidnightToday}}",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "purchaseorderreporting",
                        "v1",
                        "PurchaseOrder",
                        "report"
                      ],
                      "query": [
                        {
                          "key": "filter",
                          "value": "companyId+eq+{{CompanyId}}+and+entityId+eq+{{LocationId}}+and+createdDateUtc+gte+{{30DaysAgo}}+and+createdDateUtc+lte+{{MidnightToday}}"
                        }
                      ]
                    }
                  },
                  "response": []
                },
                {
                  "name": "Purchase order Report - Not Completed",
                  "event": [
                    {
                      "listen": "prerequest",
                      "script": {
                        "exec": [
                          ""
                        ],
                        "type": "text/javascript"
                      }
                    }
                  ],
                  "request": {
                    "method": "GET",
                    "header": [
                      {
                        "key": "Authorization",
                        "value": "Bearer {{access_token}}"
                      },
                      {
                        "key": "Accept",
                        "value": "application/json"
                      }
                    ],
                    "url": {
                      "raw": "{{CovaApiUrl}}/purchaseorderreporting/v1/PurchaseOrder/report?filter=companyId+eq+{{CompanyId}}+and+entityId+eq+{{LocationId}}+and+status+ne+Completed",
                      "host": [
                        "{{CovaApiUrl}}"
                      ],
                      "path": [
                        "purchaseorderreporting",
                        "v1",
                        "PurchaseOrder",
                        "report"
                      ],
                      "query": [
                        {
                          "key": "filter",
                          "value": "companyId+eq+{{CompanyId}}+and+entityId+eq+{{LocationId}}+and+status+ne+Completed"
                        }
                      ]
                    }
                  },
                  "response": []
                }
              ]
            }
          ],
          "event": [
            {
              "listen": "prerequest",
              "script": {
                "type": "text/javascript",
                "exec": [
                  ""
                ]
              }
            },
            {
              "listen": "test",
              "script": {
                "type": "text/javascript",
                "exec": [
                  ""
                ]
              }
            }
          ]
        },
        {
          "name": "Reference - Not in Portal",
          "item": [
            {
              "name": "MeasurementTypes",
              "request": {
                "method": "GET",
                "header": [
                  {
                    "key": "Accept",
                    "value": "application/json",
                    "type": "text"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/unitsofmeasurement/v1/MeasurementTypes",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "unitsofmeasurement",
                    "v1",
                    "MeasurementTypes"
                  ]
                }
              },
              "response": []
            }
          ]
        },
        {
          "name": "Reporting",
          "item": [
            {
              "name": "Get Reports",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      "tests[\"Returns status code 201\"] = responseCode.code === 201;\r",
                      "\r",
                      "if (responseCode.code === 201) \r",
                      "{\r",
                      "    var data = JSON.parse(responseBody);\r",
                      "    \r",
                      "    postman.setEnvironmentVariable(\"ReportId\", undefined);\r",
                      "    postman.setEnvironmentVariable(\"ReportId\", data.Id);\r",
                      "    tests[\"Id is defined\"] = postman.getEnvironmentVariable(\"ReportId\") !== undefined;\r",
                      "}"
                    ],
                    "type": "text/javascript",
                    "packages": {}
                  }
                }
              ],
              "request": {
                "auth": {
                  "type": "noauth"
                },
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/reporting/companies/{{CompanyId}}/reports",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "reporting",
                    "companies",
                    "{{CompanyId}}",
                    "reports"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Get Report",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      "tests[\"Returns status code 201\"] = responseCode.code === 201;\r",
                      "\r",
                      "if (responseCode.code === 201) \r",
                      "{\r",
                      "    var data = JSON.parse(responseBody);\r",
                      "    \r",
                      "    postman.setEnvironmentVariable(\"ReportId\", undefined);\r",
                      "    postman.setEnvironmentVariable(\"ReportId\", data.Id);\r",
                      "    tests[\"Id is defined\"] = postman.getEnvironmentVariable(\"ReportId\") !== undefined;\r",
                      "}"
                    ],
                    "type": "text/javascript",
                    "packages": {}
                  }
                }
              ],
              "request": {
                "auth": {
                  "type": "noauth"
                },
                "method": "GET",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "url": {
                  "raw": "{{CovaApiUrl}}/reporting/companies/{{CompanyId}}/reports/{{ReportId}}",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "reporting",
                    "companies",
                    "{{CompanyId}}",
                    "reports",
                    "{{ReportId}}"
                  ]
                }
              },
              "response": []
            },
            {
              "name": "Run Report",
              "event": [
                {
                  "listen": "test",
                  "script": {
                    "exec": [
                      "tests[\"Returns status code 201\"] = responseCode.code === 201;\r",
                      "\r",
                      "if (responseCode.code === 201) \r",
                      "{\r",
                      "    var data = JSON.parse(responseBody);\r",
                      "    \r",
                      "    postman.setEnvironmentVariable(\"ReportId\", undefined);\r",
                      "    postman.setEnvironmentVariable(\"ReportId\", data.Id);\r",
                      "    tests[\"Id is defined\"] = postman.getEnvironmentVariable(\"ReportId\") !== undefined;\r",
                      "}"
                    ],
                    "type": "text/javascript",
                    "packages": {}
                  }
                }
              ],
              "request": {
                "auth": {
                  "type": "noauth"
                },
                "method": "POST",
                "header": [
                  {
                    "key": "Authorization",
                    "value": "Bearer {{access_token}}"
                  },
                  {
                    "key": "Content-Type",
                    "value": "application/json"
                  },
                  {
                    "key": "Accept",
                    "value": "application/json"
                  }
                ],
                "body": {
                  "mode": "raw",
                  "raw": "{\r\n    \"Parameters\": {\r\n        \"CompanyId\": {{CompanyId}},\r\n        \"Entities\":[{{LocationId}}],\r\n        \"DateRange\":{\r\n            \"StartDate\":\"2025-05-28T00:00:00\",\r\n            \"EndDate\":\"2025-05-28T23:59:59\",\r\n            \"DateRangeType\":9\r\n        }\r\n    }\r\n}\r\n\r\n"
                },
                "url": {
                  "raw": "{{CovaApiUrl}}/reporting/Companies/{{CompanyId}}/Reports/{{ReportId}}/runreport",
                  "host": [
                    "{{CovaApiUrl}}"
                  ],
                  "path": [
                    "reporting",
                    "Companies",
                    "{{CompanyId}}",
                    "Reports",
                    "{{ReportId}}",
                    "runreport"
                  ]
                }
              },
              "response": []
            }
          ]
        }
      ]
    }
  ],
  "event": [
    {
      "listen": "prerequest",
      "script": {
        "type": "text/javascript",
        "exec": [
          "//This is called before EVERY request",
          "//these functions are typically used in request pre-request scripts like: utils.SetDateRange30days(postman);",
          "utils = {",
          "    setDateRange30days: function(pm) {",
          "        const moment = require('moment');",
          "        now = moment().format(\"YYYY-MM-DDT23:59:59.997\");",
          "        from = moment().subtract(30, 'days').format(\"YYYY-MM-DDT00:00:00.000\");",
          "        pm.setEnvironmentVariable(\"30DaysAgo\",from);",
          "        pm.setEnvironmentVariable(\"MidnightToday\",now);",
          "        return;",
          "    },",
          "    setYesterday: function(pm) {",
          "        const moment = require('moment');",
          "        yesterday = moment().subtract(1, 'days').format(\"YYYY-MM-DDT00:00:00.000\");",
          "        pm.setEnvironmentVariable(\"MidnightYesterday\", yesterday);",
          "        return;",
          "    },",
          "    set5MinAgo: function(pm) {",
          "        const moment = require('moment');",
          "        five = moment().utc().subtract(5, 'minutes').format(\"YYYY-MM-DDTHH:mm:ss.000\");",
          "        pm.setEnvironmentVariable(\"FiveMinAgo\", five);",
          "        return;",
          "    }",
          "}"
        ]
      }
    },
    {
      "listen": "test",
      "script": {
        "type": "text/javascript",
        "exec": [
          ""
        ]
      }
    }
  ]
}