# Custom e-Commerce Sales Channel

**URL:** <https://forums.ordoro.com/t/custom-e-commerce-sales-channel/517>\
**Category:** Uncategorized\
**Created:** [January 6, 2020, 11:26pm UTC](https://forums.ordoro.com/t/custom-e-commerce-sales-channel/517 "2020-01-06T23:26:40Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![joycec](https://avatars.discourse-cdn.com/v4/letter/j/858c86/32.png) [@joycec](https://forums.ordoro.com/u/joycec)\
**Post date:** [January 6, 2020, 11:26pm UTC](https://forums.ordoro.com/t/custom-e-commerce-sales-channel/517/1 "2020-01-06T23:26:40Z")

</div>

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](https://github.com/ordoro/api-examples/wiki/Building-a-custom-e-commerce-integration)
2. [Custom Sales Channels](https://forums.ordoro.com/t/custom-sales-channels/458/2)

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!

---

<div class="post-metadata">

**Author:** ![sophie](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.ordoro.com/sophie/32/19_2.png) [@sophie](https://forums.ordoro.com/u/sophie)\
**Post date:** [January 6, 2020, 11:34pm UTC](https://forums.ordoro.com/t/custom-e-commerce-sales-channel/517/2 "2020-01-06T23:34:05Z")

</div>

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](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

---

<div class="post-metadata">

**Author:** ![joycec](https://avatars.discourse-cdn.com/v4/letter/j/858c86/32.png) [@joycec](https://forums.ordoro.com/u/joycec)\
**Post date:** [January 7, 2020, 12:10am UTC](https://forums.ordoro.com/t/custom-e-commerce-sales-channel/517/3 "2020-01-07T00:10:08Z")

</div>

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/](https://private-anon-b3c22330dc-ordoro.apiary-mock.com/cart/)  
` { "type":"custom_integration" }`  
The documentation for [NewCartCustomIntegrationForm](https://ordoro.docs.apiary.io/#reference/model-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

---

<div class="post-metadata">

**Author:** ![sophie](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.ordoro.com/sophie/32/19_2.png) [@sophie](https://forums.ordoro.com/u/sophie)\
**Post date:** [January 7, 2020, 4:41pm UTC](https://forums.ordoro.com/t/custom-e-commerce-sales-channel/517/4 "2020-01-07T16:41:26Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![shopifymultivendor](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.ordoro.com/shopifymultivendor/32/154_2.png) [@shopifymultivendor](https://forums.ordoro.com/u/shopifymultivendor)\
**Post date:** [April 24, 2023, 11:08am UTC](https://forums.ordoro.com/t/custom-e-commerce-sales-channel/517/5 "2023-04-24T11:08:59Z")

</div>

I would recommend a [multi-vendor marketplace on Shopify](https://cartcoders.com/shopify-multivendor.php), for a custom e-Commerce website.

---

<div class="post-metadata">

**Author:** ![enigma32](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.ordoro.com/enigma32/32/144_2.png) [@enigma32](https://forums.ordoro.com/u/enigma32)\
**Post date:** [April 24, 2023, 4:17pm UTC](https://forums.ordoro.com/t/custom-e-commerce-sales-channel/517/6 "2023-04-24T16:17:26Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![sophie](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.ordoro.com/sophie/32/19_2.png) [@sophie](https://forums.ordoro.com/u/sophie)\
**Post date:** [April 24, 2023, 6:00pm UTC](https://forums.ordoro.com/t/custom-e-commerce-sales-channel/517/7 "2023-04-24T18:00:24Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![softwaredeveloper](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.ordoro.com/softwaredeveloper/32/164_2.png) [@softwaredeveloper](https://forums.ordoro.com/u/softwaredeveloper)\
**Post date:** [July 20, 2023, 10:57am UTC](https://forums.ordoro.com/t/custom-e-commerce-sales-channel/517/8 "2023-07-20T10:57:13Z")

</div>

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.
