NAV
shell

Introduction

To use the API document of Ronad company, it is recommended to read the guide for using the Ronad Panel to get familiar with the working process of Ronad. In short, to use Ronad services, you must do the following steps:

1- Define your products in Ronad

2- Send them to Ronad with parcel

3- Create your orders

download here

Authentication

You need token for use Ronad API service. Please contact Ronad customer service or your account manager.

Seller/Provider

If you are a market place that you need to define your products with seller or provider, you need define them before define your produscs. Otherwise go to define products directly.

Create seller

This example is for create,get and edit seller. you can use this for define providers. Replace "seller" with "provider" in url.

curl  POST 'https://api.ronad.ir/v1/seller?token=' \
--header 'Content-Type: application/json' \
--data-raw '{
"code": "123456890","name": "فروشنده 1"
}'

Parameters

value type Description
code string this code use for create product
name string 2-50 character

Get seller

curl  GET 'https://api.ronad.ir/v1/seller?page=0&size=100&token=' \
--header 'Content-Type: application/json' \

Edit seller

curl  PUT 'https://api.ronad.ir/v1/seller?token=' \
--header 'Content-Type: application/json' \
--data-raw '{
"code": "123456890","name": "فروشنده 1"
}'

Category

You can define your products with or without category. If number of your products are less than 2000 we recommend do not use category.

Create category

curl  POST 'https://api.ronad.ir/v1/categories?token=' \
--header 'Content-Type: application/json' \
--data-raw '{
"code": "123456890","name": "الکترونیکی"
}'

Get category

curl  GET 'https://api.ronad.ir/v1/categories?page=0&size=100&token=' \
--header 'Content-Type: application/json' \

Edit category

curl  PUT 'https://api.ronad.ir/v1/category?token=' \
--header 'Content-Type: application/json' \
--data-raw '{
"code": "123456890","name": "الکترونیکی"
}'

Product

You can define your products with or without varaints. please watch the training video of product in Ronad panel. Product registration can be done individually or through an Excel file from the Ronad panel. It is recommended to use API in case of frequent need to define the product.

Product without variant

If you define product without variant or with one variant you can creat order only with product code.

curl  POST 'https://api.ronad.ir/v1/products?token=' \
--header 'Content-Type: application/json' \
--data-raw '{
 "code":"123",
 "name":"آیفون 14 پرومکس سفید 256 گیگ",
 "codingType": "SINGLE",
 "unit":"عدد",
 "weight":10,
 "length":10,
 "width":10,
 "height":10,
 "shippingWeight":10,
 "shippingLength":10,
 "shippingWidth":10,
 "shippingHeight":10,
 "description":"توضیحات کالا"
}'

Parameters

value type Description
code string this code use for order registration
name string Max 100 character
categoryCode string the code that you define in categories
unit string
weight int gram
length int centemeter
width int centemeter
height int centemeter
shippingWeight int gram
shippingLength int centemeter
shippingWidth int centemeter
shippingHeight int centemeter
description string

Product with variant

You can define variant of product if you want define your products with some sellers or providers. in this case you can counsel with Ronad team.

curl  POST 'https://api.ronad.ir/v1/products?token=' \
--header 'Content-Type: application/json' \
--data-raw '{
 "code":"123",
 "name":"آیفون 14 پرومکس سفید 256 گیگ",
 "codingType": "SINGLE",
 "unit":"عدد",
 "weight":10,
 "length":10,
 "width":10,
 "height":10,
 "shippingWeight":10,
 "shippingLength":10,
 "shippingWidth":10,
 "shippingHeight":10,
 "variants": [{ "code": "mask-white"}]
 "providerCode":"xyz"
 "description":"توضیحات کالا"
}'

Add variant to products

You can add variant to products after define it.

curl POST 'https://api.ronad.ir/v1/products/by-code/123/variants?token=' \
--header 'Content-Type: application/json' \
--data-raw '{
"code": "mask-white", 
"providerCode":"xyz"
}

Get products

You can use this curl for get your products. this service use page and size ability to get products.

curl  GET 'https://api.ronad.ir/v1/products?page=0&size=100&token={token}'

