POST
/
registrations
/
{id}
curl --request POST \
  --url https://base_url/api/v1/registrations/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "registered_at": "2023-12-25",
  "country_options": {
    "US": {
      "state": "CA",
      "legal_name": "Example Inc.",
      "state_options": {
        "CA": {
          "payment_interval": "ANNUAL_CALENDAR_YEAR",
          "sales_tax_id": "<string>",
          "username": "<string>",
          "password": "<string>",
          "pin": "<string>",
          "web_file_number": "<string>"
        }
      }
    }
  }
}'
{
  "message": "Successfully updated registration."
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

The unique identifier of the registration to update.

Body

application/json
registered_at
string

ISO 8601 date only string, identifying the date when the state registration occurred.

country_options
object

Response

200
application/json
Sales tax registration response
message
string
Example:

"Successfully updated registration."