Pobierz szczegóły cennika hurtowego
GET
/api/LoyaltyPromotions/GetWholesalePriceListDetails
const url = 'https://twoja-instancja-sales-offers-allegro-api.enterprise.sellrocket.pl/api/LoyaltyPromotions/GetWholesalePriceListDetails';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://twoja-instancja-sales-offers-allegro-api.enterprise.sellrocket.pl/api/LoyaltyPromotions/GetWholesalePriceListDetails \ --header 'Authorization: Bearer <token>'Autoryzacja
Dział zatytułowany „Autoryzacja”Parametry
Dział zatytułowany „Parametry”Parametry zapytania
Dział zatytułowany „Parametry zapytania”ConnectionId
string
WholesalePriceListId
string
Odpowiedzi
Dział zatytułowany „Odpowiedzi”OK
object
id
wymagane
string
benefits
wymagane
Array<object>
object
specification
wymagane
object
name
wymagane
string
thresholds
wymagane
Array<object>
object
quantity
wymagane
object
lowerBound
wymagane
integer format: int32
discount
wymagane
object
percentage
wymagane
string
type
wymagane
string
offerCriteria
wymagane
Array<object>
object
type
wymagane
string
status
wymagane
string
object
id
wymagane
string
benefits
wymagane
Array<object>
object
specification
wymagane
object
name
wymagane
string
thresholds
wymagane
Array<object>
object
quantity
wymagane
object
lowerBound
wymagane
integer format: int32
discount
wymagane
object
percentage
wymagane
string
type
wymagane
string
offerCriteria
wymagane
Array<object>
object
type
wymagane
string
status
wymagane
string
Examplegenerated
{ "id": "example", "benefits": [ { "specification": { "name": "example", "thresholds": [ { "quantity": { "lowerBound": 1 }, "discount": { "percentage": "example" } } ], "type": "example" } } ], "offerCriteria": [ { "type": "example" } ], "status": "example"}object
id
wymagane
string
benefits
wymagane
Array<object>
object
specification
wymagane
object
name
wymagane
string
thresholds
wymagane
Array<object>
object
quantity
wymagane
object
lowerBound
wymagane
integer format: int32
discount
wymagane
object
percentage
wymagane
string
type
wymagane
string
offerCriteria
wymagane
Array<object>
object
type
wymagane
string
status
wymagane
string
Examplegenerated
{ "id": "example", "benefits": [ { "specification": { "name": "example", "thresholds": [ { "quantity": { "lowerBound": 1 }, "discount": { "percentage": "example" } } ], "type": "example" } } ], "offerCriteria": [ { "type": "example" } ], "status": "example"}
