Skip to content

Designed
Share a packaging system

Request

Shares the system with the companies listed, together with its components. Additive: companies it is already shared with stay. Sharing with a company it is already shared with changes nothing (204). Owner company only.

Security
oauth2(Required scopes: t1_api)
Path
packagingSystemIdstring, (uuid)required
Bodyapplication/jsonrequired
companyIdsArray of strings, (uuid), non-emptyrequired

Companies to share with (from the CUMD public API).

curl -i -X POST \
  'https://apis.traceone.com/spec/v2/library/packaging-systems/{packagingSystemId}/share' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "companyIds": [
      "497f6eca-6276-4993-bfeb-53cbbbba6f08"
    ]
  }'

Responses

The system is shared with the companies listed

Response
No content