GET v1/Companies/{CompanyId}/ChangedPrices/{asOfDateUtc}

This call returns all current pricing 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}/ChangedPrices/{fiveMinutesAgo}?&skip=0&top=500
Recommend calling this endpoint once per minute requesting changes from the last 5 minutes.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CompanyId

Company Id from your onboarding package

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 PriceChangedAtLocationResource
NameDescriptionTypeAdditional information
ChangedProductId

globally unique identifier

None.

Locations

Collection of PriceChangeLocation

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ChangedProductId": "038d7271-03f4-4d86-a306-e30550be73f9",
    "Locations": [
      {
        "LocationId": 1,
        "Prices": [
          {
            "LocationId": 1,
            "ProductId": "74d998f3-75d0-43c2-a10b-d852fd1b73fe",
            "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-25T11:29:15.8926143+00:00",
                "StopDateUtc": "2024-11-25T11:29:15.8926143+00:00"
              },
              {
                "SalePrice": 1.0,
                "AtTierSalePrice": 1.0,
                "StartDateUtc": "2024-11-25T11:29:15.8926143+00:00",
                "StopDateUtc": "2024-11-25T11:29:15.8926143+00:00"
              }
            ],
            "UpdatedDateUtc": "2024-11-25T11:29:15.8926143+00:00"
          },
          {
            "LocationId": 1,
            "ProductId": "74d998f3-75d0-43c2-a10b-d852fd1b73fe",
            "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-25T11:29:15.8926143+00:00",
                "StopDateUtc": "2024-11-25T11:29:15.8926143+00:00"
              },
              {
                "SalePrice": 1.0,
                "AtTierSalePrice": 1.0,
                "StartDateUtc": "2024-11-25T11:29:15.8926143+00:00",
                "StopDateUtc": "2024-11-25T11:29:15.8926143+00:00"
              }
            ],
            "UpdatedDateUtc": "2024-11-25T11:29:15.8926143+00:00"
          }
        ]
      },
      {
        "LocationId": 1,
        "Prices": [
          {
            "LocationId": 1,
            "ProductId": "74d998f3-75d0-43c2-a10b-d852fd1b73fe",
            "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-25T11:29:15.8926143+00:00",
                "StopDateUtc": "2024-11-25T11:29:15.8926143+00:00"
              },
              {
                "SalePrice": 1.0,
                "AtTierSalePrice": 1.0,
                "StartDateUtc": "2024-11-25T11:29:15.8926143+00:00",
                "StopDateUtc": "2024-11-25T11:29:15.8926143+00:00"
              }
            ],
            "UpdatedDateUtc": "2024-11-25T11:29:15.8926143+00:00"
          },
          {
            "LocationId": 1,
            "ProductId": "74d998f3-75d0-43c2-a10b-d852fd1b73fe",
            "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-25T11:29:15.8926143+00:00",
                "StopDateUtc": "2024-11-25T11:29:15.8926143+00:00"
              },
              {
                "SalePrice": 1.0,
                "AtTierSalePrice": 1.0,
                "StartDateUtc": "2024-11-25T11:29:15.8926143+00:00",
                "StopDateUtc": "2024-11-25T11:29:15.8926143+00:00"
              }
            ],
            "UpdatedDateUtc": "2024-11-25T11:29:15.8926143+00:00"
          }
        ]
      }
    ]
  },
  {
    "ChangedProductId": "038d7271-03f4-4d86-a306-e30550be73f9",
    "Locations": [
      {
        "LocationId": 1,
        "Prices": [
          {
            "LocationId": 1,
            "ProductId": "74d998f3-75d0-43c2-a10b-d852fd1b73fe",
            "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-25T11:29:15.8926143+00:00",
                "StopDateUtc": "2024-11-25T11:29:15.8926143+00:00"
              },
              {
                "SalePrice": 1.0,
                "AtTierSalePrice": 1.0,
                "StartDateUtc": "2024-11-25T11:29:15.8926143+00:00",
                "StopDateUtc": "2024-11-25T11:29:15.8926143+00:00"
              }
            ],
            "UpdatedDateUtc": "2024-11-25T11:29:15.8926143+00:00"
          },
          {
            "LocationId": 1,
            "ProductId": "74d998f3-75d0-43c2-a10b-d852fd1b73fe",
            "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-25T11:29:15.8926143+00:00",
                "StopDateUtc": "2024-11-25T11:29:15.8926143+00:00"
              },
              {
                "SalePrice": 1.0,
                "AtTierSalePrice": 1.0,
                "StartDateUtc": "2024-11-25T11:29:15.8926143+00:00",
                "StopDateUtc": "2024-11-25T11:29:15.8926143+00:00"
              }
            ],
            "UpdatedDateUtc": "2024-11-25T11:29:15.8926143+00:00"
          }
        ]
      },
      {
        "LocationId": 1,
        "Prices": [
          {
            "LocationId": 1,
            "ProductId": "74d998f3-75d0-43c2-a10b-d852fd1b73fe",
            "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-25T11:29:15.8926143+00:00",
                "StopDateUtc": "2024-11-25T11:29:15.8926143+00:00"
              },
              {
                "SalePrice": 1.0,
                "AtTierSalePrice": 1.0,
                "StartDateUtc": "2024-11-25T11:29:15.8926143+00:00",
                "StopDateUtc": "2024-11-25T11:29:15.8926143+00:00"
              }
            ],
            "UpdatedDateUtc": "2024-11-25T11:29:15.8926143+00:00"
          },
          {
            "LocationId": 1,
            "ProductId": "74d998f3-75d0-43c2-a10b-d852fd1b73fe",
            "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-25T11:29:15.8926143+00:00",
                "StopDateUtc": "2024-11-25T11:29:15.8926143+00:00"
              },
              {
                "SalePrice": 1.0,
                "AtTierSalePrice": 1.0,
                "StartDateUtc": "2024-11-25T11:29:15.8926143+00:00",
                "StopDateUtc": "2024-11-25T11:29:15.8926143+00:00"
              }
            ],
            "UpdatedDateUtc": "2024-11-25T11:29:15.8926143+00:00"
          }
        ]
      }
    ]
  }
]