Skip to main content

API Endpoints / New price feed

How to create endpoint links to update product prices.

Nicolaj Møller Jessen avatar
Written by Nicolaj Møller Jessen
Updated over a week ago

When you want to work with dynamic pricing, PriceShape can provide new prices, both manually set and set by a strategy, through an output feed. The output feed can make the new prices available for import into your shop system using the attribute <new_price>.


How to create an output feed for New Prices

  1. Go to Feeds → Output feeds

  2. Click Create new feed

    • If this is your first output feed, use the button on the front page

    • Otherwise, click Create feed in the upper-right corner

  3. Follow the setup steps using best practices (see below)

To learn more about output feeds in general, you can find additional information here.


Best Practice

When setting up an output feed, it's important to prioritize data precision and conciseness.

One effective approach is to exclude products without an available new price and focus only on the attributes required to update prices in your shop system.

Step 2 – Product Selection

Apply the following filter:

New Price → Is -> [set by strategy] and [set by manual price]

This ensures that only products with a calculated new price are included in the output feed.

Note:

  • If you use multiple output feeds and require separate API endpoints, make sure the correct feed is selected.

  • If you are using the “Suggest new prices” feature in your pricing strategies, the corresponding attribute to use is “Suggested New Price is present” instead of “New Price.”

Step 3 – Product Attributes

Under Own attributes, select only the essential fields. In most cases, this includes:

  • A product identifier (e.g., GTIN/EAN or ID)

  • New Price

Note:

  • If you are using the “Suggest new prices” feature in your pricing strategies, the corresponding attribute to use is “Suggested New Price” instead of “New Price.”


Bundle Accounts

If you are working with a bundle account, learn how to create an output feed for updated bundle pricing here.


Output feed endpoints

The endpoints follow this format:

https://public.app.priceshape.io/api/date/export/token

When making a GET request, the feed can be retrieved in one of the following formats:

  • JSON

  • XML

  • CSV

  • Google Sheets

Each different endpoint contains the chosen attributes.

Below, you'll find an example of our XML endpoint:

<item> 
<gid>6542122953</gid>
<mpn>3113352</mpn>
<gtin>5702213112522</gtin>
<new_price>825.75</new_price> <-- The new price for the product
</item>

Please note: The above response serves as an illustrative example and is fully customizable.

The <new_price> attribute contains the new price from the product list.

If the current product price already matches the new price, the product will be excluded from the feed to ensure that only relevant updates are returned


Importing the output feed into your shop system

PriceShape works in a continuous data loop between the platform and your shop system.

Once the output feed is created, you control how the data is imported and applied in your shop system. This includes: update frequency, automation, and any validation or approval steps. Depending on your setup, this is often configured with help from your developer or integration partner.

Because shop systems differ, the exact implementation depends on your platform and integration setup.


Need Help?

If you have any questions or need assistance, feel free to contact us.

Did this answer your question?