Discussions
Understanding services and markups
Hi support,
I am trying to autogenerate quotes for a customer's order. In order to create that order, I would like to use the fuel surcharge and freight surcharge values associated with a service which is configured for that customer. According to the API docs, those values should be available with the API https://roserocket.readme.io/reference/get-service.
The issue is, I'm having trouble making that connection. It seems like the only way to get a service's details is already knowing that service's ID. How can I get the corresponding service ID(s) associated with a given customer from the API?
Additionally, I did not see any options in the UI to configure fuel surcharge and freight surcharge for a given service, though they appear to be present in the API output. Could you please help me understand how to configure those fields, and retrieve them programmatically for a given customer?