Getting Started

Generating API Keys

Calling API Functions

JSON or XML

API Call Rate Limits

Affiliate Accounts

Functions

Types

Merchant Accounts

Functions

Types

VideoArray Type

Represents zero or more videos.


Array Elements

Type Description
Video Represents a single video.

JSON XML

Example

[
    {
        "Id": 1,
        "DateCreated": "2000-01-01T00:00:00.000",
        "DateModified": "2000-01-01T00:00:00.000",
        "Name": "Video 1",
        "VideoUrl": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
        "ButtonColour": "Red",
        "ButtonText": "Click Here",
        "HoverText": "Click here to buy now",
        "TargetUrl": "https://www.example.com/"
    },
    {
        "Id": 2,
        "DateCreated": "2000-01-01T00:00:00.000",
        "DateModified": "2000-01-01T00:00:00.000",
        "Name": "Video 2",
        "VideoUrl": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
        "ButtonColour": "Red",
        "ButtonText": "Click Here",
        "HoverText": "Click here to buy now",
        "TargetUrl": "https://www.example.com/"
    },
    {
        "Id": 3,
        "DateCreated": "2000-01-01T00:00:00.000",
        "DateModified": "2000-01-01T00:00:00.000",
        "Name": "Video 3",
        "VideoUrl": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
        "ButtonColour": "Red",
        "ButtonText": "Click Here",
        "HoverText": "Click here to buy now",
        "TargetUrl": "https://www.example.com/"
    }
]
<VideoArray xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="https://api.commissionfactory.com/V1/Merchant">
    <Video>
        <Id>1</Id>
        <DateCreated>2000-01-01T00:00:00.000</DateCreated>
        <DateModified>2000-01-01T00:00:00.000</DateModified>
        <Name>Video 1</Name>
        <VideoUrl>https://www.youtube.com/watch?v=dQw4w9WgXcQ</VideoUrl>
        <ButtonColour>Red</ButtonColour>
        <ButtonText>Click Here</ButtonText>
        <HoverText>Click here to buy now</HoverText>
        <TargetUrl>https://www.example.com/</TargetUrl>
    </Video>
    <Video>
        <Id>2</Id>
        <DateCreated>2000-01-01T00:00:00.000</DateCreated>
        <DateModified>2000-01-01T00:00:00.000</DateModified>
        <Name>Video 2</Name>
        <VideoUrl>https://www.youtube.com/watch?v=dQw4w9WgXcQ</VideoUrl>
        <ButtonColour>Red</ButtonColour>
        <ButtonText>Click Here</ButtonText>
        <HoverText>Click here to buy now</HoverText>
        <TargetUrl>https://www.example.com/</TargetUrl>
    </Video>
    <Video>
        <Id>3</Id>
        <DateCreated>2000-01-01T00:00:00.000</DateCreated>
        <DateModified>2000-01-01T00:00:00.000</DateModified>
        <Name>Video 3</Name>
        <VideoUrl>https://www.youtube.com/watch?v=dQw4w9WgXcQ</VideoUrl>
        <ButtonColour>Red</ButtonColour>
        <ButtonText>Click Here</ButtonText>
        <HoverText>Click here to buy now</HoverText>
        <TargetUrl>https://www.example.com/</TargetUrl>
    </Video>
</VideoArray>

Related Links