A group order invitation allows other users to contribute to an existing order. Contributors may request an access token with the invitation ID that allows them to add line items and modify those line items.
Security
OAuth2(Required scopes: FullAccessShopper)
- Production sever for Ordercloudhttps://api.ordercloud.io/v1/me/orderinvitations
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://api.ordercloud.io/v1/me/orderinvitations \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"ID": "",
"ExpirationDate": "2018-01-01T00:00:00-06:00",
"Name": "",
"OrderID": "",
"OrderStatus": "Unsubmitted",
"xp": {}
}'A group order invitation allows other users to contribute to an existing order. Contributors may request an access token with the invitation ID that allows them to add line items and modify those line items.
Enum:"Unsubmitted""AwaitingApproval""Declined""Open""Completed""Canceled"
Example:"Unsubmitted"
Response
{ "ID": "", "ExpirationDate": "2018-01-01T00:00:00-06:00", "Name": "", "OrderID": "", "OrderStatus": "Unsubmitted", "xp": {} }