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 @@
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:
In this scenario, you should take the following steps:
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
- Payload
Content typeapplication/vnd.api+jsonExample{- "order": {
- "trackingProvider": "ups",
- "trackingNumber": "123456"
}
}
Response samples
- 200
- 401
- 403
- 406
- 415
- 422
Content typeapplication/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": {
- "availableShippingMethods": [
- "custom",
- "ankorstore"
], - "shipToAddress": {
- "name": "John Smith",
- "organisationName": "Test",
- "street": "Test Street",
- "city": "Commentry",
- "postalCode": "03633",
- "countryCode": "FR"
}, - "expectedShippingDates": {
- "minimum": "2022-03-22T00:00:00+00:00",
- "maximum": "2022-03-24T23:59:59+00:00"
}, - "provider": "ups",
- "tracking": {
- "number": "12345",
}, - "latestQuote": {
- "id": "5cc76f26-0f5d-1ecb-a0d6-0242ac170009",
- "provider": "custom",
- "rateAmount": {
- "amount": 1359,
- "currency": "EUR"
}, - "rateProvider": "ankorstore",
- "shippingCostsOverview": {
- "amount": 1037,
- "currency": "EUR",
- "type": "refund"
}
}, - "parcels": [
- {
- "length": 30,
- "width": 60,
- "height": 40,
- "weight": 16500,
- "distanceUnit": "cm",
- "massUnit": "g",
- "trackedPackage": null
}, - {
- "length": 30,
- "width": 60,
- "height": 40,
- "weight": 20000,
- "distanceUnit": "cm",
- "massUnit": "g",
- "trackedPackage": null
}
], - "transaction": null
}
}
}
}