Boxy API
  1. Pick-up Locations
Boxy API
  • Getting Started
    • Introduction
    • Environments
    • Security & Authentication
    • Rate Limit
    • Postman Collections
    • Schemas
    • Webhooks
  • Guides
    • Order Flow (Statuses)
    • Provinces & Regions
  • API Reference
    • Merchant
      • Get Merchant Info
    • Orders
      • Create Order
      • Create Bulk Orders (Sync)
      • Create Bulk Orders (Async)
      • List Orders
      • Show Order By UID
      • Show Order By Custom ID
      • Get Label Single
      • Get Label Bulk
      • Cancel Order
      • Update Order
      • Delete Order
    • Pick-ups
      • Request Pick-up
      • Request Pick-up Bulk
      • List Pick-ups
      • Show Pick-up
      • Get Pick-up Labels
      • Cancel Pick-up
      • Cancel Bulk Pick-ups
    • Pick-up Locations
      • Create Pick-up Location
        POST
      • List Pick-up Locations
        GET
      • Show Pick-up Location
        GET
      • Show Cash Drop-off Location
        GET
      • Update Pick-up Location
        PATCH
      • Delete Pick-up Location
        DELETE
    • Regions
      • List Regions
  1. Pick-up Locations

Create Pick-up Location

Production
https://api.tryboxy.com/api/v1/
Production
https://api.tryboxy.com/api/v1/
POST
merchants/saved-pick-up-addresses
Create a pick-up location

Request

Header Params

Body Params application/json

Example
{
    "is_fragile": false,
    "ready_to_pick_up": false,
    "fee_customer_payable": null,
    "shipment_fee_type": "BY_MERCHANT",
    "payment_type": "COLLECT_ON_DELIVERY",
    "pick_up_type": "PICK_UP",
    "description": "T-shirt and Mug from Acme Store",
    "custom_id": null, // Optional
    "products": [
        {
            "title": "T-Shirt",
            "price": 1500,
            "quantity": 1
        },
        {
            "title": "Mug",
            "price": 2000,
            "quantity": 2
        }
    ],
    "saved_pick_up_address_uid": "01JG1N4R1BCEN1V5NKRBP6YEY5", // Optional
    "size": "M", // Options: S, M, L
    "contact": { 
        "full_name": "John Doe",
        "address_text": "Baghdad, City Center",
        "phone": "9647835998521",
        "secondary_phone": null, // Optional
        "email": "johndoe@example.com",
        "region_name": "الشعب",
        "province_code": "BGD"
    }
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.tryboxy.com/api/v1/merchants/saved-pick-up-addresses' \
--header 'api-key: ' \
--header 'api-secret: ' \
--header 'Content-Type: application/json' \
--data-raw '{
    "is_fragile": false,
    "ready_to_pick_up": false,
    "fee_customer_payable": null,
    "shipment_fee_type": "BY_MERCHANT",
    "payment_type": "COLLECT_ON_DELIVERY",
    "pick_up_type": "PICK_UP",
    "description": "T-shirt and Mug from Acme Store",
    "custom_id": null, // Optional
    "products": [
        {
            "title": "T-Shirt",
            "price": 1500,
            "quantity": 1
        },
        {
            "title": "Mug",
            "price": 2000,
            "quantity": 2
        }
    ],
    "saved_pick_up_address_uid": "01JG1N4R1BCEN1V5NKRBP6YEY5", // Optional
    "size": "M", // Options: S, M, L
    "contact": { 
        "full_name": "John Doe",
        "address_text": "Baghdad, City Center",
        "phone": "9647835998521",
        "secondary_phone": null, // Optional
        "email": "johndoe@example.com",
        "region_name": "الشعب",
        "province_code": "BGD"
    }
}'

Responses

🟢200Success
application/json
Body

Example
{
    "status": "success",
    "code": 200,
    "message": "Successfully done.",
    "object": {
        "full_name": "John Doe",
        "phone": "9641111111111",
        "address_text": "Karada Street, Baghdad, Baghdad Governorate, Iraq",
        "type": "WAREHOUSE",
        "lng": "33.291227",
        "lat": "44.390452",
        "email": "info@example.com",
        "default": true,
        "description": "Main Warehouse",
        "title": "Main Warehouse",
        "platform_code": "BXSPUA-253585286",
        "uid": "01JKBDVCJPZ69RTC5ENGRXM6SN",
        "updated_at": "2025-02-05T16:07:20+00:00",
        "created_at": "2025-02-05T16:07:20+00:00"
    }
}
Modified at 2025-02-06 13:32:23
Previous
Cancel Bulk Pick-ups
Next
List Pick-up Locations
Built with