From 8d1b795e7e58103759381ac9d5e6c2d59bbd3164 Mon Sep 17 00:00:00 2001 From: Ankorstore-CI <82208712+Ankorstore-CI@users.noreply.github.com> Date: Fri, 24 Nov 2023 11:50:52 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20main=20from=20@=20ankorstore/a?= =?UTF-8?q?nkorstore@8a6367823d86d9c20ee82c4916552f8442914850=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/index.html b/index.html index e099b7a..b0e3c56 100644 --- a/index.html +++ b/index.html @@ -2243,7 +2243,7 @@

Available operations on Interna particular client&quot;. So after submission, the intent is either accepted or rejected by API, depending on the different factors (such as availability of the stock, etc.). More on this below.</p> <h4 id="preparing-for-external-order-creation">Preparing for External Order creation</h4> -<p>Usually, before sending the actual <code>Create External ORder</code> request, you need collect some information in order to make the request valid.</p> +<p>Usually, before sending the actual <code>Create External Order</code> request, you need collect some information in order to make the request valid.</p> <p>The request payload is described in details in the <a href="#tag/Ordering/operation/ordering-create-non-ankorstore-fulfillment-order">endpoint specification</a> but here we will take a general look at the necessary pieces of the information required for the request:</p> <ol> @@ -2291,7 +2291,7 @@

Available operations on Interna </tr> <tr> <td>Email</td> -<td><a href="mailto:&#x6a;&#111;&#104;&#110;&#x40;&#x61;&#x63;&#109;&#101;&#x2e;&#99;&#111;&#x6d;">&#x6a;&#111;&#104;&#110;&#x40;&#x61;&#x63;&#109;&#101;&#x2e;&#99;&#111;&#x6d;</a></td> +<td><a href="mailto:&#106;&#111;&#x68;&#110;&#64;&#x61;&#x63;&#109;&#101;&#x2e;&#x63;&#111;&#x6d;">&#106;&#111;&#x68;&#110;&#64;&#x61;&#x63;&#109;&#101;&#x2e;&#x63;&#111;&#x6d;</a></td> </tr> <tr> <td>Address</td> @@ -2318,7 +2318,7 @@

Available operations on Interna <p>In this scenario, you should take the following steps:</p> <h4 id="1-find-the-fulfillable-identifiers-for-the-given-products">[1] Find the fulfillable identifiers for the given products</h4> <p>This can be achieved by sending a request to the <a href="#tag/Catalog/operation/list-product-variants-with-stock">List Product Variants</a></p> -<pre><code><span class="token punctuation">[</span>GET<span class="token punctuation">]</span> <span class="token operator">/</span>api<span class="token operator">/</span>v1<span class="token operator">/</span>product<span class="token operator">-</span>variants +<pre><code><span class="token punctuation">[</span>GET<span class="token punctuation">]</span> <span class="token operator">/</span>api<span class="token operator">/</span>v1<span class="token operator">/</span>product<span class="token operator">-</span>variants<span class="token operator">?</span>filter<span class="token punctuation">[</span>sku<span class="token punctuation">]</span><span class="token operator">=</span>AB<span class="token operator">-</span><span class="token number">1234</span><span class="token punctuation">,</span>CD<span class="token operator">-</span><span class="token number">00</span><span class="token operator">-</span>XY </code></pre> <p>and finding the fulfillable identifiers for the desired products. </p> <p>As a result of this step, you should have the following information:</p> @@ -2424,7 +2424,7 @@

How to create External Order?

particular client". So after submission, the intent is either accepted or rejected by API, depending on the different factors (such as availability of the stock, etc.). More on this below.

Preparing for External Order creation

-

Usually, before sending the actual Create External ORder request, you need collect some information in order to make the request valid.

+

Usually, before sending the actual Create External Order request, you need collect some information in order to make the request valid.

The request payload is described in details in the endpoint specification but here we will take a general look at the necessary pieces of the information required for the request:

    @@ -2472,7 +2472,7 @@

    A practical example

    Email -john@acme.com +john@acme.com Address @@ -2499,7 +2499,7 @@

    A practical example

    In this scenario, you should take the following steps:

    [1] Find the fulfillable identifiers for the given products

    This can be achieved by sending a request to the List Product Variants

    -
    [GET] /api/v1/product-variants
    +
    [GET] /api/v1/product-variants?filter[sku]=AB-1234,CD-00-XY
     

    and finding the fulfillable identifiers for the desired products.

    As a result of this step, you should have the following information:

    @@ -3849,7 +3849,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": {
          }
        }
      }
    }