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": "f3b11494-204d-444b-ae92-7b651b0f52df",
    "Locations": [
      {
        "LocationId": 1,
        "Prices": [
          {
            "LocationId": 1,
            "ProductId": "ca19726f-ab61-4a7a-b74e-d96894e4a83a",
            "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-07T08:57:57.0062425+00:00",
                "StopDateUtc": "2024-11-07T08:57:57.0062425+00:00"
              },
              {
                "SalePrice": 1.0,
                "AtTierSalePrice": 1.0,
                "StartDateUtc": "2024-11-07T08:57:57.0062425+00:00",
                "StopDateUtc": "2024-11-07T08:57:57.0062425+00:00"
              }
            ],
            "UpdatedDateUtc": "2024-11-07T08:57:57.0062425+00:00"
          },
          {
            "LocationId": 1,
            "ProductId": "ca19726f-ab61-4a7a-b74e-d96894e4a83a",
            "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-07T08:57:57.0062425+00:00",
                "StopDateUtc": "2024-11-07T08:57:57.0062425+00:00"
              },
              {
                "SalePrice": 1.0,
                "AtTierSalePrice": 1.0,
                "StartDateUtc": "2024-11-07T08:57:57.0062425+00:00",
                "StopDateUtc": "2024-11-07T08:57:57.0062425+00:00"
              }
            ],
            "UpdatedDateUtc": "2024-11-07T08:57:57.0062425+00:00"
          }
        ]
      },
      {
        "LocationId": 1,
        "Prices": [
          {
            "LocationId": 1,
            "ProductId": "ca19726f-ab61-4a7a-b74e-d96894e4a83a",
            "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-07T08:57:57.0062425+00:00",
                "StopDateUtc": "2024-11-07T08:57:57.0062425+00:00"
              },
              {
                "SalePrice": 1.0,
                "AtTierSalePrice": 1.0,
                "StartDateUtc": "2024-11-07T08:57:57.0062425+00:00",
                "StopDateUtc": "2024-11-07T08:57:57.0062425+00:00"
              }
            ],
            "UpdatedDateUtc": "2024-11-07T08:57:57.0062425+00:00"
          },
          {
            "LocationId": 1,
            "ProductId": "ca19726f-ab61-4a7a-b74e-d96894e4a83a",
            "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-07T08:57:57.0062425+00:00",
                "StopDateUtc": "2024-11-07T08:57:57.0062425+00:00"
              },
              {
                "SalePrice": 1.0,
                "AtTierSalePrice": 1.0,
                "StartDateUtc": "2024-11-07T08:57:57.0062425+00:00",
                "StopDateUtc": "2024-11-07T08:57:57.0062425+00:00"
              }
            ],
            "UpdatedDateUtc": "2024-11-07T08:57:57.0062425+00:00"
          }
        ]
      }
    ]
  },
  {
    "ChangedProductId": "f3b11494-204d-444b-ae92-7b651b0f52df",
    "Locations": [
      {
        "LocationId": 1,
        "Prices": [
          {
            "LocationId": 1,
            "ProductId": "ca19726f-ab61-4a7a-b74e-d96894e4a83a",
            "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-07T08:57:57.0062425+00:00",
                "StopDateUtc": "2024-11-07T08:57:57.0062425+00:00"
              },
              {
                "SalePrice": 1.0,
                "AtTierSalePrice": 1.0,
                "StartDateUtc": "2024-11-07T08:57:57.0062425+00:00",
                "StopDateUtc": "2024-11-07T08:57:57.0062425+00:00"
              }
            ],
            "UpdatedDateUtc": "2024-11-07T08:57:57.0062425+00:00"
          },
          {
            "LocationId": 1,
            "ProductId": "ca19726f-ab61-4a7a-b74e-d96894e4a83a",
            "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-07T08:57:57.0062425+00:00",
                "StopDateUtc": "2024-11-07T08:57:57.0062425+00:00"
              },
              {
                "SalePrice": 1.0,
                "AtTierSalePrice": 1.0,
                "StartDateUtc": "2024-11-07T08:57:57.0062425+00:00",
                "StopDateUtc": "2024-11-07T08:57:57.0062425+00:00"
              }
            ],
            "UpdatedDateUtc": "2024-11-07T08:57:57.0062425+00:00"
          }
        ]
      },
      {
        "LocationId": 1,
        "Prices": [
          {
            "LocationId": 1,
            "ProductId": "ca19726f-ab61-4a7a-b74e-d96894e4a83a",
            "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-07T08:57:57.0062425+00:00",
                "StopDateUtc": "2024-11-07T08:57:57.0062425+00:00"
              },
              {
                "SalePrice": 1.0,
                "AtTierSalePrice": 1.0,
                "StartDateUtc": "2024-11-07T08:57:57.0062425+00:00",
                "StopDateUtc": "2024-11-07T08:57:57.0062425+00:00"
              }
            ],
            "UpdatedDateUtc": "2024-11-07T08:57:57.0062425+00:00"
          },
          {
            "LocationId": 1,
            "ProductId": "ca19726f-ab61-4a7a-b74e-d96894e4a83a",
            "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-07T08:57:57.0062425+00:00",
                "StopDateUtc": "2024-11-07T08:57:57.0062425+00:00"
              },
              {
                "SalePrice": 1.0,
                "AtTierSalePrice": 1.0,
                "StartDateUtc": "2024-11-07T08:57:57.0062425+00:00",
                "StopDateUtc": "2024-11-07T08:57:57.0062425+00:00"
              }
            ],
            "UpdatedDateUtc": "2024-11-07T08:57:57.0062425+00:00"
          }
        ]
      }
    ]
  }
]