Create or update a product collection

Request

Only available to Buyer Users.

Security
OAuth2(Required scopes: FullAccessShopper)
Path
productCollectionIDstringrequired

ID of the product collection.

Bodyapplication/jsonrequired
Namestring, <= 100 charactersrequired
Example:""
IDstring, <= 100 characters
Example:""
xpobject
Example:
{}
AccessLevelstring(AccessLevel)
Enum:"Private""Public""Shareable"
Example:"Private"
curl -i -X PUT \
  'https://api.ordercloud.io/v1/me/productcollections/{productCollectionID}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "ID": "",
    "Name": "",
    "xp": {},
    "AccessLevel": "Private"
  }'

Responses

Only available to Buyer Users.

Bodyapplication/json
IDstring, <= 100 characters
Example:""
Namestring, <= 100 characters
Example:""
xpobject
Example:
{}
AccessLevelstring(AccessLevel)
Enum:"Private""Public""Shareable"
Example:"Private"
Response
{ "ID": "", "Name": "", "xp": {}, "AccessLevel": "Private" }