Skip to content

Instantly share code, notes, and snippets.

@59023g
Created September 5, 2016 21:03
Show Gist options
  • Save 59023g/f3c25ac6e788ad1fc337092e20fdd35b to your computer and use it in GitHub Desktop.
Save 59023g/f3c25ac6e788ad1fc337092e20fdd35b to your computer and use it in GitHub Desktop.
custom product properties /api/shopify/create_order_hook
Express server listening on port 3000
General auth middleware: Inactive
POST /api/shopify/create_order_hook
{ id: 6754177731,
variant_id: 26993973571,
title: 'Nima Starter Kit',
quantity: 1,
price: '0.50',
grams: 862,
sku: '1002-002-DEMO2',
variant_title: null,
vendor: 'Nima',
fulfillment_service: 'nima-dcl-dev',
product_id: 7102410563,
requires_shipping: true,
taxable: true,
gift_card: false,
name: 'Nima Starter Kit',
variant_inventory_management: 'shopify',
properties:
[ { name: 'Gift', value: 'true' },
{ name: 'Backorder', value: 'true' } ],
product_exists: true,
fulfillable_quantity: 1,
total_discount: '0.00',
fulfillment_status: null,
tax_lines: [ { title: 'State Tax', price: '0.03', rate: 0.06 } ] }
POST /api/shopify/create_order_hook 200 41.343 ms - -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment