Create a product collection invitation

Request

Only available to Buyer Users.

Security
OAuth2(Required scopes: FullAccessShopper)
Path
productCollectionIDstringrequired

ID of the product collection.

Bodyapplication/jsonrequired
Namestring, <= 100 charactersrequired
Example:""
Adminboolean
Default:false
Example:false
ExpirationDatestring, (date-time)

ExpirationDate defaults to 30 days from create, maximum 1 year.

Example:"2018-01-01T00:00:00-06:00"
xpobject
Example:
{}
curl -i -X POST \
  'https://api.ordercloud.io/v1/me/productcollections/{productCollectionID}/invitations' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "ID": "",
    "Name": "",
    "Admin": false,
    "Accepted": false,
    "ExpirationDate": "2018-01-01T00:00:00-06:00",
    "xp": {}
  }'

Responses

Only available to Buyer Users.

Bodyapplication/json
IDstring, <= 100 charactersread-only
Example:""
Namestring, <= 100 characters
Example:""
Adminboolean
Default:false
Example:false
Acceptedbooleanread-only

Updated when accepted.

Default:false
Example:false
ExpirationDatestring, (date-time)

ExpirationDate defaults to 30 days from create, maximum 1 year.

Example:"2018-01-01T00:00:00-06:00"
xpobject
Example:
{}
Response
{ "ID": "", "Name": "", "Admin": false, "Accepted": false, "ExpirationDate": "2018-01-01T00:00:00-06:00", "xp": {} }