Skip to content

List Pockets For Customer

Request

Retrieve all Pockets for a single Customer.

Security
HTTPBearer
Path
customer_idstring, (uuid)(Customer Id)required
Query
omit[]Array of strings or null(Omit[])
Any of:
unique
Array of strings
offsetinteger, >= 0(Offset)
Default:0
limitinteger, [ 0 .. 30 ](Limit)
Default:30
valuation_typeValuationType (string) or null(Valuation Type)
Any of:
string(ValuationType)
Enum:"rfq""jikonet"
filter[status]Array of strings, unique(Filter[Status])
Default:["PENDING","OPEN","FROZEN"]
Items Enum:"PENDING""OPEN""FROZEN""CLOSED"
Headers
x-jiko-idempotencystring, (uuid)(X-Jiko-Idempotency)required

A new UUID that you generate for each request, reads included. It is part of the request signature and prevents replay of a request. A value that was already sent in the last hour is rejected with 409 jiko.errors.DuplicateRequestError, even if the first request failed. When you retry a request, generate a new value and sign the request again.

x-jiko-signaturestring(X-Jiko-Signature)required

Base64-encoded HMAC-SHA256 hash of x-jiko-idempotency + request pathname + body, keyed with your shared secret. See Authentication for the full algorithm and a code sample.

curl -i -X GET \
  'https://your-partner-name.sandbox-api.jikoservices.com/api/v2/customers/{customer_id}/pockets/?omit%5B%5D=portfolio&offset=0&limit=30&valuation_type=rfq&filter%5Bstatus%5D=PENDING%2COPEN%2CFROZEN' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'x-jiko-idempotency: 497f6eca-6276-4993-bfeb-53cbbbba6f08' \
  -H 'x-jiko-signature: string'

Responses

Successful Response

Bodyapplication/json
offsetinteger(Offset)required
countinteger(Count)required
itemsArray of objects(Items)required

Customer pockets list

object_typestring(Object Type)
Default:"List"
Response
{ "offset": 0, "count": 1, "items": [ { … } ], "object_type": "List" }