Beställningar
API för beställningar i Tjänsteguiden
FormatXML AuthLogin OriginTjänsteguiden ConsumerStadsnät
set_status
Valid values for "status" are:
new | order is new and unhandeled |
received | order is received by target (xsp) |
active | order is being handeled |
waiting | order is pending action from other party |
cancelled | order has been cancelled |
delivered | order has been fulfilled to end customer |
Request
GET /admin/edit/services/plain/orders
Attributes
- mandatory
Data format: string
Example: delivered
New status for order - mandatory
Data format: integer
Example: 1234
ID of order - mandatory
Data format: integer
Example: 1234
API User ID with privileges - optional
Data format: string
Example: json
What format should the response be in, valid values are 'xml' and 'json'
Example request
GET /admin/edit/services/plain/orders?method=set_status&status=delivered&id=1234&api_user=1234
Response success: 200
HTTP/1.1 200
Content-Type: application/xml<set_status> <response> <message>Status changed to delivered for order 1234</message> </response> <status>success</status> </set_status>