Shop
Last modified by Shop Team on 2023/02/13 22:56
Method | URL | Example |
---|---|---|
GET | /api/v1/shops/<shopId> |
This resource is probably only relevant for somewhat generic implementations because it allows them to access a shop's name and localization settings.
Example Payload
{
"href" : "https://api.spreadshirt.net/api/v1/shops/100488332",
"id" : "100488332",
"name" : "shop-api-migration-example",
"descriptionName" : "shop-api-migration-example",
"country" :
{
"href" : "https://api.spreadshirt.net/api/v1/countries/1",
"id" : "1"
},
"language" :
{
"href" : "https://api.spreadshirt.net/api/v1/languages/1",
"id" : "1"
},
"currency" :
{
"href" : "https://api.spreadshirt.net/api/v1/currencies/1",
"id" : "1"
}
}
"href" : "https://api.spreadshirt.net/api/v1/shops/100488332",
"id" : "100488332",
"name" : "shop-api-migration-example",
"descriptionName" : "shop-api-migration-example",
"country" :
{
"href" : "https://api.spreadshirt.net/api/v1/countries/1",
"id" : "1"
},
"language" :
{
"href" : "https://api.spreadshirt.net/api/v1/languages/1",
"id" : "1"
},
"currency" :
{
"href" : "https://api.spreadshirt.net/api/v1/currencies/1",
"id" : "1"
}
}