If a have to do a Draft Order to a customer (via Storefront/Admin API) (send him an product for free) and this product is a supplier other than me, where does de payment comes from? From my registered card?
I’m thinking of doing the following
Create a Draft Order, to send the product to the customer.
Complete the Draft Order, checking it as paid, without any action of the customer.
If you are creating a draft order and sending a product to a customer for free, then you would not need to process any payment. You can create the draft order and mark it as paid without any payment information required.
Regarding your second question, it is possible to achieve this via the Shopify API. You can create a draft order using the Orders API and mark it as paid by setting the “payment_status” field to “paid”. Here’s an example request using the Shopify API:
In the above example, you would replace “Supplier Name” with the name of the actual supplier providing the product. The “financial_status” field is set to “paid”, which marks the order as paid without any payment information required. The “send_receipt” field is set to true, which sends a receipt to the customer’s email.
It depends on the payment method you have set up for your DSers account. If you have linked your Shopify billing information with DSers, then yes, the value of the product would be deducted from your card registered with Shopify. However, if you have set up a separate payment method for your DSers account, such as a separate credit card or PayPal account, then the payment would be processed through that payment method.
It’s important to review and understand the payment and billing options of any third-party platform or service you use with your Shopify store to ensure you are aware of how payments are being processed and billed.