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:

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

Properties

Name Type Description Additional
allowOrderDetailsOnCheckoutConfirmation boolean

Allow order details on checkout confirmation

Optional
bannerInvoice string

Invoice banner

Optional
bannerOrderConfEmail string

Order confirmation banner

Optional
baseProduct string

Product ID of 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 store

Optional
dbVersion int64 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
emailSenderOverride string

Value to used to build email sender; for example, if set to xxx, the sender will be: noreply.xxx@nexway.com

Optional
fallbackCartCountry string

Fallback cart country

Optional
forceGeoipLocalization boolean

Limit end-user country to GeoIP location

Optional
gtmId string

Google Tag Manager ID

Optional
hostnames[] array of string

List of hostnames for accessing cart and end-user portal

id string Optional
logoFavicon string

Favicon logo

Optional
logoStore string

Store logo

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
Optional
storeWebsite string

Store website

Optional
targetNonRecurrentPaymentMethodsForSubscriptions string

Target non-recurrent payment methods for subscriptions

Possible values are:

  • EVERYBODY
  • NOBODY
  • PROFESSIONAL
  • COMPANY
Optional
thankYouDesc object

Thank you description

Optional
thankYouDesc.<key> map of string Optional
updateDate date-time Optional

Authorisation

You need to have a valid JWT to access 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

store

store

Request Content-Type
Response Content-Type

Choose an authorisation method:

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