Custom e-Commerce Sales Channel

Hi there,
Is a custom sales channel the same thing as a custom e-commerce integration?
I found information on both topics and am trying to figure out the correct method of integration without using a supported sales channel.

  1. https://github.com/ordoro/api-examples/wiki/Building-a-custom-e-commerce-integration
  2. Custom Sales Channels

If a custom channel is set up, will the option for Notify Ship To still appear in the Dashboard?

Are there any plans to add webhooks/callbacks for custom e-commerce integrations?

Thank you for your help!

Hi @joycec!

That would be pretty much the same thing. You’ll want to POST to /cart/ with the type as custom_integration to be able to see this in the sales channels list page and associated other areas.

https://ordoro.docs.apiary.io/#reference/cart/cart/post

If you are creating a label and would like to send an email to the ship to address, that checkbox will still work.

We’d love to add webhooks, but we don’t have anything on the roadmap for that this year.

Sophie

Thanks for the quick reply.
I tried to test this with the Mock Server endpoints, but I’m getting empty responses (200).
Example: POST https://private-anon-b3c22330dc-ordoro.apiary-mock.com/cart/
{ "type":"custom_integration" }
The documentation for NewCartCustomIntegrationForm doesn’t seem to link to anything. Is this the correct place to test the functionality, or is there some other environment?

Would you be able to clarify some properties of the order JSON request object?

Can order_id be manually generated and added on our side? What’s the difference between this and cart_order_id?
My assumption is that lines is an array of products included in the order. Where would cart_orderitem_id come from?

In regards to product’s JSON, what units do the weight and size (h,w,l) use?

Thanks!
Joyce

Hmm, I’m not sure what that documentation refers too. We don’t have any test environments, so you’ll have to test in your Ordoro account.

order_id is the Ordoro order identifier, cart_order_id is the identifier unique to the cart/sales channel. You can POSt with an order_id and Ordoro will update it to include the cart index. Like cart_order_id, cart_orderitem_id is the unique line id that is generated in the cart/sales channel.

Weight is oz, dimensions are inches.

I would recommend a multi-vendor marketplace on Shopify, for a custom e-Commerce website.

I would add that cart_orderitem_id uniqueness is not enforced. Had a bug adding duplicate items despite conflicting duplicate cart_orderitem_id’s. The bug was due to not returning order contents for a minute or two, so my script would update with all items assuming there are none, then resulting in duplicate items.

That is correct, we assume uniqueness for the sales channel to be enforced. we are not enforcing any cart_orderitem_ids as we copy that information per order item from a sales channel/“cart” if provided.

Hi @joycec

I have go through your query. As per my knowledge, A custom sales channel and a custom e-commerce integration are related but not exactly the same thing.

Now I am going to your query, If you set up a custom sales channel, the availability of the “Notify Ship To” option in the Dashboard will depend on the specific e-commerce platform you are using and its capabilities. It’s not directly tied to a custom sales channel. And for the Integration you may need to check the documentation or reach out to the platform’s support team to inquire about the availability of callbacks for custom integrations, It will give you a better idea of the available options for integration.

I hope this will help you.