Skip to main content
PATCH
/
v1
/
organizations
/
{organization}
/
rates
/
{id}
Update Rate
curl --request PATCH \
  --url https://api.aspect-dev.systems/v1/organizations/{organization}/rates/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "partner_price": 1000
}
'
{
  "data": {
    "id": "<string>",
    "type": "rates",
    "attributes": {
      "id": "<string>",
      "offering_id": "<string>",
      "offering_type": "ticket",
      "offering_name": "<string>",
      "base_price": 123,
      "adjusted_price": 123,
      "partner_price": 123
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

organization
string
required
id
string
required

Body

application/json
partner_price
integer | null
required

The partner price for this rate, in cents.

Required range: x >= 0
Example:

1000

Response

SlotRateResource

data
SlotRateResource · object
required