Global InfraGlobal Infra Cloud
Book Store

Create a store

Creates a new store.

POST
/api/v1/giservices/bookstore/stores

Authorization

AuthorizationBearer <token>

Okta Bearer token

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api/v1/giservices/bookstore/stores" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "attributes": {      "digicode": 1000,      "location": "string",      "name": "string"    }  }'
{
  "id": "string",
  "name": "string",
  "description": "string",
  "service": "string",
  "attributes": {
    "digicode": 1000,
    "isbns": [
      "string"
    ],
    "location": "string",
    "name": "string",
    "opening_hours": {
      "days": [
        "Monday"
      ],
      "end": "string",
      "start": "string"
    },
    "path": "string"
  },
  "platform": "string",
  "region": "string",
  "tenant": "string"
}
Empty
Empty
Empty
Empty