Get the list of the presale actions and their current status
PreSaleAction collection
{- "hydra:member": [
- {
- "@context": "string",
- "@id": "string",
- "@type": "string",
- "uuid": "string",
- "created_at": "string",
- "updated_at": "string",
- "threshold": 0,
- "action_type": "alert_mail",
- "target": "string",
- "enabled": true,
- "running": true,
- "pre_sale_uuid": "string"
}
], - "hydra:totalItems": 0,
- "hydra:view": {
- "@id": "/entity/1",
- "@type": "string",
- "hydra:first": "/entity/1",
- "hydra:last": "/entity/1",
- "hydra:previous": "/entity/1",
- "hydra:next": "/entity/1"
}, - "hydra:search": {
- "@type": "string",
- "hydra:template": "string",
- "hydra:variableRepresentation": "string",
- "hydra:mapping": [
- {
- "@type": "string",
- "variable": "string",
- "property": "string",
- "required": true
}
]
}
}
Create a new presale action
The new PreSaleAction resource
PreSaleAction resource created
Invalid input
Unprocessable entity
{- "threshold": 0,
- "action_type": "alert_mail",
- "target": null,
- "enabled": true,
- "pre_sale_uuid": "string"
}
{- "@context": "string",
- "@id": "string",
- "@type": "string",
- "uuid": "string",
- "created_at": "string",
- "updated_at": "string",
- "threshold": 0,
- "action_type": "alert_mail",
- "target": "string",
- "enabled": true,
- "running": true,
- "pre_sale_uuid": "string"
}
Retrieves a PreSaleAction resource.
PreSaleAction resource
Resource not found
{- "@context": "string",
- "@id": "string",
- "@type": "string",
- "uuid": "string",
- "created_at": "string",
- "updated_at": "string",
- "threshold": 0,
- "action_type": "alert_mail",
- "target": "string",
- "enabled": true,
- "running": true,
- "pre_sale_uuid": "string"
}
Replaces the PreSaleAction resource.
The updated PreSaleAction resource
PreSaleAction resource updated
Invalid input
Resource not found
Unprocessable entity
{- "threshold": 0,
- "action_type": "alert_mail",
- "target": null,
- "enabled": true,
- "pre_sale_uuid": "string"
}
{- "@context": "string",
- "@id": "string",
- "@type": "string",
- "uuid": "string",
- "created_at": "string",
- "updated_at": "string",
- "threshold": 0,
- "action_type": "alert_mail",
- "target": "string",
- "enabled": true,
- "running": true,
- "pre_sale_uuid": "string"
}