(Quick Reference) Service: Show

Description: This web service return an existing price list details of the specified id in JSON format

URL:

https://BASE_URL/api/VERSION/priceLists/{id}

URL with external_id:

https://BASE_URL/api/VERSION/priceLists/reference/{id}

Method: GET

Parameters:

NameDescriptionTypeRequiredExample values
idid of the wanted price listLong/StringYes777

Success Output

Success case: response.status=200
{
    "id": 1,
    "name": "Retail price",
    "reference": "Ref-1",
    "cumulateWithPromotion": false,
 	"cumulateWithDiscount": true,
 	"isDefaultInOtherMobileOperation": false,
    "organization": "Lyon",
    "dateCreated": "2015-10-13T10:41:36Z",
    "lastUpdated": "2015-10-13T10:41:36Z"
}

Failure Output

Failure case:response.status = 404
{
    "error": "not_found",
    "error_description": "The price list with the id 99 doesn't exist."
}

Failure case:response.status = 400
{
    "error": "invalid_param_type",
    "error_description": "The type of parameter id you provided is not valid for this request."
}