Stores

Patch store - update only some values in request

patch/api/Stores/PatchStore

Request

  • Base URL: https://api.omnium.no (the document declares no server; this is the origin it was published from)
  • URL: https://api.omnium.no/api/Stores/PatchStore
  • Auth: API key in header Authorization

Request body

idstring nullable

Store ID (Unique ID)

namestring nullable

Store or warehouse name

storeGroupIdstring nullable

Store group ID

availableOnMarketsstring[] nullable

A list of market ids

phoneNumberstring nullable

Store phone number

emailstring nullable

Store e-mail

commentstring nullable

Comment or description of the store

createdstring date-time nullable

Date store is created (utc)

modifiedstring date-time nullable

Date store is modified (utc)

urlstring nullable

Store URL (URL to home page, web shop, etc)

latitudestring nullable

Location latitude

longitudestring nullable

Location longitude

googlePlaceIdstring nullable

ID of Google Place (optional)

useCustomPickLimitsboolean nullable

Indicates if this store uses custom pick limits instead of global settings

storePickLimitstring nullable

Time limit for store to pick an order

storeExtendedPickLimitstring nullable

Extended time limit for store to pick an order

customerPickupDeadlineLimitstring nullable

Time limit for customer to pick up their order

externalIdsstring[] nullable

Store IDs from external systems

isWarehouseboolean nullable

True if store can have inventory

isPrimaryWarehouseboolean nullable

True if this is a primary company warehouse

isPublicVisibleboolean nullable

True if store information should be visible to end customers

isWebWarehouseboolean nullable

True if warehouse inventory should be available for sale on web

isPrimaryStoreboolean nullable

True if this store is the primary store

shortDescriptionstring nullable

Short store description

descriptionstring nullable

Full store description

imageUrlstring nullable

Url to store image

logoUrlstring nullable

Url to store logo

notificationEmailAddressesstring[] nullable

Email addresses used for notifications(recipient)

notificationPhoneNumbersstring[] nullable

Phone numbers used for notifications(recipient)

documentFooterstring nullable

Footer in documents like order receipt pdf. If store does not have value, fallback to document footer on market

isInactiveboolean nullable

Store is inactive (soft delete)

storeRoleIdsstring[] nullable

Roles the store has

organizationalNumberstring nullable

Organizational number of the store

accountingDimensionCodestring nullable

Store dimension/account code emitted on accounting postings (e.g. inter-store cost-transfer lines). Falls back to the store id when not set.

stockBuffernumber nullable

Stock buffer quantity subtracted from available inventory for this store. Null leaves the existing value unchanged (use OmniumStore PUT to clear back to market/global fallback).

Example request

{
  "mondayOpeningHours": {
    "openFrom": "00:00:00",
    "openTo": "00:00:00"
  },
  "tuesdayOpeningHours": {
    "openFrom": "00:00:00",
    "openTo": "00:00:00"
  },
  "wednesdayOpeningHours": {
    "openFrom": "00:00:00",
    "openTo": "00:00:00"
  },
  "thursdayOpeningHours": {
    "openFrom": "00:00:00",
    "openTo": "00:00:00"
  },
  "fridayOpeningHours": {
    "openFrom": "00:00:00",
    "openTo": "00:00:00"
  },
  "saturdayOpeningHours": {
    "openFrom": "00:00:00",
    "openTo": "00:00:00"
  },
  "sundayOpeningHours": {
    "openFrom": "00:00:00",
    "openTo": "00:00:00"
  },
  "additionalOpeningHours": [
    {
      "openingHours": {
        "openFrom": "00:00:00",
        "openTo": "00:00:00"
      }
    }
  ],
  "storePickLimit": "00:00:00",
  "storeExtendedPickLimit": "00:00:00",
  "customerPickupDeadlineLimit": "00:00:00"
}

Response

Store updated successfully

isModifiedboolean
totalCountinteger
updatedCountinteger
unchangedCountinteger
notFoundCountinteger
errorCountinteger
errorMessagestring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.