Getting status signals back to your app is an important step, it allow you to: - keep track of the order production state - provide your end user with tracking information - get notified if there is an issue with the order causing a delay - get notified if the order can not be produced and gets cancelled
To create a new CloudSignal subscription call this endpoint with the url and CloudApps will create a new CloudSignal Webhooks configuration. This can also be found in the Cloudprinter admin dashboard.
Post JSON parameters:
|url||The Cloudsignal Webhook 2.0 compatible endpoint to call|
Return JSON valus:
|id||Reference id to the CloudSignal Webhook configuration created in Cloudprinter.com, you need this reference id when you want to unsubscribe.|
The CloudSignal subscription can at anytime be unsibscribed. Call this endpoint with the CloudSignal webhook configuration id you got when creating it. Use a HTTP DELETE method and add the id to the query string. This can also be found in the Cloudprinter admin dashboard.
Query string parameters:
|id||Reference id to the CloudSignal Webhook interface created in Cloudprinter.com. This was given when the subscription was created.|