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.
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.
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?
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.
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.
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.