Distributions
Download Specdate_from
string
date-time
date_to
string
date-time
page
int
- Default
- 0
size
int
- Default
- 50
ApiKey
Returns a paginated list of all distribution
Response
Successful Response
{
"items": [
{
"name": "string",
"prod_id": "string",
"meta": {},
"type": null,
"tpp_yaml_id": "string",
"id": "string",
"tpp_id": "string",
"created": "2023-06-07T17:32:28Z",
"updated": "2023-06-07T17:32:28Z"
}
],
"total": 123,
"page": 123,
"size": 123
}
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
No schema
Not found
Empty response
Validation Error
{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}
detail
array[object (ValidationError)]
ValidationError
object (ValidationError)
loc
array[Any Of]
required
Any Of
string
int
msg
string
required
type
string
required
items
array[Any Of]
required
Any Of
TppDistributionJourneyResponse
object (TppDistributionJourneyResponse)
name
string
required
prod_id
string
meta
object (meta)
type
required
tpp_yaml_id
string
required
id
string
required
tpp_id
string
required
created
string
date-time
required
updated
string
date-time
required
TppDistributionAffiliateResponse
object (TppDistributionAffiliateResponse)
name
string
required
prod_id
string
meta
object (meta)
type
required
cpa_amount
int
required
cpa_currency
required
List of available currencies in ISO 4217 https://en.wikipedia.org/wiki/ISO_4217
cp_hint
string
required
affiliate_url
string
required
id
string
required
tpp_id
string
required
created
string
date-time
required
updated
string
date-time
required
total
int
required
page
int
required
size
int
required
Any Of
- Content Type
- application/json
TppDistributionJourneyRequest
object (TppDistributionJourneyRequest)
name
string
required
prod_id
string
meta
object (meta)
type
string
required
- Enum
-
- journey
tpp_yaml_id
string
required
TppDistributionAffiliateRequest
object (TppDistributionAffiliateRequest)
name
string
required
prod_id
string
meta
object (meta)
type
string
required
- Enum
-
- affiliate
cpa_amount
int
required
cpa_currency
required
List of available currencies in ISO 4217 https://en.wikipedia.org/wiki/ISO_4217
cp_hint
string
required
affiliate_url
string
required
ApiKey
Create distribution for each offering.
Request
{
"name": "string",
"prod_id": "string",
"meta": {},
"type": "journey",
"tpp_yaml_id": "string"
}
{
"name": "string",
"prod_id": "string",
"meta": {},
"type": "affiliate",
"cpa_amount": 123,
"cpa_currency": null,
"cp_hint": "string",
"affiliate_url": "string"
}
Response
Successful Response
{
"name": "string",
"prod_id": "string",
"meta": {},
"type": null,
"tpp_yaml_id": "string",
"id": "string",
"tpp_id": "string",
"created": "2023-06-07T17:32:28Z",
"updated": "2023-06-07T17:32:28Z"
}
{
"name": "string",
"prod_id": "string",
"meta": {},
"type": null,
"cpa_amount": 123,
"cpa_currency": null,
"cp_hint": "string",
"affiliate_url": "string",
"id": "string",
"tpp_id": "string",
"created": "2023-06-07T17:32:28Z",
"updated": "2023-06-07T17:32:28Z"
}
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
No schema
Not found
Empty response
Validation Error
{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}
detail
array[object (ValidationError)]
ValidationError
object (ValidationError)
loc
array[Any Of]
required
Any Of
string
int
msg
string
required
type
string
required
Any Of
- Content Type
- application/json
TppDistributionJourneyResponse
object (TppDistributionJourneyResponse)
name
string
required
prod_id
string
meta
object (meta)
type
required
tpp_yaml_id
string
required
id
string
required
tpp_id
string
required
created
string
date-time
required
updated
string
date-time
required
TppDistributionAffiliateResponse
object (TppDistributionAffiliateResponse)
name
string
required
prod_id
string
meta
object (meta)
type
required
cpa_amount
int
required
cpa_currency
required
List of available currencies in ISO 4217 https://en.wikipedia.org/wiki/ISO_4217
cp_hint
string
required
affiliate_url
string
required
id
string
required
tpp_id
string
required
created
string
date-time
required
updated
string
date-time
required
distribution_id
string
required
ApiKey
Returns a paginated list of all distribution
Response
Successful Response
{
"name": "string",
"prod_id": "string",
"meta": {},
"type": null,
"tpp_yaml_id": "string",
"id": "string",
"tpp_id": "string",
"created": "2023-06-07T17:32:28Z",
"updated": "2023-06-07T17:32:28Z"
}
{
"name": "string",
"prod_id": "string",
"meta": {},
"type": null,
"cpa_amount": 123,
"cpa_currency": null,
"cp_hint": "string",
"affiliate_url": "string",
"id": "string",
"tpp_id": "string",
"created": "2023-06-07T17:32:28Z",
"updated": "2023-06-07T17:32:28Z"
}
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
No schema
Not found
Empty response
Validation Error
{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}
detail
array[object (ValidationError)]
ValidationError
object (ValidationError)
loc
array[Any Of]
required
Any Of
string
int
msg
string
required
type
string
required
Any Of
- Content Type
- application/json
TppDistributionJourneyResponse
object (TppDistributionJourneyResponse)
name
string
required
prod_id
string
meta
object (meta)
type
required
tpp_yaml_id
string
required
id
string
required
tpp_id
string
required
created
string
date-time
required
updated
string
date-time
required
TppDistributionAffiliateResponse
object (TppDistributionAffiliateResponse)
name
string
required
prod_id
string
meta
object (meta)
type
required
cpa_amount
int
required
cpa_currency
required
List of available currencies in ISO 4217 https://en.wikipedia.org/wiki/ISO_4217
cp_hint
string
required
affiliate_url
string
required
id
string
required
tpp_id
string
required
created
string
date-time
required
updated
string
date-time
required
Update Distribution For Provider Product
Create distribution for each offering.
Any Of
- Content Type
- application/json
TppDistributionJourneyRequest
object (TppDistributionJourneyRequest)
name
string
required
prod_id
string
meta
object (meta)
type
string
required
- Enum
-
- journey
tpp_yaml_id
string
required
TppDistributionAffiliateRequest
object (TppDistributionAffiliateRequest)
name
string
required
prod_id
string
meta
object (meta)
type
string
required
- Enum
-
- affiliate
cpa_amount
int
required
cpa_currency
required
List of available currencies in ISO 4217 https://en.wikipedia.org/wiki/ISO_4217
cp_hint
string
required
affiliate_url
string
required
distribution_id
string
required
ApiKey
Create distribution for each offering.
Request
{
"name": "string",
"prod_id": "string",
"meta": {},
"type": "journey",
"tpp_yaml_id": "string"
}
{
"name": "string",
"prod_id": "string",
"meta": {},
"type": "affiliate",
"cpa_amount": 123,
"cpa_currency": null,
"cp_hint": "string",
"affiliate_url": "string"
}
Response
Successful Response
{
"name": "string",
"prod_id": "string",
"meta": {},
"type": null,
"tpp_yaml_id": "string",
"id": "string",
"tpp_id": "string",
"created": "2023-06-07T17:32:28Z",
"updated": "2023-06-07T17:32:28Z"
}
{
"name": "string",
"prod_id": "string",
"meta": {},
"type": null,
"cpa_amount": 123,
"cpa_currency": null,
"cp_hint": "string",
"affiliate_url": "string",
"id": "string",
"tpp_id": "string",
"created": "2023-06-07T17:32:28Z",
"updated": "2023-06-07T17:32:28Z"
}
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
No schema
Not found
Empty response
Validation Error
{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}
detail
array[object (ValidationError)]
ValidationError
object (ValidationError)
loc
array[Any Of]
required
Any Of
string
int
msg
string
required
type
string
required
Any Of
- Content Type
- application/json
TppDistributionJourneyResponse
object (TppDistributionJourneyResponse)
name
string
required
prod_id
string
meta
object (meta)
type
required
tpp_yaml_id
string
required
id
string
required
tpp_id
string
required
created
string
date-time
required
updated
string
date-time
required
TppDistributionAffiliateResponse
object (TppDistributionAffiliateResponse)
name
string
required
prod_id
string
meta
object (meta)
type
required
cpa_amount
int
required
cpa_currency
required
List of available currencies in ISO 4217 https://en.wikipedia.org/wiki/ISO_4217
cp_hint
string
required
affiliate_url
string
required
id
string
required
tpp_id
string
required
created
string
date-time
required
updated
string
date-time
required
Delete Distribution
Returns a paginated list of all distribution
page
int
- Default
- 0
size
int
- Default
- 50
distribution_id
string
required
ApiKey
Returns a paginated list of all distribution
Response
Successful Response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
Empty response
No schema
No schema
Not found
Empty response
Validation Error
{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}
detail
array[object (ValidationError)]
ValidationError
object (ValidationError)
loc
array[Any Of]
required
Any Of
string
int
msg
string
required
type
string
required
Was this page helpful?