Skip to main content

Allows to patch the store with information like the store team status.‚Äč

Allows to patch the store with information like the store team status.

Path Parameters
  • storeId string required

    Possible values: Value must match regular expression \d+

Request Body
  • name String which is the name of store.

    Possible values: <= 120 characters

  • regionId Identifier of region which manages and responsible for this store.
  • location object
    oneOf

  • lat float
  • lon float
  • address object
    oneOf

  • street String with street and street number.

    Possible values: <= 120 characters

  • city String with city name.

    Possible values: <= 50 characters

  • zipCode String with zip code of store.

    Possible values: <= 5 characters

  • publicInfo String with public information about the store which is visible for users which are looking for a store.

    Possible values: <= 200 characters

  • publicTime Enum which represents the expected pickup time range.

    Possible values: <= 4

    • 0: NOT_SET
    • 1: IN_THE_MORNING
    • 2: AT_NOON_IN_THE_AFTERNOON
    • 3: IN_THE_EVENING
    • 4: AT_NIGHT
  • categoryId Identifier of the store category.
  • chainId Identifier of the store chain.
  • cooperationStatus Enum which represents the current state of cooperation between foodsharing and store.
    • 0: UNCLEAR
    • 1: NO_CONTACT
    • 2: IN_NEGOTIATION
    • 3: COOPERATION_STARTING
    • 4: DOES_NOT_WANT_TO_WORK_WITH_US
    • 5:COOPERATION_ESTABLISHED
    • 6: GIVES_TO_OTHER_CHARITY
    • 7: PERMANENTLY_CLOSED
  • description String which describes the store.

    Possible values: <= 16777215 characters

  • contact object
    oneOf

  • name String with name of contact person for store.

    Possible values: <= 60 characters

  • phone String with phone number of contact person for store.

    Possible values: <= 50 characters

    // Check phone number format?

  • fax String with fax number of contact person for store.

    Possible values: <= 50 characters

    // Check phone number format?

  • email String with e-mail of contact person for store.

    Possible values: <= 60 characters

    // Check email format?

  • cooperationStart Date of cooperation between store and foodsharing.
  • calendarInterval Duration in seconds before user can register to a pickup slot before pickup.

    Possible values: <= 10000000000

    • 604800: 1 Week
    • 1209600: 2 Weeks
    • 1814400: 3 Weeks
    • 2419200: 4 Weeks
  • weight Enum which category of weight per pickup.

    Possible values: <= 7

    • 0: UNCLEAR
    • 1: 1-3 kg
    • 2: 3-5 kg
    • 3: 5-10 kg
    • 4: 10-20 kg
    • 5: 20-30 kg
    • 6: 40-50 kg
    • 7: more then 50 kg
  • effort Enum which represents the effort to create the cooperation betwee store and foodsharing.

    Possible values: <= 4

    • 0: NOT_SET
    • 1: NO_PROBLEM_AT_ALL
    • 2: AFTER_SOME_PERSUASION
    • 3: DIFFICULT_NEGOTIATION
    • 4: LOOKED_BAD_BUT_WORKED
  • showsSticker Boolean which mark store that they shows foodsharing sticker on the store.
  • publicity Boolean which represents that store allows using for foodsharing publicity.
  • teamStatus Enum which represent the state of searching members.

    Possible values: <= 2

    • CLOSED = 0 No new members accepted
    • OPEN = 1 Open for members
    • OPEN_SEARCHING = 2 Requires new members
  • options object
    oneOf

  • useRegionPickupRule Boolean which represents usage of the region for pickup slot allocation rule.
  • groceries integer[]
Responses

Store information

Loading...