Customer - Shares
Get shares related to this store
get/v2/user/customer/stores/{storeId}/shares
Path parameters
storeIdstring guid required
Your store identifier
Headers
If-None-Matchstring
ETag value to identify the last known version of requested resource.
To avoid useless exchange, we recommend you to indicate the ETag you previously got from this operation.
If the ETag value does not match the response will be 200 to give you a new content, otherwise the response will be: 304 Not Modified, without any content.
For more details go to this link: http://tools.ietf.org/html/rfc7232#section-2.3
Response
The sharing list of the store
Example response
{
"links": {
"self": {
"href": "/v2/user/customer/stores/51afae05-277e-4902-8b17-5a811a23a2c6/shares",
"method": "GET"
},
"share": {
"href": "/v2/user/customer/stores/51afae05-277e-4902-8b17-5a811a23a2c6/shares",
"method": "POST",
"parameters": {
"email": {
"type": "string",
"in": "body",
"required": true
}
}
}
},
"shares": [
{
"userId": "8a7fbdec-9e71-472e-9974-27d5c1d57cf8",
"userRole": "User",
"links": {
"deleteShare": {
"href": "/v2/user/stores/51afae05-277e-4902-8b17-5a811a23a2c6/shares/277596c1-a5a9-4cce-9f34-b5906451a98f",
"method": "DELETE"
}
}
}
]
}