FrendsPlatform / FrendsTemplates

0 stars 0 forks source link

Shopify to Dynamics 365 - Order #66

Closed jefim closed 2 months ago

jefim commented 4 months ago

Sync order details (order ID, customer info, items, total price, order status) from Shopify to Dynamics 365.

Use Dynamics connector.

GET /admin/api/2024-01/orders.json
Host: your-store.myshopify.com
X-Shopify-Access-Token: your-access-token
POST /api/data/v9.1/salesorders
Host: your-dynamics-instance.api.crm.dynamics.com
Authorization: Bearer your-access-token
Content-Type: application/json

{
  "name": "Order 1001",
  "customerid": {
    "contactid": "00000000-0000-0000-0000-000000000001"
  },
  "totalamount": 99.99,
  "order_status": "New",
  "order_items": [
    {
      "productid": "00000000-0000-0000-0000-000000000002",
      "quantity": 2,
      "price": 49.99
    }
  ]
}
sleekplan[bot] commented 4 months ago

This issue has been linked to frends-templates.sleekplan.app/feedback/157974. You can follow the discussion there!