• Getting Started

    Before you start writing your own implementation you should generate your own credentials which will provide you access to our RestAPI.

    1. Login into your account on app.codeswholesale.com

    2. Locate Web API tab on the left bar

    3. Generate new credentials (Keep in mind that a client secret will be visible only once)

  • Endpoints

    We are providing two types of endpoints: LIVE and SANDBOX
    It’s highly recommended to start working on your custom implementatnion on SANDBOX environment.

    LIVE ENDPOINT URL:

    https://api.codeswholesale.com

    SANDBOX ENDPOINT URL:

    https://sandbox.codeswholesale.com

  • Authorization

    This CURL request allows you to ask for token in order to connect to your RestAPI account.
    It is required before you start working on your implementation.

    For authorization we are using OAuth 2.0. See documentation here.

    curl 'https://sandbox.codeswholesale.com/oauth/token' --data 'grant_type=client_credentials&client_id=ff72ce315d1259e822f47d87d02d261e&client_secret=$2a$10$E2jVWDADFA5gh6zlRVcrlOOX01Q/HJoT6hXuDMJxek.YEo.lkO2T6'

    Response:

    Parameter Description
    access_token Your Unique Access Token
    token_type Type of a Token
    expieres_in Token Expiration Time in Seconds


    Example:

    {  
      "access_token":"d95f6f0c-28e1-464e-8d9f-96fc0e4f63fc",
      "token_type":"bearer",
      "expires_in":1158
    }

    Remember to export Access Token to database and when expires_in expire refresh it.

  • Retriving All Products From Price List

    Here you can easily ask for all products from CodesWholesale Price List.

    In response you will receive important informations about each product.

    Get products from price list:

    curl 'https://sandbox.codeswholesale.com/v1/products' -H 'Authorization: Bearer d95f6f0c-28e1-464e-8d9f-96fc0e4f63fc'

    Response:

    Parameter Description
    items Items array for Product. See here


    Example:

    {  
       "items":[  
          {  
             "productId":"33e3e81d-2b78-475a-8886-9848116f5133",
             "identifier":"TPP",
             "name":"Test pre order product",
             "platform":"Origin",
             "quantity":0,
             "images":[  
                {  
                   "image":"https://sandbox.codeswholesale.com/assets/images/no-image.jpg",
                   "format":"SMALL"
                },
                {  
                   "image":"https://sandbox.codeswholesale.com/assets/images/no-image.jpg",
                   "format":"MEDIUM"
                }
             ],
             "regions":[  
                "ASIA"
             ],
             "languages":[  
                "Multilanguage"
             ],
             "prices":[  
                {  
                   "value":0.10,
                   "from":100,
                   "to":null
                },
                {  
                   "value":1.10,
                   "from":1,
                   "to":9
                },
                {  
                   "value":0.40,
                   "from":10,
                   "to":99
                }
             ],
             "links":[  
                {  
                   "rel":"self",
                   "href":"https://sandbox.codeswholesale.com/v1/products/33e3e81d-2b78-475a-8886-9848116f5133"
                },
                {  
                   "rel":"buy",
                   "href":"https://sandbox.codeswholesale.com/v1/orders?productId=33e3e81d-2b78-475a-8886-9848116f5133"
                }
             ],
             "releaseDate":"2055-04-30T22:00:00.000Z"
          },
          {  
             "productId":"04aeaf1e-f7b5-4ba9-ba19-91003a04db0a",
             "identifier":"TPWHP",
             "name":"Test product with high price",
             "platform":"None",
             "quantity":0,
             "images":[  
                {  
                   "image":"https://sandbox.codeswholesale.com/assets/images/no-image.jpg",
                   "format":"SMALL"
                },
                {  
                   "image":"https://sandbox.codeswholesale.com/assets/images/no-image.jpg",
                   "format":"MEDIUM"
                }
             ],
             "regions":[  
                "WORLDWIDE"
             ],
             "languages":[  
                "Multilanguage"
             ],
             "prices":[  
                {  
                   "value":1038999996.88,
                   "from":100,
                   "to":0
                },
                {  
                   "value":1038999997.92,
                   "from":10,
                   "to":99
                },
                {  
                   "value":1038999998.96,
                   "from":1,
                   "to":9
                }
             ],
             "links":[  
                {  
                   "rel":"self",
                   "href":"https://sandbox.codeswholesale.com/v1/products/04aeaf1e-f7b5-4ba9-ba19-91003a04db0a"
                },
                {  
                   "rel":"buy",
                   "href":"https://sandbox.codeswholesale.com/v1/orders?productId=04aeaf1e-f7b5-4ba9-ba19-91003a04db0a"
                }
             ],
             "releaseDate":null
          },
          {  
             "productId":"6313677f-5219-47e4-a067-7401f55c5a3a",
             "identifier":"TWICO",
             "name":"Test with image codes only",
             "platform":"Steam",
             "quantity":177,
             "images":[  
                {  
                   "image":"https://sandbox.codeswholesale.com/assets/images/no-image.jpg",
                   "format":"SMALL"
                },
                {  
                   "image":"https://sandbox.codeswholesale.com/assets/images/no-image.jpg",
                   "format":"MEDIUM"
                }
             ],
             "regions":[  
                "EU"
             ],
             "languages":[  
                "fr"
             ],
             "prices":[  
                {  
                   "value":0.10,
                   "from":100,
                   "to":null
                },
                {  
                   "value":0.40,
                   "from":10,
                   "to":99
                },
                {  
                   "value":1.10,
                   "from":1,
                   "to":9
                }
             ],
             "links":[  
                {  
                   "rel":"self",
                   "href":"https://sandbox.codeswholesale.com/v1/products/6313677f-5219-47e4-a067-7401f55c5a3a"
                },
                {  
                   "rel":"buy",
                   "href":"https://sandbox.codeswholesale.com/v1/orders?productId=6313677f-5219-47e4-a067-7401f55c5a3a"
                }
             ],
             "releaseDate":null
          },
          {  
             "productId":"ffe2274d-5469-4b0f-b57b-f8d21b09c24c",
             "identifier":"TWTCO",
             "name":"Test with text codes only",
             "platform":"Uplay",
             "quantity":245,
             "images":[  
                {  
                   "image":"https://sandbox.codeswholesale.com/assets/images/no-image.jpg",
                   "format":"SMALL"
                },
                {  
                   "image":"https://sandbox.codeswholesale.com/assets/images/no-image.jpg",
                   "format":"MEDIUM"
                }
             ],
             "regions":[  
                "PL"
             ],
             "languages":[  
                "pl"
             ],
             "prices":[  
                {  
                   "value":1.11,
                   "from":1,
                   "to":9
                },
                {  
                   "value":0.11,
                   "from":100,
                   "to":null
                },
                {  
                   "value":0.41,
                   "from":10,
                   "to":99
                }
             ],
             "links":[  
                {  
                   "rel":"self",
                   "href":"https://sandbox.codeswholesale.com/v1/products/ffe2274d-5469-4b0f-b57b-f8d21b09c24c"
                },
                {  
                   "rel":"buy",
                   "href":"https://sandbox.codeswholesale.com/v1/orders?productId=ffe2274d-5469-4b0f-b57b-f8d21b09c24c"
                }
             ],
             "releaseDate":null
          }
       ]
    }
  • Single Product by ID

    You can ask our API for only one product using ID.

    Tip: It’s good way to keep your stock and prices always updated.

    curl 'https://sandbox.codeswholesale.com/v1/products/6313677f-5219-47e4-a067-7401f55c5a3a' -H 'Authorization: Bearer d95f6f0c-28e1-464e-8d9f-96fc0e4f63fc'

    Response:

    Parameter Description
    productID Product Identifier
    name Product Name
    platform Product’s Platform
    quantity Current quantity on stock
    images Two types of game covers (small & medium)
    regions Available Regions
    prices Product’s Price
    releaseDate Product’s Release Date


    Example:

    {  
       "productId":"6313677f-5219-47e4-a067-7401f55c5a3a",
       "identifier":"TWICO",
       "name":"Test with image codes only",
       "platform":"Steam",
       "quantity":177,
       "images":[  
          {  
             "image":"https://sandbox.codeswholesale.com/assets/images/no-image.jpg",
             "format":"SMALL"
          },
          {  
             "image":"https://sandbox.codeswholesale.com/assets/images/no-image.jpg",
             "format":"MEDIUM"
          }
       ],
       "regions":[  
          "EU"
       ],
       "languages":[  
          "fr"
       ],
       "prices":[  
          {  
             "value":0.10,
             "from":100,
             "to":null
          },
          {  
             "value":0.40,
             "from":10,
             "to":99
          },
          {  
             "value":1.10,
             "from":1,
             "to":9
          }
       ],
       "links":[  
          {  
             "rel":"self",
             "href":"https://sandbox.codeswholesale.com/v1/products/6313677f-5219-47e4-a067-7401f55c5a3a"
          },
          {  
             "rel":"buy",
             "href":"https://sandbox.codeswholesale.com/v1/orders?productId=6313677f-5219-47e4-a067-7401f55c5a3a"
          }
       ],
       "releaseDate":null
    }
  • Product Information

    Get product description by Product Identifier.

    Now you can easily use the below request to make this process done:

    curl
    'https://sandbox.codeswholesale.com/v1/products/6313677f-5219-47e4-a067-7401f55c5a3a/description' -H 'Authorization: Bearer d95f6f0c-28e1-464e-8d9f-96fc0e4f63fc'

    Response:

    Parameter Description
    developerName Developer
    lastUpdated Date of Last Update
    officialTitle Product Official Title
    extensionPacks Extension Pack
    releases Array of Release Dates
    territory Array of Release Dates by Territory
    releaseStatus Array of Release Dates by Status
    platform Product Platform
    pegirating: Age 12 PEGI Rating: Age 12
    editions Array of Editions
    editions Array of Editions
    videos Array of Videos
    factSheets Array of Descriptions
    territory Array of Descriptions by
    Territory
    category Array of Descriptions by Category
    productId Product Identifier
    photos Array of Photos
    territory Array of Photos by Territory
    type Array of Photos by Type
    url Array of Photos by URL
    Keywords Product Keywords


    Example:

    {
       "inTheGameLanguages" : [
          "English"
       ],
       "developerName" : "Blizzard Entertainment",
       "lastUpdated" : "2016-09-03T12:34:55.000Z",
       "officialTitle" : "World of Warcraft: Legion",
       "extensionPacks" : [],
       "releases" : [
          {
             "territory" : "us",
             "releaseDate" : "TBA",
             "releaseStatus" : "Upcoming"
          },
          {
             "releaseStatus" : "Upcoming",
             "releaseDate" : "2016-08-30",
             "territory" : "uk"
          },
          {
             "releaseStatus" : "Upcoming",
             "releaseDate" : "2016-08-30",
             "territory" : "sca"
          }
       ],
       "platform" : "PC",
       "pegirating" : "Age 12",
       "editions" : [
          "101911",
          "101874"
       ],
       "videos" : [
          {
             "title" : "Launch Trailer",
             "url" : "http://ttgvideo2.blob.core.windows.net/video-201609/WoWx7_IGC_Trailer_enGB_PK.flv",
             "releaseDate" : "2016-09-03T00:00:00.000Z",
             "previewFrameURL" : "",
             "ageWarning" : false
          }
       ],
       "factSheets" : [
          {
             "description" : "Destruction rains down upon Azeroth. Demons of the Burning Legion surge into our realm, heralding the return of the dark titan Sargeras, Ravager of Worlds. As doom comes for the Alliance and the Horde, Azeroth's heroes must seek salvation among the ruins of the Broken Isles, doomed center of ancient night elf civilization and birthplace of myths dating back to the world's creation. There, they'll harness legendary and forbidden powers to hunt unspeakable nightmares and unstoppable fel armies-and save their world from falling under an endless burning shadow.\n

    \nWorld of Warcraft®: Legion is the sinister sixth expansion to Blizzard Entertainment's acclaimed massively multiplayer online role-playing game. In the face of hopeless odds, Azeroth's champions must summon the strength to wield fabled Artifacts, powerful weapons of lore that hold the potential to bring down the Legion. They'll also strike an infernal pact with the Demon Hunters of the Illidari, an ancient elven order of fel-tainted assassins . . . and accursed followers of the infamous Illidan the Betrayer. \n

    \n
      \n
    • Stalk Your Prey as a Demon Hunter: Turn the tainted power of the Legion against them as an all-new hero class-the vengeful Demon Hunter. As a damage dealer or tank, pursue and evade your targets with preternatural agility; draw upon your demonic fury to fuel devastating attacks; and strike fear into your foes by metamorphosing into hellish new forms.
    • \n
    • Wield Legendary Artifacts: Build a battle-forged bond with your own Artifact-a legendary class-specific weapon that transforms and grows in power as you battle the Legion. Customize your Artifact with personalized traits, tempering-or twisting-it into a form that suits your character.
    • \n
    • Explore the Ancient Roots of Azeroth: Seek your world's salvation among the forbidden ruins of the Broken Isles-mythic seat of night elf civilization, gateway to the Emerald Nightmare, and hiding place of the titan relics used to shape Azeroth.
    • \n
    • Unify Your Order: Find refuge from the felstorm at your Order Hall, a site of great power linked closely to your character's class and cause. Whether you follow the code of the paladin or the dark ways of the warlock, unite fellow members of your order to carry out class-specific missions and defend against annihilation.
    • \n
    • Boost to Level 100: Prepare to face the invading armies of the Legion with a level-100 character boost, and experience this night-shrouded new chapter of World of Warcraft alongside your friends.
    • \n
    • Earn PvP Powers in the New Honor System: Dominate the enemy faction in Battlegrounds and Arenas to progress through the all-new Honor system. Unlock PvP-specific spells and abilities that open up a range of new tactical possibilities, and earn prestigious titles and rewards.
    • \n
    • . . . And More: Take on a wide array of Dungeons, Raids, Battlegrounds, Challenge Modes, and more on the way to the new level cap of 110-no matter what kind of adventures you seek, endless possibilities await.
    • \n
    \n\n", "territory" : "uk" } ], "category" : "MMORPG", "localizedTitles" : [], "developerHomepage" : "http://www.blizzard.com/", "eans" : [ "5030917189623", "5030917189623", "5030917189623" ], "productId" : "804d6f17-a5ed-4851-84db-e9fc91da8501", "photos" : [ { "url" : "http://ttgvideo2.blob.core.windows.net/game-1/16261/feature/2015-08-08/screen5_large.jpg", "type" : "SCREEN_SHOT_LARGE", "territory" : "" }, { "url" : "http://ttgvideo2.blob.core.windows.net/game-1/16261/feature/2015-08-08/screen14_large.jpg", "type" : "SCREEN_SHOT_LARGE", "territory" : "" }, { "type" : "SCREEN_SHOT_LARGE", "territory" : "", "url" : "http://ttgvideo2.blob.core.windows.net/game-1/16261/feature/2015-08-08/screen8_large.jpg" }, { "url" : "http://ttgvideo2.blob.core.windows.net/game-1/16261/feature/2015-08-08/screen4_large.jpg", "territory" : "", "type" : "SCREEN_SHOT_LARGE" }, { "url" : "http://ttgvideo2.blob.core.windows.net/game-1/16261/feature/2015-08-08/screen3_large.jpg", "territory" : "", "type" : "SCREEN_SHOT_LARGE" }, { "url" : "http://ttgvideo2.blob.core.windows.net/game-1/16261/feature/2015-08-08/screen6_large.jpg", "type" : "SCREEN_SHOT_LARGE", "territory" : "" }, { "territory" : "", "type" : "SCREEN_SHOT_LARGE", "url" : "http://ttgvideo2.blob.core.windows.net/game-1/16261/feature/2015-08-08/screen11_large.jpg" }, { "territory" : "", "type" : "SCREEN_SHOT_LARGE", "url" : "http://ttgvideo2.blob.core.windows.net/game-1/16261/feature/2015-08-08/screen9_large.jpg" }, { "type" : "SCREEN_SHOT_LARGE", "territory" : "", "url" : "http://ttgvideo2.blob.core.windows.net/game-1/16261/feature/2015-08-08/screen16_large.jpg" }, { "url" : "http://ttgvideo2.blob.core.windows.net/game-1/16261/feature/2015-08-08/screen2_large.jpg", "type" : "SCREEN_SHOT_LARGE", "territory" : "" }, { "type" : "SCREEN_SHOT_LARGE", "territory" : "", "url" : "http://ttgvideo2.blob.core.windows.net/game-1/16261/feature/2015-08-08/screen7_large.jpg" }, { "type" : "SCREEN_SHOT_LARGE", "territory" : "", "url" : "http://ttgvideo2.blob.core.windows.net/game-1/16261/feature/2015-08-08/screen12_large.jpg" }, { "url" : "http://ttgvideo2.blob.core.windows.net/game-1/16261/feature/2015-08-08/screen15_large.jpg", "type" : "SCREEN_SHOT_LARGE", "territory" : "" }, { "type" : "THUMB", "territory" : "uk", "url" : "http://ttgvideo2.blob.core.windows.net/game-1/16261/boxshot_uk_small.jpg" }, { "type" : "SCREEN_SHOT_LARGE", "territory" : "", "url" : "http://ttgvideo2.blob.core.windows.net/game-1/16261/feature/2015-08-08/screen13_large.jpg" }, { "url" : "http://ttgvideo2.blob.core.windows.net/game-1/16261/feature/2015-08-08/screen10_large.jpg", "type" : "SCREEN_SHOT_LARGE", "territory" : "" }, { "territory" : "uk", "type" : "MEDIUM", "url" : "http://ttgvideo2.blob.core.windows.net/game-1/16261/boxshot_uk_large.jpg" }, { "url" : "http://ttgvideo2.blob.core.windows.net/game-1/16261/boxshot_uk_hi.jpg", "type" : "HI_RESOLUTION", "territory" : "uk" }, { "url" : "http://ttgvideo2.blob.core.windows.net/game-1/16261/feature/2015-08-08/screen1_large.jpg", "type" : "SCREEN_SHOT_LARGE", "territory" : "" } ], "keywords" : "" } ] }
  • Account Details

    Account Details provide you whole information about your account from name to actual balance with credit included.

    Tip: You can display these details in your admin office to be always well informed.
    Get current account details:

    curl 'https://sandbox.codeswholesale.com/v1/accounts/current' -H 'Authorization: Bearer d95f6f0c-28e1-464e-8d9f-96fc0e4f63fc'

    Response:

    Parameter Description
    fullName Account Full Name
    email Account Email
    currentBalance Balance on CodesWholesale
    currentCredit Credit on CodesWholesale
    totalToUse Credit + Balance


    Example:

    {  
      "fullName":"CodesWholesale",
      "email":"devteam@codeswholesale.com",
      "currentBalance":999997193.68,
      "currentCredit":0.00,
      "totalToUse":999997193.68,
      "links":[  
        {  
          "rel":"self",
          "href":"https://sandbox.codeswholesale.com/v1/accounts/current"
        }
      ]
    }
  • Single Code Order

    Using your before recieved productId you can order this game in our API via this CURL.
    Remember it is only for one code.

    Create single order for CODE_TEXT:

    curl 'https://sandbox.codeswholesale.com/v1/orders?productId=ffe2274d-5469-4b0f-b57b-f8d21b09c24c' -H 'Authorization: Bearer c1465424-a27c-4b87-a018-7f5c53222fc7' -X Post'

    CODE_PREORDER:

    curl 'https://sandbox.codeswholesale.com/v1/orders?productId=ffe2274d-5469-4b0f-b57b-f8d21b09c24c' -H 'Authorization: Bearer c1465424-a27c-4b87-a018-7f5c53222fc7' -X Post'

    CODE_IMAGE:

    curl 'https://sandbox.codeswholesale.com/v1/orders?productId=ffe2274d-5469-4b0f-b57b-f8d21b09c24c' -H 'Authorization: Bearer c1465424-a27c-4b87-a018-7f5c53222fc7' -X Post'

    Response:

    Parameter Description
    codeType Type of a code (CODE_TEXT, CODE_IMAGE, CODE_PREORDER)
    code Game Key


    CODE_TEXT Example:

    {  
       "codeType":"CODE_TEXT",
       "code":"fe9f7630-6fd0-491a-8fa2-84f714a6cc22",
       "links":[  
          {  
             "rel":"self",
             "href":https://sandbox.codeswholesale.com/v1/orders/aa9afc20-6fb0-4390-b5ab-e27533d816c8/productsOrdered/c01d00ad-7855-47d3-86e5-e43f75b1c40b/codes/52ef71dc-e4db-4a34-99eb-4130a0379065"
          }
       ]
    }


    CODE_PREORDER Example:

    {  
       "codeType":"CODE_PREORDER",
       "links":[  
          {  
             "rel":"self",
             "href":"https://sandbox.codeswholesale.com/v1/orders/6e6c8d32-05cb-4670-91f1-f1dce0c68f79/productsOrdered/0ebc7e88-187d-47ae-9233-e4f01c350b21/codes/7c3e3edf-d18f-4210-8621-6928321ac3cd"
          }
       ]
    }


    CODE_IMAGE Example:

    {  
       "codeType":"CODE_IMAGE",
       "code":"We are encoding image codes in Base64",
       "fileName":"TWICO TEST 184 10072014 cw_183.jpg",
       "links":[  
          {  
             "rel":"self",
             "href":"https://sandbox.codeswholesale.com/v1/orders/078b55aa-a570-4674-8830-da4f55792567/productsOrdered/7eb118ef-9155-4b39-b283-2e49296d9ff9/codes/a0ad8425-23ef-4959-ac7a-d639c5c45f8a"
          }
       ]
    }
  • Multiple Codes Order

    Using your productID you can order games. Everything depends on quantity which you have to provide in your request.

    Create multiple codes order:

    curl ''https://sandbox.codeswholesale.com/v1/orders?productId=ffe2274d-5469-4b0f-b57b-f8d21b09c24c&quantity=2' -H 'Authorization: Bearer c1465424-a27c-4b87-a018-7f5c53222fc7' -X Post'

    Response:

    Parameter Description
    codeType Type of a code (CODE_TEXT, CODE_IMAGE, CODE_PREORDER)
    code Game Key


    Example:

    {  
       "orderId":"3a3d5978-3aac-46cc-ada6-9699339a379e",
       "items":[  
          {  
             "codeType":"CODE_TEXT",
             "code":"54ce5a5b-e51a-4d04-980e-b08e80d99f5b",
             "links":[  
                {  
                   "rel":"self",
                   "href":"https://sandbox.codeswholesale.com/v1/orders/3a3d5978-3aac-46cc-ada6-9699339a379e/productsOrdered/280f141a-5de0-4d1e-aeba-367a4da1826b/codes/fdb44318-404c-4db4-a079-b8f5d833033a"
                }
             ]
          },
          {  
             "codeType":"CODE_TEXT",
             "code":"87f6c9d2-34d6-476a-a349-1a23adc68d8b",
             "links":[  
                {  
                   "rel":"self",
                   "href":"https://sandbox.codeswholesale.com/v1/orders/3a3d5978-3aac-46cc-ada6-9699339a379e/productsOrdered/280f141a-5de0-4d1e-aeba-367a4da1826b/codes/8980c725-65fa-4fc1-aab9-d739363b0f34"
                }
             ]
          }
       ]
    }
  • Post Back Pre-order

    PostBack PreOrder allows you to ask for code which was PreOrdered.

    After we recieve PreOrder code from you, our purchuase team will look for the title
    then Admin will add this code onto the system. This process automatically runs our PostBack function
    which is sending infromation about the game to your system.

    At this moment you can easily use this request to make this process done. Ask for pre-ordered product:

    curl 'https://sandbox.codeswholesale.com/v1/orders/3a3d5978-3aac-46cc-ada6-9699339a379e/productsOrdered/280f141a-5de0-4d1e-aeba-367a4da1826b/codes/8980c725-65fa-4fc1-aab9-d739363b0f34' -H 'Authorization: Bearer c1465424-a27c-4b87-a018-7f5c53222fc7'

    Response:

    Parameter Description
    codeType Type of a code (CODE_TEXT, CODE_IMAGE, CODE_PREORDER)
    code Game Key


    Example:

    {  
       "codeType":"CODE_TEXT",
       "code":"87f6c9d2-34d6-476a-a349-1a23adc68d8b",
       "links":[  
          {  
             "rel":"self",
             "href":"https://sandbox.codeswholesale.com/v1/orders/3a3d5978-3aac-46cc-ada6-9699339a379e/productsOrdered/280f141a-5de0-4d1e-aeba-367a4da1826b/codes/8980c725-65fa-4fc1-aab9-d739363b0f34"
          }
       ]
    }
  • Post Back Update Price And Stock

    PostBack Update Price And Stock allows you to receive information about changes on CodesWholesale’s price list.

    Use received productId to retrieve information about actual price and stock from our price list.


    Example request from CodesWholesale:

    {
       "productId":"74c70e0f-6977-421a-9ecf-dd2e335c787d",
       "whiteLabelIds": []
    }