GET v1/Companies/{CompanyId}/Locations/{LocationId}/ChangedPrices/{asOfDateUtc}
This call returns all current pricing at a location for products where prices have been updated
Information:
Base URL:
https://api.covasoft.net/pricing
Example of a call would be:
https://api.covasoft.net/pricing/v1/Companies/{CompanyId}/Locations/{LocationId}/ChangedPrices/{fiveMinutesAgo}?&skip=0&top=500
Recommend calling this endpoint once per minute requesting changes from the last 5 minutes.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
CompanyId |
Company Id from your onboarding package |
integer |
Required |
LocationId |
Identifier of the location for pricing updates |
integer |
Required |
asOfDateUtc |
Prices changed on or after this datetime. example: 2024-01-25T16:22 |
date |
Required |
Body Parameters
None.
Response Information
Resource Description
Returns prices that have been updated since the supplied LastModifiedDateUtc filter
Collection of PriceChangedAtLocationResourceName | Description | Type | Additional information |
---|---|---|---|
ChangedProductId | globally unique identifier |
None. |
|
Locations | Collection of PriceChangeLocation |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ChangedProductId": "61df3938-5422-4476-940f-dcf805fd8757", "Locations": [ { "LocationId": 1, "Prices": [ { "LocationId": 1, "ProductId": "21c696d7-4fa1-4ba2-b05a-fe91f7995242", "TierId": 1, "TierName": "sample string 3", "TierQuantity": 1.0, "GroupId": 1, "GroupName": "sample string 4", "ShelfId": 1, "ShelfName": "sample string 5", "Price": 6.0, "AtTierPrice": 1.0, "SalePrices": [ { "SalePrice": 1.0, "AtTierSalePrice": 1.0, "StartDateUtc": "2025-03-31T10:47:04.4221528+00:00", "StopDateUtc": "2025-03-31T10:47:04.4221528+00:00" }, { "SalePrice": 1.0, "AtTierSalePrice": 1.0, "StartDateUtc": "2025-03-31T10:47:04.4221528+00:00", "StopDateUtc": "2025-03-31T10:47:04.4221528+00:00" } ], "UpdatedDateUtc": "2025-03-31T10:47:04.4221528+00:00" }, { "LocationId": 1, "ProductId": "21c696d7-4fa1-4ba2-b05a-fe91f7995242", "TierId": 1, "TierName": "sample string 3", "TierQuantity": 1.0, "GroupId": 1, "GroupName": "sample string 4", "ShelfId": 1, "ShelfName": "sample string 5", "Price": 6.0, "AtTierPrice": 1.0, "SalePrices": [ { "SalePrice": 1.0, "AtTierSalePrice": 1.0, "StartDateUtc": "2025-03-31T10:47:04.4221528+00:00", "StopDateUtc": "2025-03-31T10:47:04.4221528+00:00" }, { "SalePrice": 1.0, "AtTierSalePrice": 1.0, "StartDateUtc": "2025-03-31T10:47:04.4221528+00:00", "StopDateUtc": "2025-03-31T10:47:04.4221528+00:00" } ], "UpdatedDateUtc": "2025-03-31T10:47:04.4221528+00:00" } ] }, { "LocationId": 1, "Prices": [ { "LocationId": 1, "ProductId": "21c696d7-4fa1-4ba2-b05a-fe91f7995242", "TierId": 1, "TierName": "sample string 3", "TierQuantity": 1.0, "GroupId": 1, "GroupName": "sample string 4", "ShelfId": 1, "ShelfName": "sample string 5", "Price": 6.0, "AtTierPrice": 1.0, "SalePrices": [ { "SalePrice": 1.0, "AtTierSalePrice": 1.0, "StartDateUtc": "2025-03-31T10:47:04.4221528+00:00", "StopDateUtc": "2025-03-31T10:47:04.4221528+00:00" }, { "SalePrice": 1.0, "AtTierSalePrice": 1.0, "StartDateUtc": "2025-03-31T10:47:04.4221528+00:00", "StopDateUtc": "2025-03-31T10:47:04.4221528+00:00" } ], "UpdatedDateUtc": "2025-03-31T10:47:04.4221528+00:00" }, { "LocationId": 1, "ProductId": "21c696d7-4fa1-4ba2-b05a-fe91f7995242", "TierId": 1, "TierName": "sample string 3", "TierQuantity": 1.0, "GroupId": 1, "GroupName": "sample string 4", "ShelfId": 1, "ShelfName": "sample string 5", "Price": 6.0, "AtTierPrice": 1.0, "SalePrices": [ { "SalePrice": 1.0, "AtTierSalePrice": 1.0, "StartDateUtc": "2025-03-31T10:47:04.4221528+00:00", "StopDateUtc": "2025-03-31T10:47:04.4221528+00:00" }, { "SalePrice": 1.0, "AtTierSalePrice": 1.0, "StartDateUtc": "2025-03-31T10:47:04.4221528+00:00", "StopDateUtc": "2025-03-31T10:47:04.4221528+00:00" } ], "UpdatedDateUtc": "2025-03-31T10:47:04.4221528+00:00" } ] } ] }, { "ChangedProductId": "61df3938-5422-4476-940f-dcf805fd8757", "Locations": [ { "LocationId": 1, "Prices": [ { "LocationId": 1, "ProductId": "21c696d7-4fa1-4ba2-b05a-fe91f7995242", "TierId": 1, "TierName": "sample string 3", "TierQuantity": 1.0, "GroupId": 1, "GroupName": "sample string 4", "ShelfId": 1, "ShelfName": "sample string 5", "Price": 6.0, "AtTierPrice": 1.0, "SalePrices": [ { "SalePrice": 1.0, "AtTierSalePrice": 1.0, "StartDateUtc": "2025-03-31T10:47:04.4221528+00:00", "StopDateUtc": "2025-03-31T10:47:04.4221528+00:00" }, { "SalePrice": 1.0, "AtTierSalePrice": 1.0, "StartDateUtc": "2025-03-31T10:47:04.4221528+00:00", "StopDateUtc": "2025-03-31T10:47:04.4221528+00:00" } ], "UpdatedDateUtc": "2025-03-31T10:47:04.4221528+00:00" }, { "LocationId": 1, "ProductId": "21c696d7-4fa1-4ba2-b05a-fe91f7995242", "TierId": 1, "TierName": "sample string 3", "TierQuantity": 1.0, "GroupId": 1, "GroupName": "sample string 4", "ShelfId": 1, "ShelfName": "sample string 5", "Price": 6.0, "AtTierPrice": 1.0, "SalePrices": [ { "SalePrice": 1.0, "AtTierSalePrice": 1.0, "StartDateUtc": "2025-03-31T10:47:04.4221528+00:00", "StopDateUtc": "2025-03-31T10:47:04.4221528+00:00" }, { "SalePrice": 1.0, "AtTierSalePrice": 1.0, "StartDateUtc": "2025-03-31T10:47:04.4221528+00:00", "StopDateUtc": "2025-03-31T10:47:04.4221528+00:00" } ], "UpdatedDateUtc": "2025-03-31T10:47:04.4221528+00:00" } ] }, { "LocationId": 1, "Prices": [ { "LocationId": 1, "ProductId": "21c696d7-4fa1-4ba2-b05a-fe91f7995242", "TierId": 1, "TierName": "sample string 3", "TierQuantity": 1.0, "GroupId": 1, "GroupName": "sample string 4", "ShelfId": 1, "ShelfName": "sample string 5", "Price": 6.0, "AtTierPrice": 1.0, "SalePrices": [ { "SalePrice": 1.0, "AtTierSalePrice": 1.0, "StartDateUtc": "2025-03-31T10:47:04.4221528+00:00", "StopDateUtc": "2025-03-31T10:47:04.4221528+00:00" }, { "SalePrice": 1.0, "AtTierSalePrice": 1.0, "StartDateUtc": "2025-03-31T10:47:04.4221528+00:00", "StopDateUtc": "2025-03-31T10:47:04.4221528+00:00" } ], "UpdatedDateUtc": "2025-03-31T10:47:04.4221528+00:00" }, { "LocationId": 1, "ProductId": "21c696d7-4fa1-4ba2-b05a-fe91f7995242", "TierId": 1, "TierName": "sample string 3", "TierQuantity": 1.0, "GroupId": 1, "GroupName": "sample string 4", "ShelfId": 1, "ShelfName": "sample string 5", "Price": 6.0, "AtTierPrice": 1.0, "SalePrices": [ { "SalePrice": 1.0, "AtTierSalePrice": 1.0, "StartDateUtc": "2025-03-31T10:47:04.4221528+00:00", "StopDateUtc": "2025-03-31T10:47:04.4221528+00:00" }, { "SalePrice": 1.0, "AtTierSalePrice": 1.0, "StartDateUtc": "2025-03-31T10:47:04.4221528+00:00", "StopDateUtc": "2025-03-31T10:47:04.4221528+00:00" } ], "UpdatedDateUtc": "2025-03-31T10:47:04.4221528+00:00" } ] } ] } ]