Skip to content

Create a Product

Endpoint: https://api.youcan.shop/stores/ticket

Method: POST

Required Scopes

  • view-store-tickets

Parameters

Param NameParam TypeDescriptionRequired
typeintTypeno
subjectstringA Title of the messageyes
contentstringThe description of the messageyes
fileFileImage or a file that describe the messageno

Variant Options

Ex: [{"type": 1, "subject": "Title", "content": "Description of the problem"]

Response

[201] Created

json
{
    "message": "Ticket sent to support successfully",
    "type": "success"
}