Skip to main content
POST
/
api
/
rooms
/
{roomCode}
/
orders
Attach an order
curl --request POST \
  --url https://signsealship.com/api/rooms/{roomCode}/orders \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "orderCode": "the-orders-public-code",
  "label": "Seller deed package"
}
'
const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({orderCode: 'the-orders-public-code', label: 'Seller deed package'})
};

fetch('https://signsealship.com/api/rooms/{roomCode}/orders', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
import requests

url = "https://signsealship.com/api/rooms/{roomCode}/orders"

payload = {
"orderCode": "the-orders-public-code",
"label": "Seller deed package"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)
{
  "ok": true,
  "alreadyAttached": true
}
{
"error": "<string>"
}
{
"error": "A valid partner API key is required."
}
{
"error": "<string>"
}

Authorizations

Authorization
string
header
required

Partner API key. Send as Authorization: Bearer sss_pk_....

Path Parameters

roomCode
string
required

The room's bearer code (40 lowercase hex characters; the read endpoint accepts 24–64).

Body

application/json
orderCode
string
required

The order's public code.

Required string length: 24 - 64
label
string

A display label for the document card.

Response

Attached (or already attached).

ok
boolean
alreadyAttached
boolean