Skip to main content
POST
/
2025-09
/
units
/
overlock
Overlock Units by Contact
curl --request POST \
  --url https://public-api.stora.co/2025-09/units/overlock \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "contact_id": "con_0ac0514ed0711462"
}
'
{
  "success": {
    "message": "2 customer units were successfully overlocked."
  },
  "meta": {
    "request_id": "01563646-58c1-4607-8fe0-cae3e92c4477",
    "unit_ids": [
      "unit_1e36123098e22cf8",
      "unit_2e36123098e22cf8"
    ],
    "curies": [
      {
        "name": "bo",
        "href": "https://app.stora.test{rel}",
        "templated": true,
        "title": "Backoffice"
      },
      {
        "name": "sf",
        "href": "https://acme.stora.test{rel}",
        "templated": true,
        "title": "Storefront"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer Token necessary to use API

Body

application/json

Overlock Units Request

contact_id
string
required

The contact ID to overlock occupied units for

Response

units overlocked successfully

Unit Overlock Success Response

success
object
meta
object