Copy {
"data" : {
"id" : "xYZkjABcde" ,
"type" : "shipping_methods" ,
"links" : {
"self" : "https://yourdomain.commercelayer.io/api/shipping_methods/xYZkjABcde"
} ,
"attributes" : {
"created_at" : "2018-01-01T12:00:00.000Z" ,
"currency_code" : "EUR" ,
"disabled_at" : "2018-01-01T12:00:00.000Z" ,
"external_prices_url" : "https://external_prices.yourbrand.com" ,
"formatted_free_over_amount" : "€99,00" ,
"formatted_price_amount" : "€10,00" ,
"free_over_amount_cents" : 9900 ,
"free_over_amount_float" : 99.0 ,
"max_weight" : 300.0 ,
"metadata" : {
"foo" : "bar"
} ,
"min_weight" : 3.0 ,
"name" : "Standard shipping" ,
"price_amount_cents" : 1000 ,
"price_amount_float" : 10.0 ,
"reference" : "ANY-EXTERNAL-REFEFERNCE" ,
"reference_origin" : "ANY-EXTERNAL-REFEFERNCE-ORIGIN" ,
"scheme" : "flat" ,
"unit_of_weight" : "gr" ,
"updated_at" : "2018-01-01T12:00:00.000Z" ,
"use_subtotal" : true
} ,
"relationships" : {
"attachments" : {
"links" : {
"self" : "https://yourdomain.commercelayer.io/api/shipping_methods/xYZkjABcde/relationships/attachments" ,
"related" : "https://yourdomain.commercelayer.io/api/shipping_methods/xYZkjABcde/attachments"
}
} ,
"delivery_lead_time_for_shipment" : {
"links" : {
"self": "https://yourdomain.commercelayer.io/api/shipping_methods/xYZkjABcde/relationships/delivery_lead_time_for_shipment",
"related": "https://yourdomain.commercelayer.io/api/shipping_methods/xYZkjABcde/delivery_lead_time_for_shipment"
}
} ,
"market" : {
"links" : {
"self" : "https://yourdomain.commercelayer.io/api/shipping_methods/xYZkjABcde/relationships/market" ,
"related" : "https://yourdomain.commercelayer.io/api/shipping_methods/xYZkjABcde/market"
}
} ,
"shipping_category" : {
"links" : {
"self": "https://yourdomain.commercelayer.io/api/shipping_methods/xYZkjABcde/relationships/shipping_category",
"related" : "https://yourdomain.commercelayer.io/api/shipping_methods/xYZkjABcde/shipping_category"
}
} ,
"shipping_method_tiers" : {
"links" : {
"self": "https://yourdomain.commercelayer.io/api/shipping_methods/xYZkjABcde/relationships/shipping_method_tiers",
"related" : "https://yourdomain.commercelayer.io/api/shipping_methods/xYZkjABcde/shipping_method_tiers"
}
} ,
"shipping_weight_tiers" : {
"links" : {
"self": "https://yourdomain.commercelayer.io/api/shipping_methods/xYZkjABcde/relationships/shipping_weight_tiers",
"related" : "https://yourdomain.commercelayer.io/api/shipping_methods/xYZkjABcde/shipping_weight_tiers"
}
} ,
"shipping_zone" : {
"links" : {
"self" : "https://yourdomain.commercelayer.io/api/shipping_methods/xYZkjABcde/relationships/shipping_zone" ,
"related" : "https://yourdomain.commercelayer.io/api/shipping_methods/xYZkjABcde/shipping_zone"
}
} ,
"stock_location" : {
"links" : {
"self" : "https://yourdomain.commercelayer.io/api/shipping_methods/xYZkjABcde/relationships/stock_location" ,
"related" : "https://yourdomain.commercelayer.io/api/shipping_methods/xYZkjABcde/stock_location"
}
} ,
"versions" : {
"links" : {
"self" : "https://yourdomain.commercelayer.io/api/shipping_methods/xYZkjABcde/relationships/versions" ,
"related" : "https://yourdomain.commercelayer.io/api/shipping_methods/xYZkjABcde/versions"
}
}
} ,
"meta" : {
"mode" : "test"
}
}
}