From dce155d3fdcd8bffecccf96c5e3f43d24391c6a1 Mon Sep 17 00:00:00 2001 From: roman-kovalev-aks Date: Fri, 10 Nov 2023 10:28:14 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20main=20from=20@=20ankorstore/a?= =?UTF-8?q?nkorstore@3042f5445b3222e4582fc4fd5de286ba5dad54bd=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pull/36781/index.html | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/pull/36781/index.html b/pull/36781/index.html index b964723..e97183f 100644 --- a/pull/36781/index.html +++ b/pull/36781/index.html @@ -974,6 +974,12 @@

Rate Limiting

  • Testing - helper endpoints for testing and data generation.
  • Webhook Subscription

    Rate Limiting Each webhook subscription has its own secret key which can be found in the particular webhook subscription settings.</p> <h3 id="retries">Retries</h3> <p>If the response status code is not a <code>2xx</code> then we will retry the webhook for 5 attempts with an exponential backoff.</p> -<div class="warning"> - -<p>Please note, that webhook notifications are only available for <em>Internal Orders</em>. -The possibility to subscribe to the <em>External Orders</em> events will be added soon.</p> -</div> ">

    ℹ️ Ankorstore provides a mechanism of webhook notifications to notify you of events that happen on the platform.

    +
    + +

    Please note, that webhook notifications are only available for Internal Orders. +The possibility to subscribe to the External Orders events will be added soon.

    +
    +

    Subscribing

    To subscribe to events please go to the Applications section in your account area.

    Format

    @@ -1080,11 +1087,6 @@

    Signature

    Each webhook subscription has its own secret key which can be found in the particular webhook subscription settings.

    Retries

    If the response status code is not a 2xx then we will retry the webhook for 5 attempts with an exponential backoff.

    -
    - -

    Please note, that webhook notifications are only available for Internal Orders. -The possibility to subscribe to the External Orders events will be added soon.

    -

    Testing API

    Available operations on Interna </tr> <tr> <td>Email</td> -<td><a href="mailto:&#106;&#x6f;&#x68;&#x6e;&#x40;&#97;&#x63;&#109;&#x65;&#46;&#99;&#111;&#109;">&#106;&#x6f;&#x68;&#x6e;&#x40;&#97;&#x63;&#109;&#x65;&#46;&#99;&#111;&#109;</a></td> +<td><a href="mailto:&#x6a;&#x6f;&#x68;&#x6e;&#64;&#97;&#99;&#x6d;&#101;&#46;&#99;&#x6f;&#109;">&#x6a;&#x6f;&#x68;&#x6e;&#64;&#97;&#99;&#x6d;&#101;&#46;&#99;&#x6f;&#109;</a></td> </tr> <tr> <td>Address</td> @@ -2516,7 +2518,7 @@

    A practical example

    Email -john@acme.com +john@acme.com Address @@ -3865,7 +3867,7 @@

    Pickup is not accepted

    " class="sc-iJuWdM sc-cBNeRQ gpkGbA casAkG sc-citwID bzkUsW">

    Unprocessable Entity : Data provided are invalid

    Request samples

    Content type
    application/vnd.api+json
    Example
    {
    • "order": {
      • "trackingProvider": "ups",
      • "trackingNumber": "123456"
      }
    }

    Response samples

    Content type
    application/vnd.api+json
    {
    • "jsonapi": {
      • "version": "1.0"
      },
    • "data": {
      • "type": "order",
      • "id": "1ecb023e-7ec0-6d5c-a477-0242ac170007",
      • "attributes": {
        • "status": "brand_confirmed",
        • "reference": 3434273911,
        • "brandCurrency": "EUR",
        • "brandNetAmount": 10229,
        • "brandTotalAmount": 10940,
        • "brandTotalAmountVat": 602,
        • "brandTotalAmountWithVat": 11542,
        • "brandRejectReason": null,
        • "retailerRejectReason": null,
        • "retailerCancellationRequestReason": null,
        • "billingName": "Charles Attan",
        • "billingOrganisationName": "Jumbo",
        • "billingStreet": "Kortricklaan 101",
        • "billingPostalCode": "8121 GW",
        • "billingCity": "Arnhem",
        • "billingCountryCode": "NL",
        • "submittedAt": "2022-03-17T13:19:33+00:00",
        • "shippedAt": null,
        • "brandPaidAt": null,
        • "createdAt": "2022-02-01T14:37:10+00:00",
        • "updatedAt": "2022-03-31T15:10:07+00:00",
        • "shippingMethod": "custom",
        • "shippingOverview": {
          }
        }
      }
    }