You can also filter your products with name and code of them like this: https://api.ronad.ir/v1/products?code.contains={code}&token= https://api.ronad.ir/v1/products?code.equals={code}&token= https://api.ronad.ir/v1/products?name.contains={name}&token= https://api.ronad.ir/v1/products?name.equals={name}&token=

Parcel

For send your products to Ronad warehouses you must create parcel. You can create your parcels from Ronad panel individually or through an Excel file. This part will be useful only for specific users.

Create parcel

curl POST 'https://api.ronad.ir/v1/parcels?token=' \
--header 'Content-Type: application/json' \
--data-raw '{
"destinationId": 4,
"transportationType": "PARTNER",
"deliveryDate": "2020-07-19",
"deliveryStartTime": "10:00:00",
"deliveryEndTime": "12:00:00",
"deliveryType": "BOX",
"items": [{
"productCode": "test123", 
"packageAmount": 10, 
"packageCount": 1,
"inventoryItems": [{
"productionDate": "2020-01-01",
"expirationDate": "2022-01-01",
"unitCost": 150000,
"amount": 10
}]
}],
"agentName": "احمدی",
"agentPhoneNumber": "09123456789"
}
'

Parameters

value type Description
destinationId enum always use 4
transportationType enum RONAD/ PARTNER
deliveryType enum always use BOX
productCode string code of products
productionDate only for FMCG products
expirationDate only for FMCG products
unitCost int price of each item (IRR)

Delivery time of parcel is 9 to 11, 11 to 13 and 14 to 16

Parcel status

curl  GET 'https://api.ronad.ir/v1/parcels/14649/status?token='

response:
SUBMITTED
CONFLICTED
UNLOADED
LOCATED
RETURNED

Order

Create order

Please watch the video of create order before use API to know about rules.

curl POST 'https://api.ronad.ir/v1/orders?token=' \
--header 'Content-Type: application/json' \
--data-raw '{
  "orderType":"WITHOUT_CENTER",
  "trackingCode":"test123",
  "fulfillmentWarehouseId":4,
  "deliveryDate":"2023-02-13",
  "deliveryStartTime":"15:00:00",
  "deliveryEndTime":"21:00:00",
  "items":[{"amount":"1","productCode":"test1"},
  {"amount":"1","productCode":"test2"}],
  "codValue":"1500000",
  "orderValue":"1200000",
  "customerMobileNumber":"09121111111",
  "customerPhoneNumber":"02177777777",
  "customerName":"محمدرضا تهرانی",
  "customerNationalCode":"1111111111",
  "customerProvince":"تهران",
  "customerCity":"تهران",
  "customerZipCode":"1111111111",
  "customerAddress":"خیابان 17 شهریور پلاک 244",
  "fulfillmentTypeCode": "TEHRAN_FAST",
  "courierCode": "DELIVERY_IN_RONAD",
  "deliveryServiceCode": "WITHOUT_DELIVERY_SERVICE",
  "cutoffId": 1 }'

Parameters

value type Description
trackingCode string string 1-25 character
orderTPLType enum choose the tpl that you want
codValue int for payment by end user
orderValue int for insurance use (IRR)
customerAddress string 10-25 character
fulfillmentTypeCode enum example: TEHRAN_FAST for finding more details please see Shipping-definition section
courierCode enum example: DELIVERY_IN_RONAD for finding more details please see Shipping-definition section
deliveryServiceCode enum example: WITHOUT_DELIVERY_SERVICE for finding more details please see Shipping-definition section
cutoffId Long example: 1 for finding more details please see get cutoffs section

Couriers:

name code
پیک سریع PEYK_FAST
پست پیشتاز EXPRESS_POST
چاپار CHAPAR
تاپین کتاب TAPIN_BOOK
تحویل درب انبار DELIVERY_IN_RONAD
ناوگان روناد RONAD_FLEET
پیک PEYK
ناوگان دیجی کالا DIGIKALA_FLEET

Delivery services:

name code
بدون خدمات تحویل WITHOUT_DELIVERY_SERVICE
پرداخت در محل COD
پس کرایه POST_PAID
پرداخت در محل و پس کرایه COD_POSTPAID

Fulfillment types:

