Skip to main content
Version: 0.4.1

Order Desk

Order Desk helps you automate and streamline your order management workflow.

You can connect Anedot to Order Desk by going to Settings > Integrations .


Connect Anedot to Order Desk

  1. Select which Action Pages you want to sync with Order Desk (default: all Action Pages.

  2. Optionally, you can enter a comma-separated list of Action Page IDs that you would like excluded from the Order Desk.

  3. Optionally, you can also scope the integration to send only team-specific data to the Order Desk (if no team is selected, it will sync all Action Pages specified in the fields above).

  4. Enter your Order Desk API Key.

    1. Please contact Order Desk support if you cannot find it in your Order Desk system.
  5. Enter your Order Desk Store ID .

  6. Optionally, you can enter your hidden fields for order-items metadata via a comma-separated list).

  7. Once you save the credentials, you are all set!

The Action Pages, Team, and credentials can be modified at any time post-setup.


Data Relays

  • We only send relays for financial pages.
  • Push Unsent (failed donations, all donations) + date range for relays works for all Action Pages.
  • If there are 5 failed relay attempts in a row, the integration is marked “inactive” and no longer attempts relays.

Field Mapping

Anedot FieldOrder Desk Field
emailemail
“paymentMethod cardMonth / paymentMethod cardYearcc_exp
- address city phone address region "" address country address {line1} address {line2} lastName firstName address postalCodecustomer / shipping { city phone state company country address1 address2 last_name first_name postal_code }
(Donation) idsource_id
“0”tax_total
created_atdate_added
- totalAmount (x100) "true" (Donation) frequency "GOAA" ( if submission has associated products, otherwise: "") "1" "noship"order_items { price is_donation donation_frequency donation_subaccount quantity delivery_type }
totalAmount (x100)order_total
One of: VISA MASTERCARD DISCOVER AMEX AMERICANEXPRESS EFT ( if bank account ) PAYPALpayment_type
- actionPagesFund identifier "ANEDOT" (Donation) id email source_code "CHECKING" or "SAVINGS" account id "xxxxx + cardLastFour" ( eg: "xxxxx1234" ) (Commitment) id totalAmount (x100) ( if commitment is present )order_metadata{ fund source order_id SSO_Ping_id source_code eft_account_type anedot_account_uid eft_account_number anedot_commitment_uid anedot_commitment_amount }
“0”shipping_total
“FREE”shipping_method
“xxxxxxxxxxxx + cardLastFour” ( eg: “xxxxxxxxxxxx1234” )cc_number_masked
totalAmount (x100)processor_balance

Payload Data

Request Headers

`{``}` 

Request Body

`{`  
"email": "[[email protected]](/cdn-cgi/l/email-protection)",
"cc_exp": "12/2034",
"customer": `{`
"city": "New Orleans",
"phone": "2252501301",
"state": "LA",
"company": "",
"country": "US",
"address1": "1340 Poydras Street",
"address2": null,
"last_name": "Dot",
"first_name": "Annie",
"postal_code": "70113"
`}`,
"shipping": `{`
"city": "New Orleans",
"phone": "2252501301",
"state": "LA",
"company": "",
"country": "US",
"address1": "1340 Poydras Street",
"address2": null,
"address3": "",
"address4": "",
"last_name": "Dot",
"first_name": "Annie",
"postal_code": "70113"
`}`,
"source_id": "dddc78757b4fffb4ba67d",
"tax_total": 0,
"date_added": "2023-02-17 15:18:02",
"order_items": [`{`
"price": 50.0,
"metadata": `{`
"is_donation": "true",
"donation_frequency": "once",
"donation_subaccount": null
`}`,
"quantity": 1,
"delivery_type": "noship"
`}`],
"order_total": 50.0,
"payment_type": "MASTERCARD",
"order_metadata": `{`
"fund": "1001",
"source": "ANEDOT",
"order_id": "dddc78757b4fffb4ba67d",
"SSO_Ping_id": "[[email protected]](/cdn-cgi/l/email-protection)",
"source_code": "stub",
"eft_account_type": "",
"anedot_account_uid": "aa3480c1cb0b039147824",
"eft_account_number": "",
"anedot_commitment_uid": null,
"anedot_commitment_amount": null
`}`,
"shipping_total": 0,
"shipping_method": "FREE",
"cc_number_masked": "xxxxxxxxxxxx5454",
"processor_balance": 50.0
`}`

Response Body (Success)

`{`  
"order": `{`
"id": "3866382274",
"email": "[[email protected]](/cdn-cgi/l/email-protection)",
"cc_exp": "12/2034",
"customer": `{`
"city": "New Orleans",
"phone": "2252501301",
"state": "LA",
"company": "",
"country": "US",
"address1": "1340 Poydras Street",
"address2": "",
"last_name": "Dot",
"first_name": "Annie",
"postal_code": "70113"
`}`,
"shipping": `{`
"city": "New Orleans",
"phone": "2252501301",
"state": "LA",
"company": "",
"country": "US",
"address1": "1340 Poydras Street",
"address2": "",
"address3": "",
"address4": "",
"last_name": "Dot",
"first_name": "Annie",
"postal_code": "70113"
`}`,
"tag_name": "",
"folder_id": 268383,
"source_id": "dddc78757b4fffb4ba67d",
"tag_color": "",
"tax_total": 0,
"date_added": "2023-02-17 15:18:02",
"ip_address": "",
"customer_id": "",
"email_count": "46",
"order_items": [`{`
"id": "260562913",
"code": "",
"name": "",
"price": 50,
"weight": 0,
"metadata": `{`
"ship": "no ship",
"is_donation": "true",
"donation_frequency": "once",
"donation_subaccount": ""
`}`,
"quantity": 1,
"category_code": "",
"delivery_type": "noship",
"variation_list": [],
"fulfillment_method": ""
`}`],
"order_notes": [],
"order_total": 50,
"source_name": "Order Desk",
"date_updated": "2023-02-17 15:18:19",
"payment_type": "MASTERCARD",
"refund_total": 0,
"weight_total": 0,
"checkout_data": `{`
"back_order_cancel_date": "240217"
`}`,
"discount_list": [],
"product_total": 50,
"discount_total": 0,
"fulfillment_id": "",
"handling_total": 0,
"order_metadata": `{`
"fund": "1001",
"source": "ANEDOT",
"order_id": "dddc78757b4fffb4ba67d",
"SSO_Ping_id": "[[email protected]](/cdn-cgi/l/email-protection)",
"source_code": "stub",
"eft_account_type": "",
"json_post_in_body": "1",
"anedot_account_uid": "aa3480c1cb0b039147824",
"eft_account_number": "",
"anedot_commitment_uid": "",
"anedot_commitment_amount": ""
`}`,
"payment_status": "Approved",
"quantity_total": 1,
"return_address": `{`
"city": "",
"name": "",
"phone": "",
"state": "",
"title": "",
"company": "",
"country": "",
"address1": "",
"address2": "",
"postal_code": ""
`}`,
"shipping_total": 0,
"order_shipments": [],
"shipping_method": "FREE",
"cc_number_masked": "xxxxxxxxxxxx5454",
"fulfillment_name": "",
"processor_balance": 50,
"previous_folder_id": "119169",
"processor_response": ""
`}`,
"status": "success",
"execution_time": "5.4832 seconds"
`}`

Response Body (Failure)

`{`  
"status": "error",
"message": "Order dddc78757b4fffb4ba67d already imported.",
"execution_time": "0.0168 seconds",
"existing_order_id": 400504278
`}`

Response Body (Error)

`{``}` 

Response Status (Success)

201 

Response Status (Failure)

400 

Response Status (Error)

null 

Related Articles

Aegis Aristotle Campaign Monitor Trail Blazer Email Octopus