AlleDiscount

List eligible offers

Endpoint returning info about offers that can be submitted to a given AlleDiscount campaign. Only offer linked to the product in published list of goods (products) can be submitted to a given AlleDiscount campaign. Read more: <a href="../../tutorials/jak-przypisac-oferte-kampanii-GRaj0q6Gwuy#lista-ofert-kwalifikujacych-sie-do-kampanii" target="_blank">PL</a> / <a href="../../tutorials/how-to-submit-offers-to-campaigns-AgGjd6EmyH4#list-of-offers-eligible-for-the-selected-campaign" target="_blank">EN</a>.

get/sale/alle-discount/{campaignId}/eligible-offers

Request

  • Base URL: https://api.allegro.pl
  • URL: https://api.allegro.pl/sale/alle-discount/{campaignId}/eligible-offers
  • Auth: OAuth 2 (authorization code, authorization URL https://allegro.pl/auth/oauth/authorize, token URL https://allegro.pl/auth/oauth/token, scopes: allegro:api:campaigns)

Path parameters

campaignIdstring required

Campaign id to list offers from.

Query parameters

limitinteger

Maximum number of offers returned in the eligibleOffers list; max value is 200.

offsetinteger

The number of offers to skip while listing the results.

meetsConditionsboolean

If true, filters offers that only meet conditions of the campaign.

offerIdstring

ID of an offer; if the offer with the given ID exists, returns at most one element in the eligibleOffers list.

Headers

Accept-Language'en-US' BCP-47 language code

Expected language of messages.

Response

Lists offers eligible for submission.

Changes

No recorded changes to this operation across all 1 revision of this API.