FrendsPlatform / FrendsTemplates

0 stars 0 forks source link

Shopify to Salesforce - Orders #99

Open jefim opened 2 weeks ago

jefim commented 2 weeks ago

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

GET /admin/api/2024-01/orders.json
Host: your-store.myshopify.com
X-Shopify-Access-Token: your-access-token
POST /services/data/v57.0/sobjects/Order
Host: your-salesforce-instance.salesforce.com
Authorization: Bearer your-access-token
Content-Type: application/json

{
  "OrderNumber": "1001",
  "AccountId": "001xx000003DGbYAAW",
  "TotalAmount": 99.99,
  "Status": "New",
  "OrderItems": [
    {
      "Product2Id": "01txx000000XQ1eAAG",
      "Quantity": 2,
      "UnitPrice": 49.99
    }
  ]
}
sleekplan[bot] commented 2 weeks ago

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