cURL
curl --request POST \ --url https://dev.api.mufi.app/v1/products/items/create \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "product_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "users": [ "3c90c3cc-0d44-4b50-8888-8dd25736052a" ] } '
{ "items": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "product_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "item_id": 123, "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "redeemed_at": 123 } ] }
Give a user a product item that can be redeemed at an event.
A JWT Access Token obtained from Google Cloud.
Give a user a product item that can be redeemed.
The ID of the product.
The users to give product items to.
1 - 550
A product item was successfully created and given to a user.
Show child attributes
The ID of the product item.
The date and time the product item was created.
The date and time the product item was last updated.
The unique item ID as an integer of the product item. If NFT, this is the NFT ID too.
The UNIX timestamp when the product item was redeemed. Null or undefined if the product item has not been redeemed.