curl --location -g --request POST 'http://ecompulse.test/api/v1/admin/shippings' \
--header 'Accept: application/json' \
--header 'X-API-Key: exzbLclGAzBCyL0k1Yv29Evu6mwoYOATBF0lWPyT' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "New Shipping",
"fee": 15.00,
"num_of_days": 15
}'
{
"status": "success",
"message": "Shipping created successfully",
"data": {
"id": 4,
"name": "New Shipping",
"fee": "15.00",
"num_of_days": 15,
"status": 1
}
}
Authorization: Bearer ********************