Pobierz grupę cenową po ID
GET
/api/price-groups/v2/product-price-groups/{id}
const url = 'https://twoja-instancja-pim-api.enterprise.sellrocket.pl/api/price-groups/v2/product-price-groups/1';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-pim-api.enterprise.sellrocket.pl/api/price-groups/v2/product-price-groups/1 \ --header 'Authorization: Bearer <token>'Zwraca szczegóły pojedynczej grupy cenowej.
Autoryzacja
Dział zatytułowany „Autoryzacja”Parametry
Dział zatytułowany „Parametry”Parametry ścieżki
Dział zatytułowany „Parametry ścieżki”id
wymagane
integer format: int64
Odpowiedzi
Dział zatytułowany „Odpowiedzi”Success
object
id
integer format: int64
name
string
description
string
isDefault
boolean
currency
string
type
string
bundlePriceCalculationMethod
string
bundlePriceMultiplier
number format: double
bundlePriceDiscount
number format: double
catalogIds
Array<integer>
baseGroupData
object
basePriceGroupId
integer format: int64
priceMultiplier
number format: double
addToPrice
number format: double
object
id
integer format: int64
name
string
description
string
isDefault
boolean
currency
string
type
string
bundlePriceCalculationMethod
string
bundlePriceMultiplier
number format: double
bundlePriceDiscount
number format: double
catalogIds
Array<integer>
baseGroupData
object
basePriceGroupId
integer format: int64
priceMultiplier
number format: double
addToPrice
number format: double
Example
{ "currency": "None", "type": "None", "bundlePriceCalculationMethod": "Fixed"}object
id
integer format: int64
name
string
description
string
isDefault
boolean
currency
string
type
string
bundlePriceCalculationMethod
string
bundlePriceMultiplier
number format: double
bundlePriceDiscount
number format: double
catalogIds
Array<integer>
baseGroupData
object
basePriceGroupId
integer format: int64
priceMultiplier
number format: double
addToPrice
number format: double
Example
{ "currency": "None", "type": "None", "bundlePriceCalculationMethod": "Fixed"}
