merchOne Documentation
  • Overview
  • REST API
  • API reference
    • API Beta
      • Catalog
      • Orders
      • Shipping
    • API V1
      • Blueprints
      • Orders
      • Library
      • Products
      • Shipping rates
  • Webhooks
  • Print files
Powered by GitBook
On this page
  1. API reference
  2. API V1

Shipping rates

PreviousProductsNextWebhooks

Last updated 17 days ago

Introduction

Through the endpoint included in the Shipping rates section, you will be able to:

  • Get information about shipping rates

Endpoints

  • Introduction
  • Endpoints
  • POSTCalculate shipping rates

Calculate shipping rates

post

This endpoint calculate shipping rates by given address and products

Authorizations
Body
Responses
200
OK
application/json
401
Unauthorized
post
POST /api/v1/shipment/rates HTTP/1.1
Host: api.merchone.com
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 102

{
  "address": {
    "zipcode": "10115",
    "country": "DE"
  },
  "order": [
    {
      "product_sku": "CVS0200201LWF2",
      "quantity": 1
    }
  ]
}
{
  "data": [
    {
      "type": "tracked",
      "cost": 5,
      "currency": "EUR"
    }
  ]
}