0% found this document useful (0 votes)
85 views

API List

The document describes endpoints and requests for an e-commerce API. It includes: 1. Endpoints for authentication, customer management, cart management, order creation, invoices, and order/cart item retrieval. 2. The HTTP methods, headers, and payload formats for requests to create customers, add/retrieve cart items, estimate shipping, set payment methods, create orders, and generate invoices. 3. Examples of payloads to authenticate, add items to a cart, set shipping/billing addresses, set payment methods, and create an order.

Uploaded by

wdpmagento
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
85 views

API List

The document describes endpoints and requests for an e-commerce API. It includes: 1. Endpoints for authentication, customer management, cart management, order creation, invoices, and order/cart item retrieval. 2. The HTTP methods, headers, and payload formats for requests to create customers, add/retrieve cart items, estimate shipping, set payment methods, create orders, and generate invoices. 3. Examples of payloads to authenticate, add items to a cart, set shipping/billing addresses, set payment methods, and create an order.

Uploaded by

wdpmagento
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 30

Name

integration/admin/token

default customer register


Login Customer Token

Create a quote id

Add items to cart


Set Carrier Methods
Set Payment Methods
Create an Order
Invoice Create
Invoice Print
get items in cart
show order item id
EndPoints

https://en-ae-stage.6tst.com/rest/V1/integration/admin/token

https://en-ae-stage.6tst.com/rest/V1/customers
https://en-ae-stage.6tst.com/rest/V1/integration/customer/token

https://en-ae-stage.6tst.com/rest/V1/carts/mine

https://en-ae-stage.6tst.com/rest/V1/carts/mine/items
https://en-ae-stage.6tst.com/rest/V1/carts/mine/estimate-shipping-m
https://en-ae-stage.6tst.com/rest/V1/carts/mine/shipping-inform
https://en-ae-stage.6tst.com/rest/V1/create-order2
https://en-ae-stage.6tst.com/rest/V1/custom/invoices
https://en-ae-stage.6tst.com/rest/V1/custom/invoice/print/5009152
https://en-ae-stage.6tst.com/rest/V1/carts/39288276/items
https://en-ae-stage.6tst.com/rest/V1/orders/1803096
Method

POST

POST
POST

POST

POST
POST
POST
POST
POST
GET
GET
GET
Header

Authorization:Bearer hje9gc51qju8m7saxh35dmca6sjtfvea
Content-Type:application/json

Authorization:Bearer 382qz5kin92b7ur7df06y4vkmaqrvbfq
Authorization:Bearer zlvsv1asbgdf5barhtnl0nycz49drq07

Authorization:Bearer eds0t3tgfqnmzz8agqgl7l81uj9pqi9b
Content-Type:application/json

Authorization:Bearer eds0t3tgfqnmzz8agqgl7l81uj9pqi9b
Authorization:Bearer eds0t3tgfqnmzz8agqgl7l81uj9pqi9b
Authorization:Bearer eds0t3tgfqnmzz8agqgl7l81uj9pqi9b
Content-Type:application/json
Authorization:Bearer eds0t3tgfqnmzz8agqgl7l81uj9pqi9b
Authorization:Bearer zlvsv1asbgdf5barhtnl0nycz49drq07
Authorization:Bearer zlvsv1asbgdf5barhtnl0nycz49drq07
Authorization:Bearer eds0t3tgfqnmzz8agqgl7l81uj9pqi9b
Authorization:Bearer eds0t3tgfqnmzz8agqgl7l81uj9pqi9b
Payload

{
"username":
"aditya_webdevelopmentpark",
"password": "124HQA*ARDRQau105912"
} "defaultBilling": true,
"firstname": "Julie",
"lastname": "Lawson",
"region": {
"regionCode": "NV",
"region": "Nevada",
"regionId": 39
},
"postcode": "89406",
"street": [
"3703 Wescam Court"
],
"city": "Fallon",
"telephone": "860-212-5597",
"countryId": "AE"
}
]
},
"password": "Wdp@234"
}
{
"username":
"[email protected]",
"password": "Wdp@1234"
}

none

{
"cartItem": {
"sku": "23KY5900010604_BLACK",
"qty": 2,
"quote_id": "39289677",
"product_option": {
"extension_attributes": {
"configurable_item_options": [
{
"option_id": "139",
"option_value": 21807
}
]
}
},
"extension_attributes": {}
}
}
to an empty string if it's not applicable.
"country_id": "AE", // ISO country
code for the United Arab Emirates (AE).
"street": [
"123 Oak Ave" // Replace with the
actual street address.
],
"postcode": "", // Replace with the
correct postal code if applicable in Dubai.
"city": "Dubai", // Replace with the
actual city name in Dubai.
"firstname": "Wdp",
"lastname": "Test",
"customer_id": 4,
"email": "[email protected]",
"telephone": "(512) 555-1111", // Replace
with the correct telephone number.
"same_as_billing": 1
}
}
"country_id": "AE", // ISO country
code for the United Arab Emirates (AE).
"street": [
"123 Oak Ave" // Replace with the
actual street address.
],
"postcode": "Abu Hail", // Replace
with the correct postal code if applicable in
Dubai.
"city": "Dubai", // Replace with the
actual city name in Dubai.
"firstname": "Jane",
"lastname": "Doe",
"email": "[email protected]",
"telephone": "512-555-1111"
},
"shipping_carrier_code": "fetchr",
"shipping_method_code": "fetchr"
}
}
{
"cart_id": "39289677",
"payment": {
"method": "msp_cashondelivery",
"data": {}
},
"edd_items": [
{
"sku": "23KY5900010604_BLACK",
"edd_date": "2023-09-30",
"cross_border": 1,
"intl_vendors": null
},
{
"sku": "DSW-428998-BRIGHT-MULTI",
"edd_date": "2023-09-30",
"cross_border": 0,
"intl_vendors": null
}
]
}
{
"entity": {
"order_increment_id": "500902471",
"store_code": "101",
"total_qty": 4,
"items": [
{
"oms_req_id": "1",
"order_item_id": 5954028,
"qty": 1
}
]
}
}

none
none
none

You might also like