name code
پردازش پایه تهران TEHRAN_BASIC
پردازش پایه سراسری GLOBAL_BASIC
پردازش سریع تهران TEHRAN_FAST
پردازش دیجی‌کالایی DIGIKALA_PROCESS
پردازش اسنپ شاپ SNAP_SHOP_PROCESS
سفارش ویژه VIP_PROCESS

Valid combination of fulfillment type, courier and delivery service:

Fulfilment type code Courier code Delivery service code
TEHRAN_FAST PEYK_FAST WITHOUT_DELIVERY_SERVICE
TEHRAN_FAST DELIVERY_IN_RONAD WITHOUT_DELIVERY_SERVICE
TEHRAN_BASIC DELIVERY_IN_RONAD WITHOUT_DELIVERY_SERVICE
TEHRAN_BASIC PEYK WITHOUT_DELIVERY_SERVICE
TEHRAN_BASIC EXPRESS_POST WITHOUT_DELIVERY_SERVICE
TEHRAN_BASIC TAPIN_BOOK WITHOUT_DELIVERY_SERVICE
TEHRAN_BASIC PEYK COD
TEHRAN_BASIC TAPIN_BOOK COD
TEHRAN_BASIC TAPIN_BOOK POST_PAID
GLOBAL_BASIC DELIVERY_IN_RONAD WITHOUT_DELIVERY_SERVICE
GLOBAL_BASIC EXPRESS_POST WITHOUT_DELIVERY_SERVICE
GLOBAL_BASIC TAPIN_BOOK WITHOUT_DELIVERY_SERVICE
GLOBAL_BASIC CHAPAR POST_PAID
GLOBAL_BASIC TAPIN_BOOK POST_PAID
TEHRAN_BASIC TAPIN_BOOK COD_POST_PAID

Shipping-definition

you can get shipping definitions with this api

