Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibility to create/update delivery options via API #45

Open
haydave opened this issue Sep 20, 2022 · 0 comments
Open

Possibility to create/update delivery options via API #45

haydave opened this issue Sep 20, 2022 · 0 comments

Comments

@haydave
Copy link

haydave commented Sep 20, 2022

I would like to have possibility to update (or bulk-update) delivery options via API.
There is API to get delivery 2.0 rates, which returns an array of shipping methods set up by the admin, together with details of the pricing for different weights/order prices.

GET Get Delivery 2.0 Rates
API Response
"Values": [
"{"IsAllCountries":false,"Countries":"Singapore","MinimumLeadTime":"121","DeliveryFrom":"SG","CalculationType":"price","Rates":[{"Name":"Option 1","MinimumRange":"1","MaximumRange":"100","Onwards":"false","Cost":"150"},{"Name":"Option 2","MinimumRange":"101","MaximumRange":"","Onwards":"true","Cost":"200"}]}"
]

In API documentation, it is not clear how to update delivery options (change list of countries, weight ranges, etc).

I have tried to update shipping rates by using following API call.

PUT Update a shipping method
https://{{your-marketplace}}.arcadier.io/api/v2/merchants/{{merchantID}}/shipping-methods/{{shippingmethodID}}

but this failed.

Can you please share any documentation for how one can update rates using existing API calls?
Does such API exist - to update shipping rates?

It will be great if you can provide an example of updating/creating delivery options via API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant