Stores
post/v1/stores

Request

  • Base URL
    https://api.aghanim.com/s2s
  • URL
    https://api.aghanim.com/s2s/v1/stores
  • Auth
    HTTP bearer

Request body

namestring required

The name of the store, used for display purposes.

descriptionstring required

The description of the store, such as its purpose, features, or additional details.

keystring nullable

The key of the store.

type'default' | 'special' | 'rotation' | 'limited_stock' | 'webhook' required
start_atinteger nullable

The start time of the store in Unix timestamp (seconds) when it becomes available to users.

end_atinteger nullable

The end time of the store in Unix timestamp (seconds) when it closes and is no longer accessible.

Response

Successful Response

namestring required

The name of the store, used for display purposes.

descriptionstring required

The description of the store, such as its purpose, features, or additional details.

keystring nullable

The key of the store.

type'default' | 'special' | 'rotation' | 'limited_stock' | 'webhook' required
start_atinteger nullable

The start time of the store in Unix timestamp (seconds) when it becomes available to users.

end_atinteger nullable

The end time of the store in Unix timestamp (seconds) when it closes and is no longer accessible.

idstring required
current_purchase_countinteger

Changes

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • warning

      the // request property's maxLength was set to 32

    • warning

      the // request property's maxLength was set to 32