Skip to content
Navigation

Moves an event session or changes its place.

PATCH
https://api.sherpo.io/merchant/v1/stores/{store}/products/{product}/sessions/{session}

Authorization

  • bearer
    HTTP
    required

Path parameters

  • store
    string
    required

    The store's id.

  • product
    string
    required

    An id, or slug:<slug>.

    minLength: 1
  • session
    string
    required
    minLength: 1

Header parameters

  • Idempotency-Key
    optional
    string

    Repeats within 24 hours answer the first result; the same key with other arguments is a conflict.

    maxLength: 255 · minLength: 1 · pattern: ^[\x21-\x7E]+$

Request body JSON optional

  • starts_at
    optional
    string

    When it starts, an ISO 8601 timestamp.

    pattern: ^(\d{4})-(\d{2})-(\d{2})(?:T(\d{2}):(\d{2})(?::(\d{2})(?:\.\d{1,3})?)?(Z|[+-]\d{2}:\d{2}))?$
  • ends_at
    optional
    string

    When it ends, after it starts, an ISO 8601 timestamp.

    pattern: ^(\d{4})-(\d{2})-(\d{2})(?:T(\d{2}):(\d{2})(?::(\d{2})(?:\.\d{1,3})?)?(Z|[+-]\d{2}:\d{2}))?$
  • time_zone
    optional
    string

    The IANA time zone it is shown in, e.g. Europe/Rome.

    maxLength: 64 · minLength: 1
  • venue
    optional

    Where it takes place in person, trimmed, with no line break or control character.

    One of the following:

    • string
    • null
  • online_label
    optional

    How it is joined online, e.g. Zoom: a label everyone sees, never a link, trimmed, with no line break or control character.

    One of the following:

    • string
    • null

Returns

200

Moves an event session or changes its place.

JSON
  • id
    string
    required
  • product_id
    string
    required
  • starts_at
    string
    required
  • ends_at
    string
    required
  • time_zone
    string
    required

    An IANA time zone, e.g. Europe/Rome.

  • venue
    required

    Where it takes place in person, or null for none.

    One of the following:

    • string
    • null
  • online_label
    required

    How it is joined online, e.g. Zoom, or null for none.

    One of the following:

    • string
    • null
  • created_at
    string
    required
  • updated_at
    string
    required
JSON
  • type
    string
    required
    format: uri
  • title
    string
    required
  • status
    integer
    required
  • detail
    string
    required
  • code
    optional
    string
  • context
    optional
    object
  • reached_core
    optional
    boolean
  • core_answer
    optional
    string

Type to search…

↑↓ navigate↵ selectEsc close