Skip to content

Update arm

Request

This endpoint updates an arm.

Security
Bearer
Path
companyIdstring, (uuid)required

Identifier for company.

Example:4974a66b-7493-4f41-908c-58ba81093947
customFieldIdstring, (uuid)required

Identifier for custom field.

Example:4974a66b-7493-4f41-908c-58ba81093947
armIdstring, (uuid)required

Identifier for arm.

Example:4974a66b-7493-4f41-908c-58ba81093947
Bodyapplication/jsonrequired
idstring, (uuid)

Arm id.

namestringrequired

Name of the arm.

Example:"US Employee"
audiencesArray of objects(Audience)
Default:[]
actionobject(Action)required
curl -i -X PUT \
  https://api-ext-sboxmeta.partners.spotnana.com/v3/companies/4974a66b-7493-4f41-908c-58ba81093947/custom-fields/4974a66b-7493-4f41-908c-58ba81093947/arms/4974a66b-7493-4f41-908c-58ba81093947 \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "name": "US Employee",
    "audiences": [],
    "action": {
      "type": "AUTO",
      "hidden": true,
      "description": "Lower fare declined",
      "name": "LD",
      "additionalInfos": []
    }
  }'

Responses

Updated Successfully

Response
No content