Skip to content

Instantly share code, notes, and snippets.

@koemeet
Last active February 18, 2016 20:37
Show Gist options
  • Save koemeet/f027f347d6e47b64828e to your computer and use it in GitHub Desktop.
Save koemeet/f027f347d6e47b64828e to your computer and use it in GitHub Desktop.
{
"jsonapi":{
"version":"1.0"
},
"meta":{
"page":1,
"limit":6,
"pages":1,
"total":1
},
"links":{
"first":"http:\/\/shopblender.dev\/api\/promotions?criteria[channels][0]=1&criteria[workspace]=1&include=translations&limit=6&page=1&q=gekk*&sorting[id]=desc",
"last":"http:\/\/shopblender.dev\/api\/promotions?criteria[channels][0]=1&criteria[workspace]=1&include=translations&limit=6&page=1&q=gekk*&sorting[id]=desc",
"next":null,
"previous":null
},
"data":[
{
"type":"promotions",
"id":2,
"attributes":{
"code":"56c6293894a27",
"name":"sdfsdfsdf",
"description":"Die gekke promo",
"priority":0,
"exclusive":false,
"usage-limit":null,
"used":0,
"starts-at":null,
"ends-at":null,
"coupon-based":false,
"deleted-at":null,
"created-at":"2016-02-18T20:27:36+00:00",
"updated-at":"2016-02-18T20:29:49+00:00"
},
"links":{
"self":"\/api\/promotions\/2"
},
"meta":{
"highlights":{
"description":[
"Die <em class=\"highlight\">gekke<\/em> promo"
]
}
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment