Developer Docs

Shipping API Integration Guide.

Connect your systems to Storeino's shipping API — create orders, sync products, update statuses, and manage customer accounts.

Overview

Storeino API provides new enhancements, performance improvements, and new features for clients. This document provides detailed API information — read it completely before implementing the integration in any system.

API Structure

Storeino provides API endpoints for both Development and Production systems. For initial development and testing, please use the development endpoint.

Request Headers

Storeino API requires the following two headers.

Request Headers
HeaderPossible ValueDescription
Acceptapplication/jsonTo get the response in JSON format, this header should be passed with the request with value application/json
X-auth-tokenStringThe token your company receives after registration

Create Order

We send an order-creation request to your endpoint in this JSON format.

Request
{
  RECEIVER: 'BADR AGRIR', //full name
  SELLERID: 2343, //seller ID in your company
  PHONE: '06xx-xx-xx-xx', //phone number string
  CITY: 'city of customer', //string
  COUNTRY: 'USA', //country of customer, string
  //You can find the products field only if you have the warehousing service
  PRODUCTS: [
    {
      product: {
        _id: '23412' //id of product in your platform
      },
      quantity: 4,
      unitPrice: 34
    },
    {...},
  ],
  ADDRESS: 'new york 1109 road 02', //address of customer, string
  TOTAL_PRICE: 15, //total price, integer
  SERVICE: 'CASH IN DELIVERY', //string
  SOURCE: 'STOREINO'
}
Success Response
{
  status: 200,
  data: {
    orderRef: 23234 //ID of the order in your platform
  }
}
Error Response
{
  status: 400,
  data: {
    error: 'phone number not valid'
  }
}

Import Product (this API is required only if you have the warehousing service)

We send a product-creation request to your endpoint in this JSON format.

Request
{
  name: 'phone', //title of the product
  picture: 'https/image.xx/', //url of the product
  description: 'new product', //description of the product
  source: 'STOREINO',
  sellerId: '', //id of the seller in your company
  price: 15,
  quantity: 122 //quantity in stock
}
Success Response
{
  status: 200,
  data: {
    productRef: 23234, //ID of the product in your platform
    sellerId: 233 //ID of the seller in your platform
  }
}
Error Response
{
  status: 400,
  data: {
    error: 'title not valid'
  }
}

Update Order Status

Body format accepted

BASE-URL/companies/changeStatus?source=NAME-COMPANY
Request
// headers above are necessary
{
  orderId: 423, //ID of the order in your database
  status: '', //new status
  note: 'delivered 12:12 AM'
}
Success Response
{
  status: 200,
  data: { status: 'status changed' }
}
Accepted Statuses
CONFIRMEDPREPAREDSHIPPEDDELIVEREDPAIDOUTOFSTOCKUNREACHEDCANCELEDREFUSEDAWAITING_RETURNRETURNEDPENDING

Login Customer

Body format accepted

BASE-URL/companies/login?source=NAME-COMPANY
Request
{
  email: 'email@xxx.com',
  password: '......',
  source: 'STOREINO'
}
Success Response
{
  status: 200,
  data: {
    sellerId: '423' //ID of the seller in your database
  }
}
Error Response
{
  status: 400,
  data: {
    error: 'email or password is invalid'
  }
}

Register Customer (this API is optional)

Body format accepted

BASE-URL/companies/register?source=NAME-COMPANY
Request
{
  fullName: '',
  email: 'email@xxx.com',
  password: '......',
  numberPhone: '',
  source: 'STOREINO'
}
Success Response
{
  status: 200,
  data: {
    sellerId: '423' //ID of the seller in your database
  }
}
Error Response
{
  status: 400,
  data: {
    error: 'EX'
  }
}

Validate Customer (this API is required only if you use the register API)

Body format accepted

BASE-URL/companies/validation?source=NAME-COMPANY
Request
// headers above are necessary
{
  sellerId: 423, //ID of the seller in your database
  confirmed: true
}
Success Response
{
  status: 200,
  data: { connected: true }
}
Mobile

Run your store.
From anywhere.

Full control of your store, wherever you are. Track your sales, manage your orders, and stay in touch with your customers effortlessly. Everything you need to run your business in a single app.

  • Real-time order alerts
  • Daily revenue at a glance
  • Manage stock on the go
  • Confirm orders in one tap
Order fulfilledReady to ship
New orderOpen it in your dashboard
Storeino
Today's overview
Sales
Orders