Materials parameter properties markup

Discussion in 'Shapeways API' started by 279060_deleted, Feb 19, 2014.

  1. 279060_deleted
    279060_deleted Active Member
    I'm trying to get an api markup (i.e. $10.00) to show in my uploaded model's markup price Premium Silver (id=81). No errors and the model sails through to my Shapeways shop and I'm able to view the model material edit detail pricing, but the markup will not change:

    model_edit_materials.JPG

    Here is my PHP api upload code showing a list of successful model parameters along with the unsuccessful "materials" attempt:

    model_api_code.JPG

    Can someone help guide me through the materials parameter and properties to achieve the markup goal? The SW Developer docs POST /models/v1 Parameters shows the materials param, however, whenever I use curly brackets or colon or parentheses with this code line, the model fails to upload.

    Thanks!
     
  2. 279060_deleted
    279060_deleted Active Member
    "materials" => array("81" => array("markup" => 10.00, "isActive" => 1)),

    Thank you very very much ProfessorBeekums!

    You're the best!