Create or extend a delivery
/third/deliveryMakes sure a delivery of the gateway listens to the given product IDs. When a delivery already has one of the IDs, the missing ones are added to it (its name and type do not change). When none has them, a new delivery is created. An ID that belongs to a different delivery is refused.
The delivery is nested twice: data.data.
Authorization
apiKey The school API key, found in the dashboard settings, sent in the Authorization header. The Bearer prefix is optional.
In: header
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/third/delivery" \ -H "Content-Type: application/json" \ -d '{ "external_id": "string", "name": "string", "provider": "string", "type": "single" }'{ "code": 200, "message": "string", "profiler": [], "success": true, "version": 2, "data": { "data": { "config_url": "http://example.com", "external_ids": [ "string" ], "id": 0, "name": "string", "type": "single" } }}