Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | (% class="auto-cursor-target" %) | ||
| 2 | \\ | ||
| 3 | |||
| 4 | |=((( | ||
| 5 | Method | ||
| 6 | )))|=((( | ||
| 7 | URL | ||
| 8 | )))|=((( | ||
| 9 | Example | ||
| 10 | ))) | ||
| 11 | |((( | ||
| 12 | GET | ||
| 13 | )))|((( | ||
| 14 | /api/v1/shops/<shopId> | ||
| 15 | )))|((( | ||
| 16 | [[https:~~/~~/api.spreadshirt.net/api/v1/shops/100488332?mediaType=json>>url:https://api.spreadshirt.net/api/v1/shops/100488332?mediaType=json||shape="rect"]] | ||
| 17 | ))) | ||
| 18 | |||
| 19 | \\ | ||
| 20 | |||
| 21 | This resource is probably only relevant for somewhat generic implementations because it allows them to access a shop's name and localization settings. | ||
| 22 | |||
| 23 | \\ | ||
| 24 | |||
| 25 | {{code language="js" title="Example Payload"}} | ||
| 26 | { | ||
| 27 | "href" : "https://api.spreadshirt.net/api/v1/shops/100488332", | ||
| 28 | "id" : "100488332", | ||
| 29 | "name" : "shop-api-migration-example", | ||
| 30 | "descriptionName" : "shop-api-migration-example", | ||
| 31 | "country" : | ||
| 32 | { | ||
| 33 | "href" : "https://api.spreadshirt.net/api/v1/countries/1", | ||
| 34 | "id" : "1" | ||
| 35 | }, | ||
| 36 | "language" : | ||
| 37 | { | ||
| 38 | "href" : "https://api.spreadshirt.net/api/v1/languages/1", | ||
| 39 | "id" : "1" | ||
| 40 | }, | ||
| 41 | "currency" : | ||
| 42 | { | ||
| 43 | "href" : "https://api.spreadshirt.net/api/v1/currencies/1", | ||
| 44 | "id" : "1" | ||
| 45 | } | ||
| 46 | } | ||
| 47 | {{/code}} | ||
| 48 | |||
| 49 | (% class="auto-cursor-target" %) | ||
| 50 | \\ |