MENU navbar-image

Introduction

Binated Prolink API Documentation

This documentation aims to provide all the information you need to work with our API.

Base URL

https://binated.com

Authenticating requests

This API is authenticated by sending an Authorization header with the value "Bearer {YOUR_AUTH_KEY}".

All authenticated endpoints are marked with a requires authentication badge in the documentation below.

You can retrieve your token by visiting your dashboard and clicking Generate API token.

Endpoints

Display a listing of the resource.

requires authentication

Example request:
curl --request GET \
    --get "https://binated.com/api/orders" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://binated.com/api/orders"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://binated.com/api/orders',
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/orders

POST api/orders

requires authentication

Example request:
curl --request POST \
    "https://binated.com/api/orders" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json" \
    --data "{
    \"decoration\": \"voluptates\",
    \"priority\": \"et\",
    \"description\": \"quis\",
    \"reference\": \"animi\",
    \"colors\": \"tempora\",
    \"background_color\": \"maxime\",
    \"height\": \"in\",
    \"width\": \"vitae\",
    \"placement\": \"quo\",
    \"process_type\": \"qui\",
    \"art_type\": \"quia\",
    \"product_sku\": \"est\",
    \"product_vendor\": \"quod\",
    \"cap\": true,
    \"sewout_logo_recreation\": true,
    \"output_file_format\": \"ipsa\",
    \"instructions\": \"sit\",
    \"media\": \"illo\",
    \"color_code\": \"qui\",
    \"style_master\": \"est\"
}"
const url = new URL(
    "https://binated.com/api/orders"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

let body = {
    "decoration": "voluptates",
    "priority": "et",
    "description": "quis",
    "reference": "animi",
    "colors": "tempora",
    "background_color": "maxime",
    "height": "in",
    "width": "vitae",
    "placement": "quo",
    "process_type": "qui",
    "art_type": "quia",
    "product_sku": "est",
    "product_vendor": "quod",
    "cap": true,
    "sewout_logo_recreation": true,
    "output_file_format": "ipsa",
    "instructions": "sit",
    "media": "illo",
    "color_code": "qui",
    "style_master": "est"
};

fetch(url, {
    method: "POST",
    headers,
    body: JSON.stringify(body),
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$response = $client->post(
    'https://binated.com/api/orders',
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
        'json' => [
            'decoration' => 'voluptates',
            'priority' => 'et',
            'description' => 'quis',
            'reference' => 'animi',
            'colors' => 'tempora',
            'background_color' => 'maxime',
            'height' => 'in',
            'width' => 'vitae',
            'placement' => 'quo',
            'process_type' => 'qui',
            'art_type' => 'quia',
            'product_sku' => 'est',
            'product_vendor' => 'quod',
            'cap' => true,
            'sewout_logo_recreation' => true,
            'output_file_format' => 'ipsa',
            'instructions' => 'sit',
            'media' => 'illo',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

POST api/orders

Body Parameters

decoration  string  

The decoration type of the order. Values: Vector Art, Digitizing

priority  string  

The priority of the order. Values: Same Day, Next Day

description  string  

The description of the order.

reference  string  

The reference/po of the order.

colors  string optional  

Colors for the design or the Imprint color.

background_color  string optional  

Background Color for the design or the color of the Product.

height  string optional  

Height of the design or Imprint.

width  string optional  

Width of the design or Imprint.

placement  string optional  

Decoration Location of the design

process_type  string optional  

Process Type of the design or the Imprint Method. Values: Screen Print, Direct Embroidery

art_type  string optional  

Art Type of the design. Values: New Art, Revision

product_sku  string optional  

Product Link or Product Code. The link to the Product or the Product Code.

product_vendor  string optional  

The Product Vendor Code or Id. The id or code of the Vendor who supplies the Product.

cap  boolean optional  

Is this design for a cap?.

sewout_logo_recreation  boolean optional  

Is a sewout required?.

output_file_format  string optional  

Output file formats the files are required.

instructions  string optional  

Instructions for the order.

media  string optional  

Files for the order. Files from either HTTP or HTTPS urls are accepted. Seperate multiple files by comma.

color_code  string optional  

Imprint Location of the design.

Display the specified resource.

requires authentication

Example request:
curl --request GET \
    --get "https://binated.com/api/orders/illum" \
    --header "Authorization: Bearer {YOUR_AUTH_KEY}" \
    --header "Content-Type: application/json" \
    --header "Accept: application/json"
const url = new URL(
    "https://binated.com/api/orders/illum"
);

const headers = {
    "Authorization": "Bearer {YOUR_AUTH_KEY}",
    "Content-Type": "application/json",
    "Accept": "application/json",
};

fetch(url, {
    method: "GET",
    headers,
}).then(response => response.json());
$client = new \GuzzleHttp\Client();
$response = $client->get(
    'https://binated.com/api/orders/illum',
    [
        'headers' => [
            'Authorization' => 'Bearer {YOUR_AUTH_KEY}',
            'Content-Type' => 'application/json',
            'Accept' => 'application/json',
        ],
    ]
);
$body = $response->getBody();
print_r(json_decode((string) $body));

Example response (401):

Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
 

{
    "message": "Unauthenticated."
}
 

Request      

GET api/orders/{id}

URL Parameters

id  string  

The ID of the order.