PartnerStack
App · 20 actions
Work with partner program applications, partnerships, leads, deals and transactions.
Actions
| Action | What it does |
|---|---|
| Create a customer | Create a customer. |
| Create a partnership | Create a partnership. |
| List all actions | List all actions. |
| List all customers | List all customers. |
| List all deals | List all deals. |
| List all groups | List all groups. |
| List all leads | List all leads. |
| List all partnerships | List all partnerships. |
| List all rewards | List all rewards. |
| List all transactions | List all transactions. |
| List all webhooks | List all webhooks. |
| List Applications | List Applications. |
| Retrieve a customer | Retrieve a customer. |
| Retrieve a deal | Retrieve a deal. |
| Retrieve a lead | Retrieve a lead. |
| Retrieve a paginated list of products | Retrieve a paginated list of products. |
| Retrieve a partnership | Retrieve a partnership. |
| Retrieve a webhook | Retrieve a webhook. |
| Retrieve all product books for the company | Retrieve all product books for the company. |
| Retrieve details of a Product | Retrieve details of a Product. |
Create a customer
Create a customer.
Inputs
- Customer key
customer_keytextRequired - External customer key that can be configured on creation.
- Email
emailtextRequired - The customers email, must be a valid email
- Name
nametext - Should be either the customer's name, or the company name
- Provider key
provider_keytext - A unique identifier given by a payment provider (Stripe, Recurly, Chargebee etc)
- Partner key
partner_keytextRequired - The key of the partner that is responsible for the customer **(note: `partner_key` must belong to a partner in your program)**.
Outputs
dataobject- The response from PartnerStack.
Example output
{
"data": {
"data": {
"created_at": 1,
"customer_key": "example",
"email": "example",
"field_data": {},
"fields": [
{
"api_name": {},
"description": {},
"external_type": {},
"field_key": {},
"help_text": {},
"hidden": {},
"internal_name": {},
"name": {},
"options": {},
"placeholder_text": {},
"position": {},
"read_only": {},
"required": {},
"type": {},
"value": {}
}
],
"key": "example",
"mdata": {},
"meta": {},
"name": "example",
"partner_key": "example",
"partnership_key": "example",
"provider_key": "example",
"shared_id": "example",
"source_key": "example",
"source_type": "example",
"submitted_by": "example",
"submitted_by_email": "example",
"submitted_by_photo_url": "example",
"team": {
"color": "example",
"logo": "example",
"member_count": 1,
"name": "example"
},
"test": true,
"updated_at": 1
},
"message": "example",
"status": 1
}
}Create a partnership
Create a partnership.
Inputs
- Email
emailtextRequired - The email of the partner.
- First name
first_nametext - The first name of the partner.
- Last name
last_nametext - The last name of the partner.
- Partner key
partner_keytext - The `partner_key` you wish to use for this partner. If included, **must** be unique to this partner. For more information on `partner_key` see PartnerStackJS. Note that the partner_key can only consist of letters, numbers, and underscores.
- Group key
group_keytext - The key of the group within PartnerStack that you want this partner to be placed into.
Outputs
dataobject- The response from PartnerStack.
Example output
{
"data": {
"data": {
"claimed": true,
"claimed_at": 1,
"created_at": 1,
"email": "example",
"field_data": {},
"fields": [
{
"api_name": {},
"description": {},
"external_type": {},
"field_key": {},
"help_text": {},
"hidden": {},
"internal_name": {},
"name": {},
"options": {},
"placeholder_text": {},
"position": {},
"read_only": {},
"required": {},
"type": {},
"value": {}
}
],
"first_name": "example",
"fraud_flagged": true,
"group": {
"archived": true,
"created_at": 1,
"default": true,
"features": {},
"is_widget_group": true,
"key": "example",
"name": "example",
"slug": "example",
"updated_at": 1
},
"group_join_date": 1,
"key": "example",
"last_name": "example",
"manager_email": "example",
"manager_name": "example",
"meta": {},
"partner_key": "example",
"program_join_date": 1,
"tags": [
"example"
],
"tier": {
"key": "example",
"name": "example"
},
"updated_at": 1
},
"message": "example",
"status": 1
}
}List all actions
List all actions.
Inputs
- Partnership key
partnership_keytext - Partnership key in which the results are filtered by.
- Customer key
customer_keytext - Customer key in which the results are filtered by
- Order by
order_bytext - The field in which the results are ordered by. A `-` prefix denotes that the results are in descending order.One of:
-created_at(-created at),created_at(Created at),-updated_at(-updated at),updated_at(Updated at). - Limit
limitnumber - A limit on the number of items to be returned. Limits can range between 1 and 250, and the default is 10.From 1 to 250.
- Starting after
starting_aftertext - A cursor for use in pagination, `starting_after` takes in an item key and the subsequent call will return the following items in the list. This is mutually exclusive with `ending_before`.
- Ending before
ending_beforetext - A cursor for use in pagination, `ending_before` takes in an item key and the subsequent call will return the prior items in the list. This is mutually exclusive with `starting_after`.
Outputs
dataobject- The response from PartnerStack.
Example output
{
"data": {
"data": {
"has_more": true,
"items": [
{
"archived": {},
"company": {},
"created_at": {},
"customer": {},
"key": {},
"partnership_key": {},
"type": {},
"updated_at": {},
"value": {}
}
],
"total": 1
},
"message": "example",
"status": 1
}
}List all customers
List all customers.
Inputs
- Partner key
partner_keytext - Will filter to a specific partnership's `partner_key`, which can be found using the partnership's get endpoint or from the partnership view in your PartnerStack dashboard. Please provide either the partner_key or partnership_key if you would like to filter by partnership.
- Partnership key
partnership_keytext - Partnership key in which the results are filtered by. Please provide either the partner_key or partnership_key if you would like to filter by partnership.
- Group
grouptext - Will filter for partnerships who are in a group with the specified name. Name must have spaces and special characters removed.
- Customer key
customer_keylist - Customer keys in which the results are filtered by
- Limit
limitnumber - A limit on the number of items to be returned. Limits can range between 1 and 250, and the default is 10.From 1 to 250.
- Starting after
starting_aftertext - A cursor for use in pagination, `starting_after` takes in an item key and the subsequent call will return the following items in the list. This is mutually exclusive with `ending_before`.
- Ending before
ending_beforetext - A cursor for use in pagination, `ending_before` takes in an item key and the subsequent call will return the prior items in the list. This is mutually exclusive with `starting_after`.
Outputs
dataobject- The response from PartnerStack.
Example output
{
"data": {
"data": {
"has_more": true,
"items": [
{
"created_at": {},
"customer_key": {},
"email": {},
"field_data": {},
"fields": {},
"key": {},
"mdata": {},
"meta": {},
"name": {},
"partner_key": {},
"partnership_key": {},
"provider_key": {},
"shared_id": {},
"source_key": {},
"source_type": {},
"submitted_by": {},
"submitted_by_email": {},
"submitted_by_photo_url": {},
"team": {},
"test": {},
"updated_at": {}
}
],
"total": 1
},
"message": "example",
"status": 1
}
}List all deals
List all deals.
Inputs
- Group
grouptext - Will filter for partnerships who are in a group with the specified name. Name must have spaces and special characters removed.
- Partner key
partner_keytext - Will filter to a specific partnership's `partner_key`, which can be found using the partnership's get endpoint or from the partnership view in your PartnerStack dashboard.
- Customer key
customer_keylist - Customer keys in which the results are filtered by
- Limit
limitnumber - A limit on the number of items to be returned. Limits can range between 1 and 250, and the default is 10.From 1 to 250.
- Starting after
starting_aftertext - A cursor for use in pagination, `starting_after` takes in an item key and the subsequent call will return the following items in the list. This is mutually exclusive with `ending_before`.
- Ending before
ending_beforetext - A cursor for use in pagination, `ending_before` takes in an item key and the subsequent call will return the prior items in the list. This is mutually exclusive with `starting_after`.
Outputs
dataobject- The response from PartnerStack.
Example output
{
"data": {
"data": {
"has_more": true,
"items": [
{
"account_name": {},
"amount": {},
"close_date": {},
"contact_first_name": {},
"contact_last_name": {},
"created_at": {},
"customer_key": {},
"external_key": {},
"field_data": {},
"fields": {},
"group_key": {},
"key": {},
"lost_reason": {},
"meta": {},
"mold_key": {},
"partner_key": {},
"source": {},
"stage": {},
"team": {},
"team_member": {},
"updated_at": {}
}
],
"total": 1
},
"message": "example",
"status": 1
}
}List all groups
List all groups.
Inputs
- Limit
limitnumber - A limit on the number of items to be returned. Limits can range between 1 and 250, and the default is 10.From 1 to 250.
- Starting after
starting_aftertext - A cursor for use in pagination, `starting_after` takes in an item key and the subsequent call will return the following items in the list. This is mutually exclusive with `ending_before`.
- Ending before
ending_beforetext - A cursor for use in pagination, `ending_before` takes in an item key and the subsequent call will return the prior items in the list. This is mutually exclusive with `starting_after`.
Outputs
dataobject- The response from PartnerStack.
Example output
{
"data": {
"data": {
"has_more": true,
"items": [
{
"archived": {},
"created_at": {},
"default": {},
"features": {},
"is_widget_group": {},
"key": {},
"name": {},
"slug": {},
"updated_at": {}
}
]
},
"message": "example",
"status": 1
}
}List all leads
List all leads.
Inputs
- Group
grouptext - Will filter for partnerships who are in a group with the specified name. Name must have spaces and special characters removed.
- Partner key
partner_keytext - Will filter to a specific partnership's `partner_key`, which can be found using the partnership's get endpoint or from the partnership view in your PartnerStack dashboard.
- Limit
limitnumber - A limit on the number of items to be returned. Limits can range between 1 and 250, and the default is 10.From 1 to 250.
- Starting after
starting_aftertext - A cursor for use in pagination, `starting_after` takes in an item key and the subsequent call will return the following items in the list. This is mutually exclusive with `ending_before`.
- Ending before
ending_beforetext - A cursor for use in pagination, `ending_before` takes in an item key and the subsequent call will return the prior items in the list. This is mutually exclusive with `starting_after`.
Outputs
dataobject- The response from PartnerStack.
Example output
{
"data": {
"data": {
"has_more": true,
"items": [
{
"amount": {},
"approved": {},
"created_at": {},
"customer_key": {},
"external_key": {},
"field_data": {},
"fields": {},
"group_key": {},
"key": {},
"meta": {},
"mold_key": {},
"partner_key": {},
"stage_data": {},
"status": {},
"team": {},
"team_member": {},
"updated_at": {}
}
],
"total": 1
},
"message": "example",
"status": 1
}
}List all partnerships
List all partnerships.
Inputs
- Group
grouptext - Will filter for partnerships who are in a group with the specified name. Name must have spaces and special characters removed.
- Order by
order_bytext - The field in which the results are ordered by. A `-` prefix denotes that the results are in descending order.One of:
-created_at(-created at),created_at(Created at),-updated_at(-updated at),updated_at(Updated at). - Email
emailtext - The email of the user with the partnership you're looking for.
- Partnership key
partnership_keytext - Partnership key in which the results are filtered by.
- Limit
limitnumber - A limit on the number of items to be returned. Limits can range between 1 and 250, and the default is 10.From 1 to 250.
- Starting after
starting_aftertext - A cursor for use in pagination, `starting_after` takes in an item key and the subsequent call will return the following items in the list. This is mutually exclusive with `ending_before`.
- Ending before
ending_beforetext - A cursor for use in pagination, `ending_before` takes in an item key and the subsequent call will return the prior items in the list. This is mutually exclusive with `starting_after`.
Outputs
dataobject- The response from PartnerStack.
Example output
{
"data": {
"data": {
"has_more": true,
"items": [
{
"address": {},
"approved_status": {},
"claimed": {},
"created_at": {},
"email": {},
"first_name": {},
"fraud_flagged": {},
"group": {},
"group_join_date": {},
"is_archived": {},
"joined_at": {},
"key": {},
"last_name": {},
"manager": {},
"mdata": {},
"parent_partnership_key": {},
"partner_key": {},
"partnership_source": {},
"program_join_date": {},
"stats": {},
"tags": {},
"team": {},
"updated_at": {}
}
],
"total": 1
},
"message": "example",
"status": 1
}
}List all rewards
List all rewards.
Inputs
- Partnership key
partnership_keytext - Partnership key in which the results are filtered by.
- Order by
order_bytext - The field in which the results are ordered by. A `-` prefix denotes that the results are in descending order.One of:
-created_at(-created at),created_at(Created at),-amount,amount,-ready_at(-ready at),ready_at(Ready at). - Group key
group_keytext - Group key in which the results are filtered by
- Customer key
customer_keytext - PartnerStack internal customer key (`cus_*`) in which the results are filtered by
- Customer external key
customer_external_keytext - Customer external key in which the results are filtered by
- Status
statustext - The status of the rewards
- Limit
limitnumber - A limit on the number of items to be returned. Limits can range between 1 and 250, and the default is 10.From 1 to 250.
- Starting after
starting_aftertext - A cursor for use in pagination, `starting_after` takes in an item key and the subsequent call will return the following items in the list. This is mutually exclusive with `ending_before`.
- Ending before
ending_beforetext - A cursor for use in pagination, `ending_before` takes in an item key and the subsequent call will return the prior items in the list. This is mutually exclusive with `starting_after`.
Outputs
dataobject- The response from PartnerStack.
Example output
{
"data": {
"data": {
"has_more": true,
"items": [
{
"action": {},
"amount": {},
"created_at": {},
"created_by": {},
"created_by_name": {},
"creation_source": {},
"currency": {},
"customer": {},
"decline_reason": {},
"description": {},
"drip": {},
"invoice": {},
"key": {},
"line": {},
"offer": {},
"partnership": {},
"reward_status": {},
"transaction": {},
"trigger": {},
"updated_at": {}
}
],
"total": 1
},
"message": "example",
"status": 1
}
}List all transactions
List all transactions.
Inputs
- Customer key
customer_keytext - Key of customer who made the transaction.
- Customer external key
customer_external_keytext - An external key that can be used to reference the customer. This is the same as the `customer_key` value used when creating the customer with PartnerStackJS.
- Customer email
customer_emailtext - Customer's email address.
- Limit
limitnumber - A limit on the number of items to be returned. Limits can range between 1 and 250, and the default is 10.From 1 to 250.
- Starting after
starting_aftertext - A cursor for use in pagination, `starting_after` takes in an item key and the subsequent call will return the following items in the list. This is mutually exclusive with `ending_before`.
- Ending before
ending_beforetext - A cursor for use in pagination, `ending_before` takes in an item key and the subsequent call will return the prior items in the list. This is mutually exclusive with `starting_after`.
Outputs
dataobject- The response from PartnerStack.
Example output
{
"data": {
"data": {
"has_more": true,
"items": [
{
"amount": {},
"amount_usd": {},
"approved": {},
"archived": {},
"category_key": {},
"created_at": {},
"currency": {},
"customer": {},
"customer_key": {},
"extension": {},
"key": {},
"metadata": {},
"product_key": {},
"test": {},
"updated_at": {}
}
],
"total": 1
},
"message": "example",
"status": 1
}
}List all webhooks
List all webhooks.
Inputs
- Limit
limitnumber - A limit on the number of items to be returned. Limits can range between 1 and 250, and the default is 10.From 1 to 250.
- Starting after
starting_aftertext - A cursor for use in pagination, `starting_after` takes in an item key and the subsequent call will return the following items in the list. This is mutually exclusive with `ending_before`.
- Ending before
ending_beforetext - A cursor for use in pagination, `ending_before` takes in an item key and the subsequent call will return the prior items in the list. This is mutually exclusive with `starting_after`.
Outputs
dataobject- The response from PartnerStack.
Example output
{
"data": {
"data": {
"has_more": true,
"items": [
{
"created_at": {},
"events": {},
"key": {},
"target_url": {},
"updated_at": {}
}
]
},
"message": "example",
"status": 1
}
}List Applications
List Applications.
Inputs
- Status
statustext - Comma-separated list of statuses to filter by. Accepted values: `pending`, `approved`, `declined`, `flagged`. `flagged` matches applications from partnerships flagged for fraudulent activity and may be combined with other values (e.g. `pending,flagged`). Omit to return applications of all statuses.
- Email
emailtext - Filter by applicant email address (case-insensitive, substring match).
- Group key
group_keylist - Group keys in which the results are filtered by
- Order by
order_bytext - Field to sort results by. A leading `-` denotes descending order. Defaults to `-created_at`.One of:
-created_at(-created at),created_at(Created at). - Limit
limitnumber - A limit on the number of items to be returned. Limits can range between 1 and 250, and the default is 10.From 1 to 250.
- Starting after
starting_aftertext - A cursor for use in pagination, `starting_after` takes in an item key and the subsequent call will return the following items in the list. This is mutually exclusive with `ending_before`.
- Ending before
ending_beforetext - A cursor for use in pagination, `ending_before` takes in an item key and the subsequent call will return the prior items in the list. This is mutually exclusive with `starting_after`.
Outputs
dataobject- The response from PartnerStack.
Example output
{
"data": {
"data": {
"has_more": true,
"items": [
{
"actioned_by": {},
"approved": {},
"content": {},
"created_at": {},
"decline_reason": {},
"flagged": {},
"group_name": {},
"key": {},
"partnership_source": {},
"team_color": {},
"team_key": {},
"team_logo": {},
"team_name": {},
"updated_at": {},
"with_profile": {}
}
],
"total": 1
},
"message": "example",
"status": 1
}
}Retrieve a customer
Retrieve a customer.
Inputs
- Customer key
customer_keytextRequired - Unique identifier for customers. This is the same as the `customer_key` that can be assigned using PartnerStackJS.
Outputs
dataobject- The response from PartnerStack.
Example output
{
"data": {
"data": {
"created_at": 1,
"customer_key": "example",
"email": "example",
"field_data": {},
"fields": [
{
"api_name": {},
"description": {},
"external_type": {},
"field_key": {},
"help_text": {},
"hidden": {},
"internal_name": {},
"name": {},
"options": {},
"placeholder_text": {},
"position": {},
"read_only": {},
"required": {},
"type": {},
"value": {}
}
],
"key": "example",
"mdata": {},
"meta": {},
"name": "example",
"partner_key": "example",
"partnership_key": "example",
"provider_key": "example",
"shared_id": "example",
"source_key": "example",
"source_type": "example",
"submitted_by": "example",
"submitted_by_email": "example",
"submitted_by_photo_url": "example",
"team": {
"color": "example",
"logo": "example",
"member_count": 1,
"name": "example"
},
"test": true,
"updated_at": 1
},
"message": "example",
"status": 1
}
}Retrieve a deal
Retrieve a deal.
Inputs
- Deal key
deal_keytextRequired - Unique identifier of deal. Can be `external_key`, if one configured for deal.
Outputs
dataobject- The response from PartnerStack.
Example output
{
"data": {
"data": {
"account_name": "example",
"amount": 1,
"close_date": "example",
"contact_first_name": "example",
"contact_last_name": "example",
"created_at": 1,
"customer_key": "example",
"external_key": "example",
"field_data": {},
"fields": [
{
"api_name": {},
"description": {},
"external_type": {},
"field_key": {},
"help_text": {},
"hidden": {},
"internal_name": {},
"name": {},
"options": {},
"placeholder_text": {},
"position": {},
"read_only": {},
"required": {},
"type": {},
"value": {}
}
],
"group_key": "example",
"key": "example",
"lost_reason": "example",
"meta": {},
"mold_key": "example",
"partner_key": "example",
"source": "partner",
"stage": "example",
"team": {
"created_at": 1,
"key": "example",
"name": "example",
"updated_at": 1
},
"team_member": {
"created_at": 1,
"email": "example",
"first_name": "example",
"key": "example",
"last_name": "example",
"personal_stack_key": "example",
"updated_at": 1
},
"updated_at": 1
},
"message": "example",
"status": 1
}
}Retrieve a lead
Retrieve a lead.
Inputs
- Lead key
lead_keytextRequired - A unique key that identifies this lead. Can be either the lead's `external_key` or `key` value.
Outputs
dataobject- The response from PartnerStack.
Example output
{
"data": {
"data": {
"amount": 1,
"approved": true,
"created_at": 1,
"customer_key": "example",
"external_key": "example",
"field_data": {},
"fields": [
{
"api_name": {},
"description": {},
"external_type": {},
"field_key": {},
"help_text": {},
"hidden": {},
"internal_name": {},
"name": {},
"options": {},
"placeholder_text": {},
"position": {},
"read_only": {},
"required": {},
"type": {},
"value": {}
}
],
"group_key": "example",
"key": "example",
"meta": {
"company": "example",
"email": "example",
"first_name": "example",
"last_name": "example"
},
"mold_key": "example",
"partner_key": "example",
"stage_data": {
"api_name": "example",
"description": "example",
"internal_status": "example",
"key": "example",
"name": "example"
},
"status": "open",
"team": {
"created_at": 1,
"key": "example",
"name": "example",
"updated_at": 1
},
"team_member": {
"created_at": 1,
"email": "example",
"first_name": "example",
"key": "example",
"last_name": "example",
"personal_stack_key": "example",
"updated_at": 1
},
"updated_at": 1
},
"message": "example",
"status": 1
}
}Retrieve a paginated list of products
Retrieve a paginated list of products.
Inputs
- Customer key
customer_keytext - The customer to fetch products for
- Order by
order_bytext - The field in which the results are ordered byOne of:
-created_at(-created at),created_at(Created at),-updated_at(-updated at),updated_at(Updated at). - Limit
limitnumber - A limit on the number of items to be returned. Limits can range between 1 and 250, and the default is 10.From 1 to 250.
- Starting after
starting_aftertext - A cursor for use in pagination, `starting_after` takes in an item key and the subsequent call will return the following items in the list. This is mutually exclusive with `ending_before`.
- Ending before
ending_beforetext - A cursor for use in pagination, `ending_before` takes in an item key and the subsequent call will return the prior items in the list. This is mutually exclusive with `starting_after`.
Outputs
dataobject- The response from PartnerStack.
Example output
{
"data": {
"data": {
"has_more": true,
"items": [
{
"amount": {},
"click_xid": {},
"company_id": {},
"created_at": {},
"currency": {},
"customer_key": {},
"external_subscription_key": {},
"field_data": {},
"key": {},
"member_email": {},
"member_logo": {},
"member_name": {},
"metadata": {},
"name": {},
"partner_logo": {},
"partner_name": {},
"partnership_key": {},
"product_book_key": {},
"stack_key": {},
"status": {},
"team_color": {},
"updated_at": {}
}
],
"total": 1
},
"message": "example",
"status": 1
}
}Retrieve a partnership
Retrieve a partnership.
Inputs
- Unique IDentifier
unique_identifiertextRequired - Unique identifier of partnership. Can be `partner_key`, `internal partnership_key` or `email`.
Outputs
dataobject- The response from PartnerStack.
Example output
{
"data": {
"data": {
"address": {
"city": "example",
"country": "example",
"key": "example",
"postal": "example",
"primary": true,
"region": "example",
"state": "example",
"street": "example",
"unit": "example"
},
"approved_status": "example",
"claimed": true,
"claimed_at": 1,
"created_at": 1,
"email": "example",
"field_data": {},
"fields": [
{
"api_name": {},
"description": {},
"external_type": {},
"field_key": {},
"help_text": {},
"hidden": {},
"internal_name": {},
"name": {},
"options": {},
"placeholder_text": {},
"position": {},
"read_only": {},
"required": {},
"type": {},
"value": {}
}
],
"first_name": "example",
"fraud_flagged": true,
"group": {
"archived": true,
"created_at": 1,
"default": true,
"features": {},
"is_widget_group": true,
"key": "example",
"name": "example",
"slug": "example",
"updated_at": 1
},
"group_join_date": 1,
"key": "example",
"last_name": "example",
"manager_email": "example",
"manager_name": "example",
"meta": {},
"parent_partnership_key": "example",
"partner_key": "example",
"program_join_date": 1,
"tags": [
"example"
],
"team": {
"key": "example",
"name": "example",
"network_approval_status": "example"
},
"tier": {
"key": "example",
"name": "example"
},
"updated_at": 1
},
"message": "example",
"status": 1
}
}Retrieve a webhook
Retrieve a webhook.
Inputs
- Webhook key
webhook_keytextRequired - Unique identifier of a webhook.
Outputs
dataobject- The response from PartnerStack.
Example output
{
"data": {
"data": {
"created_at": 1,
"events": [
"agreement.accepted"
],
"key": "example",
"target_url": "example",
"updated_at": 1
},
"message": "example",
"status": 1
}
}Retrieve all product books for the company
Retrieve all product books for the company.
Inputs
- Order by
order_bytext - The field in which the results are ordered byOne of:
-created_at(-created at),created_at(Created at),-name,name. - Limit
limitnumber - A limit on the number of items to be returned. Limits can range between 1 and 250, and the default is 10.From 1 to 250.
- Starting after
starting_aftertext - A cursor for use in pagination, `starting_after` takes in an item key and the subsequent call will return the following items in the list. This is mutually exclusive with `ending_before`.
- Ending before
ending_beforetext - A cursor for use in pagination, `ending_before` takes in an item key and the subsequent call will return the prior items in the list. This is mutually exclusive with `starting_after`.
Outputs
dataobject- The response from PartnerStack.
Example output
{
"data": {
"data": {
"has_more": true,
"items": [
{
"archived": {},
"company_id": {},
"created_at": {},
"description": {},
"external_key": {},
"id": {},
"key": {},
"name": {},
"updated_at": {}
}
],
"total": 1
},
"message": "example",
"status": 1
}
}Retrieve details of a Product
Retrieve details of a Product.
Inputs
- Unique IDentifier
unique_identifiertextRequired - Unique identifier of Product. Can be the internal PartnerStack key (e.g. prod_abc123) or the external subscription key (e.g. Stripe/Chargebee product ID).
Outputs
dataobject- The response from PartnerStack.
Example output
{
"data": {
"data": {
"amount": 1,
"click_xid": "example",
"company_id": 1,
"created_at": 1,
"currency": "example",
"customer_key": "example",
"external_subscription_key": "example",
"field_data": {},
"key": "example",
"member_email": "example",
"member_logo": "example",
"member_name": "example",
"metadata": {},
"name": "example",
"partner_logo": "example",
"partner_name": "example",
"partnership_key": "example",
"product_book_key": "example",
"stack_key": "example",
"status": "example",
"team_color": "example",
"updated_at": 1
},
"message": "example",
"status": 1
}
}