curl --location 'https://api.ronad.ir/v1/shipping-definitions/available-shipping-definitions?token=' \
--header 'Cookie: JSESSIONID=E98420DAD792CF57851BF9D32229CA98; JSESSIONID=8749431F9C1782E866F3C052E1C282CF' \
--data ''
{
    "fulfillmentTypes": [
        {
            "id": 1,
            "name": "پردازش پایه تهران",
            "code": "TEHRAN_BASIC",
            "deliveryServices": [
                {
                    "id": 1,
                    "name": "بدون خدمات تحویل",
                    "code": "WITHOUT_DELIVERY_SERVICE",
                    "couriers": [
                        {
                            "id": 6,
                            "name": "تحویل درب انبار",
                            "code": "DELIVERY_IN_RONAD"
                        },
                        {
                            "id": 1,
                            "name": "پیک",
                            "code": "PEYK"
                        },
                        {
                            "id": 2,
                            "name": "پست پیشتاز",
                            "code": "EXPRESS_POST"
                        },
                        {
                            "id": 3,
                            "name": "چاپار",
                            "code": "CHAPAR"
                        },
                        {
                            "id": 4,
                            "name": "تاپین",
                            "code": "TAPIN"
                        },
                        {
                            "id": 5,
                            "name": "تاپین کتاب",
                            "code": "TAPIN_BOOK"
                        }
                    ]
                },
                {
                    "id": 2,
                    "name": "پرداخت در محل (COD)",
                    "code": "COD",
                    "couriers": [
                        {
                            "id": 9,
                            "name": "پیک تهران",
                            "code": "PEYK_TEHRAN"
                        },
                        {
                            "id": 4,
                            "name": "تاپین",
                            "code": "TAPIN"
                        },
                        {
                            "id": 5,
                            "name": "تاپین کتاب",
                            "code": "TAPIN_BOOK"
                        }
                    ]
                },
                {
                    "id": 3,
                    "name": "پس کرایه",
                    "code": "POST_PAY",
                    "couriers": [
                        {
                            "id": 3,
                            "name": "چاپار",
                            "code": "CHAPAR"
                        },
                        {
                            "id": 4,
                            "name": "تاپین",
                            "code": "TAPIN"
                        },
                        {
                            "id": 5,
                            "name": "تاپین کتاب",
                            "code": "TAPIN_BOOK"
                        }
                    ]
                }
            ]
        },
        {
            "id": 2,
            "name": "پردازش پایه سراسری",
            "code": "GLOBAL_BASIC",
            "deliveryServices": [
                {
                    "id": 1,
                    "name": "بدون خدمات تحویل",
                    "code": "WITHOUT_DELIVERY_SERVICE",
                    "couriers": [
                        {
                            "id": 6,
                            "name": "تحویل درب انبار",
                            "code": "DELIVERY_IN_RONAD"
                        },
                        {
                            "id": 2,
                            "name": "پست پیشتاز",
                            "code": "EXPRESS_POST"
                        },
                        {
                            "id": 3,
                            "name": "چاپار",
                            "code": "CHAPAR"
                        },
                        {
                            "id": 4,
                            "name": "تاپین",
                            "code": "TAPIN"
                        },
                        {
                            "id": 5,
                            "name": "تاپین کتاب",
                            "code": "TAPIN_BOOK"
                        }
                    ]
                },
                {
                    "id": 3,
                    "name": "پس کرایه",
                    "code": "POST_PAY",
                    "couriers": [
                        {
                            "id": 3,
                            "name": "چاپار",
                            "code": "CHAPAR"
                        },
                        {
                            "id": 4,
                            "name": "تاپین",
                            "code": "TAPIN"
                        },
                        {
                            "id": 5,
                            "name": "تاپین کتاب",
                            "code": "TAPIN_BOOK"
                        }
                    ]
                }
            ]
        },
        {
            "id": 3,
            "name": "پردازش سریع تهران",
            "code": "TEHRAN_FAST",
            "deliveryServices": [
                {
                    "id": 1,
                    "name": "بدون خدمات تحویل",
                    "code": "WITHOUT_DELIVERY_SERVICE",
                    "couriers": [
                        {
                            "id": 1,
                            "name": "پیک",
                            "code": "PEYK"
                        },
                        {
                            "id": 6,
                            "name": "تحویل درب انبار",
                            "code": "DELIVERY_IN_RONAD"
                        }
                    ]
                }
            ]
        },
        {
            "id": 5,
            "name": "پردازش دیجی‌کالایی",
            "code": "DIGIKALA_PROCESS",
            "deliveryServices": [
                {
                    "id": 1,
                    "name": "بدون خدمات تحویل",
                    "code": "WITHOUT_DELIVERY_SERVICE",
                    "couriers": [
                        {
                            "id": 6,
                            "name": "تحویل درب انبار",
                            "code": "DELIVERY_IN_RONAD"
                        },
                        {
                            "id": 8,
                            "name": "ناوگان روناد",
                            "code": "RONAD_FLEET"
                        }
                    ]
                }
            ]
        },
        {
            "id": 6,
            "name": "پردازش اسنپ شاپ",
            "code": "SNAP_SHOP_PROCESS",
            "deliveryServices": [
                {
                    "id": 1,
                    "name": "بدون خدمات تحویل",
                    "code": "WITHOUT_DELIVERY_SERVICE",
                    "couriers": [
                        {
                            "id": 6,
                            "name": "تحویل درب انبار",
                            "code": "DELIVERY_IN_RONAD"
                        }
                    ]
                }
            ]
        },
        {
            "id": 12,
            "name": "سفارش ویژه",
            "code": "VIP_PROCESS",
            "deliveryServices": [
                {
                    "id": 1,
                    "name": "بدون خدمات تحویل",
                    "code": "WITHOUT_DELIVERY_SERVICE",
                    "couriers": [
                        {
                            "id": 6,
                            "name": "تحویل درب انبار",
                            "code": "DELIVERY_IN_RONAD"
                        },
                        {
                            "id": 1,
                            "name": "پیک",
                            "code": "PEYK"
                        }
                    ]
                }
            ]
        }
    ]
}

get cutoffs

this api provides Acceptable cutoffs for provided fulfillmentTypeId and CourierId which you can claim from shipping-definition section

