Admin
Record publisher agreement
Record that a publisher has signed the publisher agreement.
post/admin/publishers/{team_id}/agreement
Request
- Base URL: https://api.presscart.com (the document declares no server; this is the origin it was published from)
- URL: https://api.presscart.com/admin/publishers/{team_id}/agreement
- Auth: HTTP bearer
Path parameters
team_idstring uuid required
Example:47221566-bf8f-43b6-9cda-8fae9643fda5
Request body
Example request
{
"agreement_document": "agreements/publisher-agreement-2024-01-15.pdf"
}Response
Agreement recorded successfully
Example response
{
"name": "Team A",
"slug": "team-a-5500b34370e9",
"referral_code": "TEAM-ABC123",
"stripe_customer_id": "cus_ABc241X",
"team_type_id": "123e4567-e89b-12d3-a456-426614174000",
"hubspot_company_id": "123456789",
"pro_pricing_enabled": true,
"contact_email": "contact@team.com",
"billing_email": "billing@team.com"
}Changes
No recorded changes to this operation across all 2 revisions of this API.