Retrieving Retailer Configurations

Required Permission

can-read-configurations

See Auth* (scopes).

Request

GET /configurations/<configuration ID>
Authorization: Bearer <token>

Response

HTTP/1.1 200 OK

Example response body:

{
  "configurationId": "ff99f5be-53c7-48b0-831c-82efd3cadf19",
  "user": "test",
  "url": "http://test1.metapack.com/api/4.x/services",
  "enabled": true,
  "repositoryType": "DM",
  "retailerId": "ff99f5be-53c7-48b0-831c-82efd3cadf19",
  "shipperId": "a9b64a19-8543-476d-8522-243a92330813",
  "apiKey": "ff99f5be-53c7-48b0-831c-82efd3cadf19",
  "dateCreated": "2014-08-15T15:55Z",
  "links": [
    {
      "rel": "self",
      "href": "/configurations/ff99f5be-53c7-48b0-831c-82efd3cadf19"
    }
  ]
}

Failure

Unexistent configuration ID:

HTTP/1.1 404 NOT FOUND

User doesn't have the required permission:

HTTP/1.1 403 FORBIDDEN

Other errors:

HTTP/1.1 500 INTERNAL SERVER ERROR

results matching ""

    No results matching ""