Create a new subscription, with an auto generated ID
Request
- Base URL: https://api.omnium.no (the document declares no server; this is the origin it was published from)
- URL: https://api.omnium.no/api/Subscriptions
- Auth: API key in header Authorization
Request body
Unique subscription ID
The ID of the customer - should be an unique value
The customer number
Name of customer
Customer phone number with prefix. e.g. +4740000000
Customer e-mail
Start date of the subscription
End date of the subscription
Date when next order should be created
Time of day when the subscription order should be created
Interval in days between each order
Subscription schedule - Cron expression
Subscription current status
User (or system) that last modified the entity
Marked as anonymized s
Last time the subscription was updated
When the subscription was created
When subscription verification last failed
Number of failed verification attempts. Should be reset when a successful verification attempt
Create pending orders for subscription
Number of pending orders to create (Default: 3)
Response
Success
Unique subscription ID
The ID of the customer - should be an unique value
The customer number
Name of customer
Customer phone number with prefix. e.g. +4740000000
Customer e-mail
Start date of the subscription
End date of the subscription
Date when next order should be created
Time of day when the subscription order should be created
Interval in days between each order
Subscription schedule - Cron expression
Subscription current status
User (or system) that last modified the entity
Marked as anonymized s
Last time the subscription was updated
When the subscription was created
When subscription verification last failed
Number of failed verification attempts. Should be reset when a successful verification attempt
Create pending orders for subscription
Number of pending orders to create (Default: 3)
Changes
No recorded changes to this operation across all 1 revision of this API.