PUT /api/:space/awards/:id

Description:

Updates the awards claiming. Using the update command of the awards claiming.

Request header

KeyValueRequired
X-API-KEY
Your unique API keyYes
Content-Type
application/jsonYes

Request URL parameter

Parameter
Type
Required
Description
space
StringYesThis is the space name which is linked to the account
productId
StringYesProduct identifier retrieved from GET Products resource

EXAMPLE

Request
curl
   --header "X-API-KEY: <your-api-key>"
   --header "Content-Type: application/json"
   --request PUT https://app.competitionlabs.com/api/<your-space-name>/products/AVXfqkwCHz_hNiERp35h
   -d '{"name": "Roulette","productType": "tablegames","adjustmentFactor": 4,"productRefId": "my-product-ref-Roulette"}'
Response
{
    "data": {
        "jsonClass": "Product",
        "name": "Roulette",
        "productType": "tablegames",
        "accountId": "AVQZ2zwdvxp6FovVuxMQ",
        "adjustmentFactor": 4,
        "productRefId": "my-product-ref-Roulette",
        "created": "2016-07-12T15:12:07.682+00:00",
        "id": "AVXfqkwCHz_hNiERp35h"
    }
}