When fetching shipping methods with api-v1, the prices for all methods are missing in the response data.
What steps did I do?
- Added prices to dummy shipping methods (Default and Express) as shown below. Both methods got the same rules, are active and selected in my sales channel
- Availability: Cart >= 0
- Matrix: Quantity from 1 to ∞; Euro gross/net: 5.00 / 4.00
-
In my code I’m fetching the shipping methods with following endpoint
/store-api/v1/shipping-method
-
As expected the result gives me all current active shipping methods, BUT the price property is empty
1:
{
active: true
apiAlias: „shipping_method“
availabilityRule: null
.
.
.
→ prices: Array(0)
{
length: 0
ob : Observer {value: Array(0), dep: Dep, vmCount: 0}
proto : Array
}
tags: (…)
.
.
}
Anyone had the same problem? Do I need any other / combined API calls to receive the shipping prices as well?
I’m also missing a property which states if the method is set as default
method. So currently no indicator on how to know that. Anything here as well?
Thaks,
Hoargarth