Methods for getting Shipment data from the Store API.

GET /v1/store/api/shipments/
GET /v1/store/api/shipments/{shipment_id}/
$.get('/v1/store/api/shipments/');
{
  count: 1,
  next: "?page=1",
  prev: null,
  results: [
    ...
  ]
}

Get a shipment

GET /v1/store/api/shipments/
$.get('/v1/store/api/shipments/75562100/');
{
  "adjusted_ordered_at": "2015-09-15T20:00:24Z", 
  "created_at": "2015-09-15T20:00:24Z", 
  "customer": {
    "country": "US", 
    "email": "[email protected]", 
    "first_name": "Joey", 
    "id": 75561862, 
    "last_name": "Tallieu", 
    "location": "TX, US", 
    "name": "Joey Tallieu", 
    "num_orders": 21, 
    "num_subscriptions": 21, 
    "store_settings": null, 
    "subscription_status": "active", 
    "total_revenue": 26388, 
    "type": "customer"
  }, 
  "fulfillments": [
    {
      "adjusted_fulfillment_date": "2015-09-15T20:00:24Z", 
      "cycle_number": 0, 
      "fulfillment_date": "2015-09-15T20:00:24Z", 
      "id": 75562099, 
      "instance": {
        "deleted": false, 
        "gift": false, 
        "id": 55065963, 
        "images": [], 
        "inventory": null, 
        "price": 0, 
        "product": {
          "deleted": false, 
          "id": 55065957, 
          "name": "My Product with Options", 
          "single_purchasable": false
        }, 
        "product_id": 55065957, 
        "ship_weight": 2.0, 
        "sku": "SQ1595281", 
        "term_prices": [
          {
            "id": 55065969, 
            "price": 1200, 
            "term_id": 55065958, 
            "type": "product_instance_subscription_type_term_price"
          }, 
          {
            "id": 55065970, 
            "price": 3000, 
            "term_id": 55065959, 
            "type": "product_instance_subscription_type_term_price"
          }, 
          {
            "id": 55065971, 
            "price": 0, 
            "term_id": 55065960, 
            "type": "product_instance_subscription_type_term_price"
          }, 
          {
            "id": 55065972, 
            "price": 0, 
            "term_id": 55065961, 
            "type": "product_instance_subscription_type_term_price"
          }
        ], 
        "type": "product_instance", 
        "variants": [
          {
            "id": 55065981, 
            "product_instance_id": 55065963, 
            "product_variant_type_id": 55065962, 
            "product_variant_value_id": 55065966, 
            "type": "product_instance_variant", 
            "variant_type": {
              "description": "", 
              "id": 55065962, 
              "name": "size", 
              "product_id": 55065957, 
              "type": "product_variant_type", 
              "values": [
                {
                  "description": null, 
                  "id": 55065966, 
                  "images": [], 
                  "is_default": false, 
                  "product_variant_type_id": 55065962, 
                  "type": "product_variant_value", 
                  "value": "Small"
                }, 
                {
                  "description": null, 
                  "id": 55065967, 
                  "images": [], 
                  "is_default": false, 
                  "product_variant_type_id": 55065962, 
                  "type": "product_variant_value", 
                  "value": "Medium"
                }, 
                {
                  "description": null, 
                  "id": 55065968, 
                  "images": [], 
                  "is_default": false, 
                  "product_variant_type_id": 55065962, 
                  "type": "product_variant_value", 
                  "value": "Large"
                }
              ]
            }, 
            "variant_value": {
              "description": null, 
              "id": 55065966, 
              "is_default": false, 
              "product_variant_type_id": 55065962, 
              "type": "product_variant_value", 
              "value": "Small"
            }
          }
        ]
      }, 
      "is_test": true, 
      "order": {
        "customer": {
          "country": "US", 
          "email": "[email protected]", 
          "first_name": "Joey", 
          "id": 75561862, 
          "last_name": "Tallieu", 
          "location": "TX, US", 
          "name": "Joey Tallieu", 
          "num_orders": 21, 
          "num_subscriptions": 21, 
          "subscription_status": "active", 
          "total_revenue": 26388, 
          "type": "customer"
        }, 
        "customer_id": 75561862, 
        "financial_status": "paid", 
        "fulfillment_status": "fulfilled", 
        "id": 75562090, 
        "is_renewal": false, 
        "is_test": true, 
        "note": null, 
        "placed_at": "2015-09-15T20:00:24Z", 
        "prorated_charge": null, 
        "received_gift": null, 
        "refund_applied": null, 
        "refunded_amount": 0, 
        "sent_gift": null, 
        "status": "closed", 
        "store_id": 4848355, 
        "subscriptions": [
          {
            "autorenew": true, 
            "billing": {
              "id": 55065955, 
              "rebill_day": 1, 
              "rebill_months": 1, 
              "rebill_weeks": null, 
              "rebill_window": 10, 
              "store_id": 4848355, 
              "type": "product_billing"
            }, 
            "credit": null, 
            "customer": {
              "country": "US", 
              "email": "[email protected]", 
              "first_name": "Joey", 
              "id": 75561862, 
              "last_name": "Tallieu", 
              "location": "TX, US", 
              "name": "Joey Tallieu", 
              "num_orders": 21, 
              "num_subscriptions": 21, 
              "subscription_status": "active", 
              "total_revenue": 26388, 
              "type": "customer"
            }, 
            "end_date": "2015-09-15T20:00:24Z", 
            "id": 75562094, 
            "is_test": true, 
            "note": null, 
            "product_billing_id": 55065955, 
            "revenue": 1200, 
            "skipped_date": null, 
            "start_date": "2015-09-15T20:00:24Z", 
            "status": "active", 
            "store_id": 4848355, 
            "term": {
              "description": "Charged every month", 
              "enabled": true, 
              "id": 55065958, 
              "name": "Month to Month", 
              "num_cycles": 1, 
              "type": "subscription_type_term"
            }, 
            "type": "subscription"
          }
        ], 
        "total": 1200, 
        "total_app_fees": null, 
        "total_label_cost": null, 
        "total_pending_fees": null, 
        "total_price": 1200, 
        "total_shipping": 0, 
        "total_tax": 0, 
        "transaction_fee": 0, 
        "transaction_fee_status": null, 
        "type": "order"
      }, 
      "shipment_id": 75562100, 
      "shipping": 0, 
      "status": "open", 
      "subscription_id": 75562094, 
      "tax": 0, 
      "test": true, 
      "total_cycles": 1, 
      "type": "fulfillment"
    }
  ], 
  "id": 75562100, 
  "is_test": true, 
  "labels": [], 
  "ship_address": {
    "city": "Minnesota", 
    "company": "", 
    "country": "US", 
    "icon": "United-States.png", 
    "id": 75561864, 
    "phone_number": "", 
    "state": "TX", 
    "status": 0, 
    "status_message": null, 
    "street": "101 Brazos St", 
    "to": "Joey Tallieu", 
    "type": "address", 
    "unit": "", 
    "zip_code": "78701"
  }, 
  "shipped_at": null, 
  "status": "unshipped",
  "tracking_number": null, 
  "type": "shipment"
}