RestocksAIO

Webhook API for resellers: your sales and price changes as JSON.

The Webhook API sends each sale, each offer and each Bricker Mode price change from RestocksAIO to your own HTTPS endpoint as JSON. You choose which groups of events it sends.

The Webhook API section of Settings: the endpoint URL, the Test button and the four event groups.
The endpoint URL, the Test button and the event groups.

Set it up in Settings

Type the address of your endpoint in Endpoint URL and click Test. The app sends one test request and says if it arrived.

Then tick Enable Webhook API and the event groups you want: Sales, Offers, Bricker and Labels.

In the app: Settings › Notifications › Webhook API

Every event has the same shape

Each request is an HTTPS POST with four fields: event, timestampUtc, data and meta. The event field names the event, and data holds the fields of that event.

A sale carries the sale ID, the product, the style code, the marketplace, the size and the payout. A price change carries the task, the marketplace, the old price, the new price and the reason.

What sellers build with it

End a listing on a marketplace that RestocksAIO does not support, such as Depop, when the pair sells elsewhere. Your own code receives sale.detected and ends the listing.

Write each sale to a sheet, a database or your accounting tool. Post a message to your team when Bricker Mode changes a price.

The events and the facts

sale.detected
A new sale, or a sale that changes its status.
offer.detected
An offer on one of your listings, with the amount, the payout and the profit if you accept.
bricker.price_change
Bricker Mode raised or lowered a price.
bricker.item_sold
A pair with a Bricker Mode task sold, with the price and the payout after fees.
bricker.item_deleted
The app tried to delete a listing, with success or failure.
Delivery
An event can arrive more than once. Use the sale ID or the task ID to handle it one time.
App open
The app sends events while it is open.
Plan
Premium.

Questions

Can I connect RestocksAIO to a marketplace it does not support?

Yes, with your own code. When a pair sells on a supported marketplace, RestocksAIO sends sale.detected to your endpoint. Your code then ends the same listing on Depop or anywhere else. eBay, Shopify, Vinted and Wallapop need no code: the app publishes to them.

Webhook API guide

Which events can I receive?

Five: sale.detected, offer.detected, bricker.price_change, bricker.item_sold and bricker.item_deleted. In Settings you turn them on by group: Sales, Offers, Bricker and Labels.

Is the Webhook API the same as the Discord notifications?

No. Discord and Telegram notifications are messages for you to read, and they are part of every plan. The Webhook API sends JSON for your own software to read, and it is part of Premium.

Discord and Telegram alerts

Which plan has the Webhook API?

Premium. Bricker Mode and the Offer Sniper, which create most of the events, are in Premium too.

Send one test event to your endpoint.

Start the Premium trial, type your endpoint URL and click Test.

See plans and trials