curl --location 'https://api.ronad.ir/v1/cut-off/get-all-cutoffs-by-fulfillment-type-and-courier' \
--header 'Cookie: JSESSIONID=E98420DAD792CF57851BF9D32229CA98' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJlYTpwYXJ0bmVyQHJvbmFkLmNvIiwiYXV0aCI6IlBBUlRORVJfQURNSU4sV0FSRUhPVVNFX0xJU1QsV0FSRUhPVVNFX1JFQUQsVVNFUl9DUkVBVEUsVVNFUl9MSVNULFNFTExFUl9DUkVBVEUsU0VMTEVSX1VQREFURSxTRUxMRVJfREVMRVRFLFNFTExFUl9MSVNULFNFTExFUl9SRUFELEFHRU5DWV9DUkVBVEUsQUdFTkNZX1VQREFURSxBR0VOQ1lfTElTVCxBR0VOQ1lfUkVBRCxQQVJDRUxfQ1JFQVRFLFBBUkNFTF9VUERBVEUsUEFSQ0VMX0xJU1QsUEFSQ0VMX1JFQUQsUFJPVklERVJfQ1JFQVRFLFBST1ZJREVSX1VQREFURSxQUk9WSURFUl9ERUxFVEUsUFJPVklERVJfTElTVCxQUk9WSURFUl9SRUFELE9SREVSX0lURU1fQ1JFQVRFLE9SREVSX0lURU1fVVBEQVRFLE9SREVSX0lURU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X1BBUlRORVIsQ1JFQVRFX1NQRUNJQUxfQ09OVEFDVCxVUERBVEVfU1BFQ0lBTF9DT05UQUNULFNQRUNJQUxfQ09OVEFDVF9ERUxFVEUsU1BFQ0lBTF9DT05UQUNUX0xJU1QsU1BFQ0lBTF9DT05UQUNUX1JFQUQsVVBEQVRFX0VNQUlMIiwicm9sZSI6IlBBUlRORVJfQURNSU4iLCJuYW1lIjoi2b7Yp9ix2KrZhtixIiwicGFydG5lcklkIjo1LCJ1c2VySWQiOjEzMiwiZXhwIjoxNzMzNzM2NzI2fQ.-QOttOmQs4K-Xc9fSHWXGCWwn6Y5YjCgIAY1FokVcuCJwtUbq72kwIhVANqRMqGUOBBVRBzTY1pxB-QMeHwlaA' \
--data '[
    {
        "courierId": 1,
        "fulfillmentTypeId": 1
    },
    {
        "courierId": 6,
        "fulfillmentTypeId": 3
    }

]'
{
    "groupedCutoffs": [
        {
            "cutoffGroup": {
                "fulfillmentTypeId": 1,
                "courierId": 1,
                "dayType": "WORKING_DAY"
            },
            "cutoffs": [
                {
                    "id": 9,
                    "name": "سفارش پایه تهران بازه اول",
                    "startTime": "09:00:00",
                    "endTime": "15:00:00",
                    "acceptableDistance": 18,
                    "roundingStrategy": "FLOORING",
                    "acceptableDistanceUnit": "HOURS",
                    "dayType": "WORKING_DAY",
                    "dayOfWeek": null,
                    "dayOfMonth": null
                },
                {
                    "id": 16,
                    "name": "سفارش پایه تهران بازه‌ دوم",
                    "startTime": "15:00:00",
                    "endTime": "21:00:00",
                    "acceptableDistance": 6,
                    "roundingStrategy": "FLOORING",
                    "acceptableDistanceUnit": "HOURS",
                    "dayType": "WORKING_DAY",
                    "dayOfWeek": null,
                    "dayOfMonth": null
                }
            ]
        },
        {
            "cutoffGroup": {
                "fulfillmentTypeId": 1,
                "courierId": 1,
                "dayType": "EVENING_OFF"
            },
            "cutoffs": [
                {
                    "id": 72,
                    "name": "سفارش پایه تهران بازه اول",
                    "startTime": "09:00:00",
                    "endTime": "15:00:00",
                    "acceptableDistance": 18,
                    "roundingStrategy": "FLOORING",
                    "acceptableDistanceUnit": "HOURS",
                    "dayType": "EVENING_OFF",
                    "dayOfWeek": null,
                    "dayOfMonth": null
                },
                {
                    "id": 79,
                    "name": "سفارش پایه تهران بازه‌ دوم",
                    "startTime": "15:00:00",
                    "endTime": "21:00:00",
                    "acceptableDistance": 6,
                    "roundingStrategy": "FLOORING",
                    "acceptableDistanceUnit": "HOURS",
                    "dayType": "EVENING_OFF",
                    "dayOfWeek": null,
                    "dayOfMonth": null
                }
            ]
        },
        {
            "cutoffGroup": {
                "fulfillmentTypeId": 3,
                "courierId": 6,
                "dayType": "WORKING_DAY"
            },
            "cutoffs": [
                {
                    "id": 1,
                    "name": " سفارش سریع روناد بازه‌ اول",
                    "startTime": "09:00:00",
                    "endTime": "12:00:00",
                    "acceptableDistance": 60,
                    "roundingStrategy": "FLOORING",
                    "acceptableDistanceUnit": "MINUTES",
                    "dayType": "WORKING_DAY",
                    "dayOfWeek": null,
                    "dayOfMonth": null
                },
                {
                    "id": 2,
                    "name": " سفارش سریع روناد بازه‌ دوم",
                    "startTime": "12:00:00",
                    "endTime": "15:00:00",
                    "acceptableDistance": 60,
                    "roundingStrategy": "FLOORING",
                    "acceptableDistanceUnit": "MINUTES",
                    "dayType": "WORKING_DAY",
                    "dayOfWeek": null,
                    "dayOfMonth": null
                },
                {
                    "id": 3,
                    "name": " سفارش سریع روناد بازه‌ سوم",
                    "startTime": "21:00:00",
                    "endTime": "00:00:00",
                    "acceptableDistance": 180,
                    "roundingStrategy": "FLOORING",
                    "acceptableDistanceUnit": "MINUTES",
                    "dayType": "WORKING_DAY",
                    "dayOfWeek": null,
                    "dayOfMonth": null
                }
            ]
        },
        {
            "cutoffGroup": {
                "fulfillmentTypeId": 3,
                "courierId": 6,
                "dayType": "EVENING_OFF"
            },
            "cutoffs": [
                {
                    "id": 65,
                    "name": " سفارش سریع روناد بازه‌ اول",
                    "startTime": "09:00:00",
                    "endTime": "12:00:00",
                    "acceptableDistance": 60,
                    "roundingStrategy": "FLOORING",
                    "acceptableDistanceUnit": "MINUTES",
                    "dayType": "EVENING_OFF",
                    "dayOfWeek": null,
                    "dayOfMonth": null
                },
                {
                    "id": 66,
                    "name": " سفارش سریع روناد بازه‌ دوم",
                    "startTime": "12:00:00",
                    "endTime": "15:00:00",
                    "acceptableDistance": 60,
                    "roundingStrategy": "FLOORING",
                    "acceptableDistanceUnit": "MINUTES",
                    "dayType": "EVENING_OFF",
                    "dayOfWeek": null,
                    "dayOfMonth": null
                },
                {
                    "id": 67,
                    "name": " سفارش سریع روناد بازه‌ سوم",
                    "startTime": "21:00:00",
                    "endTime": "00:00:00",
                    "acceptableDistance": 180,
                    "roundingStrategy": "FLOORING",
                    "acceptableDistanceUnit": "MINUTES",
                    "dayType": "EVENING_OFF",
                    "dayOfWeek": null,
                    "dayOfMonth": null
                }
            ]
        }
    ]
}

Get order status

Please see status flow. download here

curl GET 'https://api.ronad.ir/v1/orders/{id}/status?token='

Get order detail

curl GET 'https://api.ronad.ir/v1/orders?page=0&size=100&token='

Cancel order

curl POST 'https://api.ronad.ir/v1/orders/{id}/cancel?token=' \
--header 'Content-Type: application/json' \
--data-raw '{
"description":"دلیل کنسل کردن سفارش"
}
'

Inventory

Get inventory

curl GET 'https://api.ronad.ir/v1/inventory?page=0&size=100&token=' \

For get detail of inventory of specefic product use this filter

https://api.ronad.ir/v1/inventory?productCode.equals={code}&token=

Errors

This character is forbiden for "code" in seller/provider, product, order: ''

Error Code Meaning
400 Bad Request -- Your request is invalid.
401 Unauthorized -- Your API key is wrong.
409
500 Internal Server Error -- We have a problem with our server. Try again later.