POST v1​/ sell​/shop​/sections

Endpoint to create a new Section in the current Shop.

Instant gratification

Do it yourself from console!

Assuming that you have a valid token previously exported into BEARER env variable

Try to create a new Section
curl -X POST -i -H "Authorization: Bearer $BEARER" \
https://api.blomming.com/v1/sell/shop/sections \
-d '{ "name":"a new section" }'

Request

Example Request

{
  "name": "mysection"
}

Request Parameters

  • name

    Section name to be created.

    • Required: yes
    • Type: string
    • Example: "mysection"

Response

Example Response

{
  "id": 1,
  "url": "http://example.org/sell/shop/sections/1/items"
}

Response Parameters

  • id

    The ID of the newly created Section.

    • Required: yes
    • Type: integer
    • Example: 1
  • url

    The URI to fetch the newly created Section.

    • Required: yes
    • Type: string
    • Format: uri
    • Example: "http://example.org/sell/shop/sections/1/items"

Response Codes

Successful Response Codes

Failure Response Codes