Update a store

Update an existing store entry

Request

PUT https://api.nexway.store/stores/{id}

Path parameters

Parameter name Value Description Additional
id string

id

Required

Query parameters

Parameter name Value Description Additional
version int64

version

Request body

The request body takes a complete Store resource, containing the following writable properties:

{
    "bannerInvoice": "string",
    "bannerOrderConfEmail": "string",
    "baseProduct": "string",
    "blackListedCountries": [
        "string"
    ],
    "blackListedPaymentMethods": [
        "string"
    ],
    "createDate": "date-time",
    "createEndUserWithoutSubscription": "boolean",
    "customerId": "string",
    "dbVersion": "int64",
    "defaultCustomerCareEmail": "string",
    "defaultLocale": "string",
    "designs": {
        "checkout": {
            "i18n": "string",
            "layout": "string",
            "theme": "string"
        },
        "endUserPortal": {
            "i18n": "string",
            "layout": "string",
            "theme": "string"
        }
    },
    "fallbackCartCountry": "string",
    "forceGeoipLocalization": "boolean",
    "gtmId": "string",
    "hostnames": [
        "string"
    ],
    "id": "string",
    "localizedCustomerCareEmails": {
        "<key>": "string"
    },
    "logoFavicon": "string",
    "logoStore": "string",
    "modelVersion": "string",
    "name": "string",
    "promoteOneClickPayment": "boolean",
    "saleLocales": [
        "string"
    ],
    "status": "string",
    "updateDate": "date-time"
}

Properties

Name Type Description Additional
bannerInvoice string

Invoice banner

Optional
bannerOrderConfEmail string

Order confirmation banner

Optional
baseProduct string

Product ID of the store

Optional
blackListedCountries[] array of string

List of countries not authorized for this store

Optional
blackListedPaymentMethods[] array of string

List of payment methods not authorized for this store

Optional
createDate date-time Optional
createEndUserWithoutSubscription boolean

Create an end-user whatever the product type bought (Permanent / Subscription)

Optional
customerId string

Customer ID of the store

Optional
dbVersion int64 Optional
defaultCustomerCareEmail string

Customer care email

Optional
defaultLocale string

Store default locale

designs object Designs Optional
designs.checkout object Design Optional
designs.checkout.i18n string

Name of the set of i18n files to use in this context

Optional
designs.checkout.layout string

Name of the layout to use in this context

Optional
designs.checkout.theme string

Name of the theme to use in this context

Optional
designs.endUserPortal object Design Optional
designs.endUserPortal.i18n string

Name of the set of i18n files to use in this context

Optional
designs.endUserPortal.layout string

Name of the layout to use in this context

Optional
designs.endUserPortal.theme string

Name of the theme to use in this context

Optional
fallbackCartCountry string

Fallback cart country

Optional
forceGeoipLocalization boolean

Limit the enduser Country to the geoip localization

Optional
gtmId string

Google Tag Manager ID

Optional
hostnames[] array of string

List of hostnames for accessing the cart and the end-user portal

id string Optional
localizedCustomerCareEmails object

Customer care email by locale

Optional
localizedCustomerCareEmails.<key> map of string Optional
logoFavicon string

Favicon logo

Optional
logoStore string

Store logo

Optional
modelVersion string Optional
name string

Store name

promoteOneClickPayment boolean

Promote one-click payment

Optional
saleLocales[] array of string

Locale where store is available

status string

Store status

Possible values are:

  • ENABLED
  • DISABLED
  • DELETED
  • ORPHANED
Optional
updateDate date-time Optional

Authorisation

You need to have a valid JWT to access to this API. Please read JWT Authentication.

This request requires the use of one of following authorisation methods: OAuth2.

Response

The following HTTP status codes may be returned, optionally with a response resource.

Status code Description Resource
200 OK

Success

Store
401 Unauthorized

Unauthorized

403 Forbidden

Forbidden

404 Not Found

Not Found

500 Internal Server Error

Failure


Explore this API

id

id

version

version

domain

domain

Request Content-Type
Response Content-Type

Choose an authorisation method:

Access Token Access token to be used for request
Try it out!