keitaro-api-skill/references/schemas/Offer.yaml

57 lines
899 B
YAML

type: object
properties:
id:
type: integer
name:
type: string
group_id:
type: integer
action_type:
type: string
action_payload:
oneOf:
- type: string
- type: object
action_options:
type: object
affiliate_network_id:
type: integer
payout_value:
type: number
payout_currency:
type: string
payout_type:
type: string
state:
type: string
created_at:
type: string
updated_at:
type: string
payout_auto:
type: boolean
payout_upsell:
type: boolean
country:
type: array
items:
type: string
notes:
type: string
affiliate_network:
type: string
archive:
type: string
local_path:
type: string
preview_path:
type: string
values:
type: array
items:
type: object
example:
- exampleKey: exampleValue
- price: '100'
- currency: EUR