Gift Wrap Fields in BigCommerce API - api

We have been trying to find the fields associated with Gift Wrapping in the API - and thus far have come up short. We are looking for the binary for selecting gift wrap, as well as the Gift Wrap type and comments. Likewise, we would love to have access to Gift card fields as well.
All we have found thus far is:
wrapping_cost_ex_tax, wrapping_cost_inc_tax, wrapping_cost_tax, wrapping_cost_tax_class_id
Could you please point us to the location of the Gift Wrap and Gift Note fields in the API?

Gift wrapping properties can be defined on each of the "Order Products" in an order. The properties you list above from the Orders resource are calculated read-only values that represent the sum of any gift wrapping values for products in the order. See the Order Product documentation for more info about defining gift wrapping properties.

Related

Is there a way to get shipping information and available shipping methods on the Product Detail Page in Shopify?

We implemented a new shipping method in our shop. This method isn't available for all Products. Now we want to create a notification on the product detail pages(pdp), where the shipping method is available. Is it possible to get the available shipping methods on the pdp?
It should look something like this:
if shippingMethods contains newShippingMethod
<div class="notifivcation">
Shipping details have nothing to do with products from a Shopify perspective. If you have come up with a way to assign shipping methods to products, then that is excellent for you! Obviously, if you figured that out, then figuring out how to display shipping methods with products would be a lesser challenge.
Mostly, shipping methods are the domain of checkout in Shopify parlance. Only in checkout would shipping methods be available, and even then, if you wanted to show/hide them based on the product, you could really only hope to do that with Plus.
Unless you know more, and Shopify has really adopted a per product shipping methodology (feel free to post a link if true), you're not going to go anywhere with that unless you use Plus and script the checkout.

How to get Item Weight with Ebay API?

I use the Ebay shopping API. To calculate a shipping quotes to hard-to-reach places with own shipping methods I must know Weight and Dimensions of products.
In the Shopping API in Item.UnitInfo section I see a description about items weight and dimensions, but not in one item this section has not been returning.
How I may to get item weight? Any help would be appreciated.
I'm not an eBay seller and due to restrictions I won't be able to become one.

Integrating Shopify and third-party gift-card system

Background
I am working with a retailer who has a store on Shopify. The store is not
on Shopify Plus.
The retailer has gift cards from a company other than Shopify. Each gift
card has a number on it that uniquely identifies the card. Associated with
the cards is a HTTP API, available to authenticated users, which can be used
to get or change the balance on a card.
Requirement
The retailer wants to allow customers to use these cards when ordering from
his Shopify store.
Ideal UI
From the user-interface point of view, the ideal would probably be something
like the following. We would add an input field to the Shopify payment
form, near the input field that has the placeholder "Gift card or discount
code". This new input field would be for the third-party gift-card number.
Suppose a customer had a gift card and entered its number into this input
field. Some custom software would check whether the gift-card number was
valid and the gift-card had funds. If either check failed, an error message
would appear in the form.
If both checks succeeded, the form would show success (perhaps by putting a
green check mark) next to the input field. Then it would adjust the balance
to be paid by the customer. For example, if the customer was ordering $300
worth of shoes, and tendered a gift card holding $50, then the $300 would be
adjusted to $250.
When the customer pressed the button to place the order, Shopify would debit
$250 from his credit or debit card, and some custom software would debit $50
from his gift card. It's probably acceptable for this custom software to
run after a delay of 5 seconds or so. (For example, it might be triggered
by a webhook.)
Discussion
I've been looking for a way to do the above. The really hard part is to
adjust $300 to $250 (not just in the form, but when Shopify actually charges
the customer). I have considered the following, singly and in combination:
Changing the Liquid templates.
Putting some custom JavaScript in the Shopify pages.
Writing an app that uses the Shopify Storefront API.
(3) seems the most promising, but it's not easy to see how to do in a "surgical"
way so that I only replace one screen.
I don't want to have to reimplement an entire Shopify store using the Storefront API.
Alternative UI
If you can think of an alternative UI that would achieve the same thing,
please feel free to propose it.
Similar question
This question,
including the questioner's two comments, describes a situation
identical to mine.
However, the only answer (if I understand it correctly) is unacceptable to me.
Ruled-out alternative
I proposed a web service to turn these third-party gift cards into Shopify
discount codes. That idea was rejected by the retailer, because he already
uses Shopify discount codes, and Shopify's form only allows a single
discount code.

Shopify - Is there a way to determine the type of discount code in the api response

When discount codes are applied to orders the way they are brought in in an order is a 2 field array, code and amount. Although, in the admin interface a Shopify user can choose whether or not the type of code is an absolute amount, percent, or free shipping.
In the api response is there a way to determine whether the code used was for free shipping or one of the others? This is causing issues with our sync because taxes are handled different in different locations for shipping costs compared to general order line items.
Thank you,
Brandon
Short answer: No, you can't tell the difference.
Long answer: Internally, free shipping codes are actually applied to items in the cart up to the value of the shipping method selected, and then the shipping amount is applied on top.
The upshot of this is that there is no difference between the three discount types as stored on Shopify. They're all just dollar amounts taken off the order subtotal. Therefore you can't tell whether the shipping was discounted because it never is.

Using the Shopify API how can I get tax details on individual line items?

In the UK some items have VAT charged on them while others don't. To import orders into our back office system we need to know whether tax was charged on particular items in the order. Ideally we'd also like to know how much tax was charged on each line item.
This information isn't shown in any of the example responses given in the online docs. Is it possible to get it via the API?
This is currently not available for individual line items, all that is available is the overall taxes charged. You could use this and taxable field on Product to attempt to divide the taxes charged.