Nyehandel
    Nyehandel
    • Introduction
    • Getting started
    • Webhooks
    • API Reference
    • Order
      • Get order
        GET
      • Get orders
        GET
      • Create order
        POST
      • Deliver order
        POST
    • Shipping Method
      • Get Shipping methods
        GET
    • Product
      • Relation between products and variants
      • Get products
        GET
      • Update products batch
        PUT
      • Create products batch
        POST
      • Create product
        POST
      • Update product
        PUT
      • Create variant
        POST
      • Find product by sku or id
        GET
      • Delete product
        DELETE
    • Variant
      • Update variant batch
        PUT
      • Update variant
        PUT
      • Delete product variant
        DELETE
      • Find variant
        GET
    • Payment Method
      • Get Payment methods
        GET
    • Customer
      • Get Customer
        GET
      • Get Customers
        GET
      • Create Customer
        POST
    • Category
      • Create category
      • Update category
      • Get category
      • Delete category
      • Get categories
    • Currency
      • Get currencies
    • Headless
      • Pages
        • Get Page
        • Get Pages
      • Categories
        • Get Category
        • Get Pages
      • Startpage
      • System

    Getting started

    Base URL#

    The base url for the API is https://api.nyehandel.se/api/v2

    Authentication#

    To authenticate, you will need to specify the X-identifier as well as a valid Bearer token.
    This can be obtained by following these instructions: creating an API key from Nyehandel.

    Headers#

    The API uses JSON for both receiving and sending data. You should always have the following headers set:
    Content-Type: application/json
    Accept: application/json

    Language#

    If not specified, the API will use the default language of the store (By default sv). To use another language, add the header X-Language, with a valid language code (like "en" for English, "fr" for French).
    For example, you can declare
    X-Language: en to both fetch and store translatable data in english.
    Previous
    Introduction
    Next
    Webhooks
    Built with