curl --request PATCH \
--url https://billing.b5test.eu/api/v1/partners/accounts/{customer_account_uid} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"ends_at": "2030-01-23T15:55:58.000Z"
}
'{
"customer_account_uid": "aabee51b-0be2-4a0c-aa39-5bbcbb903d1b",
"account_type": "I",
"activation_token": "PNS-DEFG1234",
"domain": "b5test.com",
"status": "provisioned",
"deployed_members": 1,
"created_at": "2023-01-23T15:55:58.000Z",
"updated_at": "2023-01-23T15:58:22.000Z",
"ends_at": "2030-01-23T15:55:58.000Z"
}Partnership API
Update billing account end date
Updates the ends_at attribute of an account based on an UID.
PATCH
/
api
/
v1
/
partners
/
accounts
/
{customer_account_uid}
curl --request PATCH \
--url https://billing.b5test.eu/api/v1/partners/accounts/{customer_account_uid} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"ends_at": "2030-01-23T15:55:58.000Z"
}
'{
"customer_account_uid": "aabee51b-0be2-4a0c-aa39-5bbcbb903d1b",
"account_type": "I",
"activation_token": "PNS-DEFG1234",
"domain": "b5test.com",
"status": "provisioned",
"deployed_members": 1,
"created_at": "2023-01-23T15:55:58.000Z",
"updated_at": "2023-01-23T15:58:22.000Z",
"ends_at": "2030-01-23T15:55:58.000Z"
}Authorizations
Body
application/json
Request to update the ends_at attribute of a partner account.
Response
An Account object is returned upon successful update of a partner account.
The activation token is a coupon code to link a new or existing 1Password account to a partnership promotion. For example, it can be used for 1Password account creation at https://start.{{1password_domain}}/partnership/redeem?t={{account_type}}&c={{activation_token}} during end-user signup.
Was this page helpful?