POST
/
v5
/
app
/
app_connections

Authorizations

Authorization
string
headerrequired

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

Body

application/json
resource_id
string
required

The ID of the polymorphic resource for the connection. Ex. a product ID like prod_*************.

resource_type
enum<string>
required

The type of the polymorphic resource for the connection. Ex. 'product'

Available options:
product
view_type
enum<string>
required

The type of view for the connection.

Available options:
customer_before_checkout_view

Response

201 - application/json
id
string
required

The ID of the app connection, which will look like apco_*************

created_at
number
required

The date the billing usage was created as a unix timestamp.

company_id
string
required

The ID of the company, which will look like biz_*************

app_id
string
required

The ID of the app, which will look like app_*************

resource_id
string
required

The ID of the polymorphic resource for the connection. Ex. a product ID like prod_*************.

resource_type
enum<string>
required

The type of the polymorphic resource for the connection. Ex. 'product'

Available options:
product
view_type
enum<string>
required

The type of view for the connection.

Available options:
customer_before_checkout_view