Add a new platform for offer
HTTP method
Endpoint
POST
/v1/offers/{offer_id}/platforms
Path parameters
Parameter
Description
offer_id
The unique id for the offer.
Request body parameters
Field
Type
Description
Nullable
platform
string
Devices to be targeted, eg: PC/Mobile/Tablet If not selected, by default it allows all platforms.
No
system
string
Operating System in platforms,by defaut it allows all OS without setting.
version
array
OS Version.By defaut it allows all versions in the selected OS.
is_above
integer
A new field, is_above, is added to offer platform to support upper compatibility in platform. When new platform versions are upgraded, the traffic won’t be rejected. Allowed values: 0 Close; 1 Open
Response body parameters
Field
Type
Description
id
integer
offer_id
integer
A string that uniquely identifies this offer.
platform
string
Devices to be targeted, it might be PC/Mobile/Tablet
system
string
Operating System in Device. By default it allows all OS in targeted platform.
version
array
Version of the system. By default it allows all versions in targeted system
Example request
Request POST https://{networkname}.api.offerslook.com/v1/offers/3147/platforms
Example response
Last updated