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": "4117d729-ebcc-4a87-8efb-e41a6daeea3b", "Locations": [ { "LocationId": 1, "Prices": [ { "LocationId": 1, "ProductId": "72c94ee6-128d-446f-9854-a69e4142f75a", "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": "2024-11-07T09:00:38.0754911+00:00", "StopDateUtc": "2024-11-07T09:00:38.0754911+00:00" }, { "SalePrice": 1.0, "AtTierSalePrice": 1.0, "StartDateUtc": "2024-11-07T09:00:38.0754911+00:00", "StopDateUtc": "2024-11-07T09:00:38.0754911+00:00" } ], "UpdatedDateUtc": "2024-11-07T09:00:38.0754911+00:00" }, { "LocationId": 1, "ProductId": "72c94ee6-128d-446f-9854-a69e4142f75a", "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": "2024-11-07T09:00:38.0754911+00:00", "StopDateUtc": "2024-11-07T09:00:38.0754911+00:00" }, { "SalePrice": 1.0, "AtTierSalePrice": 1.0, "StartDateUtc": "2024-11-07T09:00:38.0754911+00:00", "StopDateUtc": "2024-11-07T09:00:38.0754911+00:00" } ], "UpdatedDateUtc": "2024-11-07T09:00:38.0754911+00:00" } ] }, { "LocationId": 1, "Prices": [ { "LocationId": 1, "ProductId": "72c94ee6-128d-446f-9854-a69e4142f75a", "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": "2024-11-07T09:00:38.0754911+00:00", "StopDateUtc": "2024-11-07T09:00:38.0754911+00:00" }, { "SalePrice": 1.0, "AtTierSalePrice": 1.0, "StartDateUtc": "2024-11-07T09:00:38.0754911+00:00", "StopDateUtc": "2024-11-07T09:00:38.0754911+00:00" } ], "UpdatedDateUtc": "2024-11-07T09:00:38.0754911+00:00" }, { "LocationId": 1, "ProductId": "72c94ee6-128d-446f-9854-a69e4142f75a", "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": "2024-11-07T09:00:38.0754911+00:00", "StopDateUtc": "2024-11-07T09:00:38.0754911+00:00" }, { "SalePrice": 1.0, "AtTierSalePrice": 1.0, "StartDateUtc": "2024-11-07T09:00:38.0754911+00:00", "StopDateUtc": "2024-11-07T09:00:38.0754911+00:00" } ], "UpdatedDateUtc": "2024-11-07T09:00:38.0754911+00:00" } ] } ] }, { "ChangedProductId": "4117d729-ebcc-4a87-8efb-e41a6daeea3b", "Locations": [ { "LocationId": 1, "Prices": [ { "LocationId": 1, "ProductId": "72c94ee6-128d-446f-9854-a69e4142f75a", "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": "2024-11-07T09:00:38.0754911+00:00", "StopDateUtc": "2024-11-07T09:00:38.0754911+00:00" }, { "SalePrice": 1.0, "AtTierSalePrice": 1.0, "StartDateUtc": "2024-11-07T09:00:38.0754911+00:00", "StopDateUtc": "2024-11-07T09:00:38.0754911+00:00" } ], "UpdatedDateUtc": "2024-11-07T09:00:38.0754911+00:00" }, { "LocationId": 1, "ProductId": "72c94ee6-128d-446f-9854-a69e4142f75a", "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": "2024-11-07T09:00:38.0754911+00:00", "StopDateUtc": "2024-11-07T09:00:38.0754911+00:00" }, { "SalePrice": 1.0, "AtTierSalePrice": 1.0, "StartDateUtc": "2024-11-07T09:00:38.0754911+00:00", "StopDateUtc": "2024-11-07T09:00:38.0754911+00:00" } ], "UpdatedDateUtc": "2024-11-07T09:00:38.0754911+00:00" } ] }, { "LocationId": 1, "Prices": [ { "LocationId": 1, "ProductId": "72c94ee6-128d-446f-9854-a69e4142f75a", "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": "2024-11-07T09:00:38.0754911+00:00", "StopDateUtc": "2024-11-07T09:00:38.0754911+00:00" }, { "SalePrice": 1.0, "AtTierSalePrice": 1.0, "StartDateUtc": "2024-11-07T09:00:38.0754911+00:00", "StopDateUtc": "2024-11-07T09:00:38.0754911+00:00" } ], "UpdatedDateUtc": "2024-11-07T09:00:38.0754911+00:00" }, { "LocationId": 1, "ProductId": "72c94ee6-128d-446f-9854-a69e4142f75a", "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": "2024-11-07T09:00:38.0754911+00:00", "StopDateUtc": "2024-11-07T09:00:38.0754911+00:00" }, { "SalePrice": 1.0, "AtTierSalePrice": 1.0, "StartDateUtc": "2024-11-07T09:00:38.0754911+00:00", "StopDateUtc": "2024-11-07T09:00:38.0754911+00:00" } ], "UpdatedDateUtc": "2024-11-07T09:00:38.0754911+00:00" } ] } ] } ]