Skip to main content

🔌 API Reference

Welcome to the Bosta Fulfillment API documentation. Our API is built on RESTful principles, using standard HTTP methods and returning JSON-formatted responses.

🛠️ Quick Start Guide​

To integrate with the Bosta Fulfillment API, follow these essential steps to get up and running.

🔑 Generating your API Key​

  1. Access the Bosta Fulfillment Dashboard.
  2. Navigate to Settings > API Integration.

Postman Header Setup

  1. Click Request OTP. You will receive an email with a 6-digit code.

Postman Header Setup

  1. Enter the OTP in the dashboard and name it bosta fulfillment Integration

  2. click Confirm. Postman Header Setup

  3. Important: Copy and store your key securely. For security reasons, it will not be shown again. Postman Header Setup

1. Authentication​

All API requests must be authenticated. Our system uses a custom header for the API key:

Header: Authorization: <your_api_key>
(Note: Some legacy endpoints may use x-api-key, please refer to specific endpoint docs)

Postman Header Setup

2. Base URLs​

We provide a stable production environment for all your fulfillment needs:

  • Production: https://api-fulfillment.bosta.co/api/v1

🚀 Core Workflow​

A successful integration typically follows this logic:

  1. Zones: Fetch Supported Areas to ensure delivery availability.
  2. Products Sync: Fetch products from Bosta and sync them to your Inventory.
  3. Fulfillment: Once inventory is synced, create Fulfillment Orders.

📑 Common Response Codes​

Status CodeDescription
200/201Success - Request processed successfully.
400Bad Request - Invalid JSON structure or missing parameters.
401Unauthorized - API key is missing, expired, or invalid.
404Not Found - The requested resource (Order/SKU) does not exist.
429Rate Limit - Too many requests. Please slow down.
500Server Error - Internal issue. Please contact support.

💡 Pro-Tips for Developers​

Pagination​

When fetching lists (like Products or Orders), use the page and limit parameters to manage large datasets: GET /api/v1/inventory/products?page=1&limit=20

Product Mapping​

Ensure your SKU matches exactly between your platform and Bosta Fulfillment to avoid errors during order creation.


📧 Need Help?​

Our technical support team is ready to assist you: