Solved

Fulfilled Order Fulfillment Information Best Pracice

  • 6 February 2023
  • 2 replies
  • 191 views

Badge +1

We are building an integration with Klaviyo the Integrate a platform without a pre-built Klaviyo integration guide. 

In the Fulfilled Order example, it mentions adding the Fulfillment Information to the data. 

You can also track additional details about the fulfillment itself (e.g., tracking number, shipping method)

 

Is there a recommended object structure for the Fulfillment information that will be compatible with builtin templates or templates that Agencies use with other ecom systems (ie Shopify) to provide the tracking formation and link to the end customer?

I’m thinking we will pass a new object for the Fulfillment information as follows:

{
"Fulfillment":{
"carrier":"ups",
"trackingCode":"123XYZ",
"trackingURL":"https://trackinglink.com/"
}
}

 

This would then allow the email templates to populate replacement variables to show tracking information and provide a tracking link. 

 

icon

Best answer by Brian Turcotte 7 February 2023, 03:55

View original

2 replies

Userlevel 7
Badge +36

Hi @alexp29next and welcome to the Community!

 

This is a great question! We don’t provide a recommended structure for additional information like tracking number, shipping method, etc., because our APIs are designed to accommodate a variety of custom e-commerce integrations that may follow different fulfillment protocols.

 

I think your example code looks good, and since it’s a custom integration the formatting will depend largely on how your business is set up. However, it may also be helpful to reach out to the whichever fulfillment platforms you plan to integrate with, if you want to determine a specific structure. For example, a Community member here integrated with the third-party tool ShipStation to handle fulfillment information:

 

Also, here’s another thread regarding a similar use case:

 

Finally, you’re always welcome to reach out to one of our wonderful Official Klaviyo Partners if you’re looking for extra help with a custom integration.

 

Thanks for using the Community!

- Brian

Badge +1

Thanks @Brian Turcotte 

Reply